On 13 October 2015 at 22:47, David McDonald wrote:
> I get my data from a database that I have access to that is updated at
> different points during the day. As far as having a custom validation
> method, I have that. Here's a, hopefully, more descriptive example of what
> is going on.
>
> I ha
On 14 October 2015 at 04:21, Prashant Girennavar wrote:
> I am pretty new to RoR . I am trying to seach for methods which can query
> MySQL DB get the table data and display that table on a webpage.
Seven days ago you asked a similar question. A number of people here
made helpful suggestions wh
On Wed, Oct 14, 2015 at 4:30 AM, David McDonald wrote:
> Scenario 1:
> Scenario 2:
> Thoughts?
Scenario 3: create a another database. dump the invalids there.
kind regards --botp
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To uns
in new invitations try changing
<%= check_box_tag 'user_ids[]', user.id %>
to
<%= check_box_tag 'user_ids', user.id %>
On Tuesday, October 13, 2015 at 1:46:28 PM UTC-7, Prkl8r wrote:
>
> I am trying to pass parameters from an "Events" controller, to an
> "Invitations" controller and from the
Hey Prashant
http://guides.railsgirls.com/app/
Try to cover a the exercises of the guide and you will get a brief idea
about how Rails works.
Regards
V
On Wed, Oct 14, 2015 at 8:51 AM, Prashant Girennavar
wrote:
> I am pretty new to RoR . I am trying to seach for methods which can query
> My
I am pretty new to RoR . I am trying to seach for methods which can query
MySQL DB get the table data and display that table on a webpage.
What are the methods we have for this in RoR? Pls suggest
Thanks,
-Prashant Girennavar.
--
You received this message because you are subscribe
Thanks!
On Tuesday, October 13, 2015 at 6:11:25 PM UTC-4, mode-x wrote:
>
> Since you don't have control over the originating data-source...like i
> said Scenario 1 would work just fine.
>
> On Tue, Oct 13, 2015 at 10:47 PM, David McDonald > wrote:
>
>> I get my data from a database that I have
Since you don't have control over the originating data-source...like i said
Scenario 1 would work just fine.
On Tue, Oct 13, 2015 at 10:47 PM, David McDonald wrote:
> I get my data from a database that I have access to that is updated at
> different points during the day. As far as having a cus
I get my data from a database that I have access to that is updated at
different points during the day. As far as having a custom validation
method, I have that. Here's a, hopefully, more descriptive example of what
is going on.
I have my Rails app, and I import records into that database on
You don't need to create another table also. You just need a custom
validation method that handles the checking of the imported data. And in a
before_save this can be implemented. Also If there is an error send a
notification to the owner of the record via email or when next the user
tries to acces
Avoid BY ALL MEANS any procedure that might complicate maintenance for you
both short term and long term.
I would advice you that you reconsider the approach. Rails has good
validation methods that will make your programming life sweet and fun. What
you are doing doesn't seem like fun to me. With R
Yes, I agree I just didn't want to have to create an additional model for
each of these models I would be importing and everything that would go with
that. I think what would likely work is I can create a table in between my
application table and the table I'm importing data from. On that tabl
I am trying to pass parameters from an "Events" controller, to an
"Invitations" controller and from the Invitations#new to the
Invitations#create views. I think I'm pretty close to getting this wrapped
up bit keep getting: "param is missing or the value is empty: " errors when
I run it.
In
Generally speaking i think you should NOT just allow invalid records AT
ALL. For the record to be saved the user MUST ENSURE that the relevant
information are valid.
On Tue, Oct 13, 2015 at 9:30 PM, David McDonald wrote:
> I'm currently trying to setup daily processes that will import informatio
I'm currently trying to setup daily processes that will import information
into my database. I have many records that fail validations, and for the
most part I have methods that attempt to auto-correct them and re-save, but
there are some more complex scenarios that require a user to correct so
On Tuesday, 13 October 2015 07:56:28 UTC-4, Sam S wrote:
>
> I am trying to run a ruby script from my rails controller.
> The script runs successfully when the rails server is started normally as
>
> rails s thin -e development
>
> But when rails server is started as a daemon, the ruby scri
Railscasts is now premium content. Perhaps you could provide a bit more
context.
http://railscasts.com/episodes/114-endless-page-revised?view=asciicast
As a User Experience side note, please be sure that infinite scroll is
appropriate. Depending on the goals of your user it can be a frustrating
As Norbert suggests this is a User Agent (browser) feature. Have a look at
these configurations for linux/chrome and linux/firefox.
http://askubuntu.com/questions/124759/customize-ubuntu-for-a-library-internet-kiosk
On Tuesday, October 6, 2015 at 4:38:35 PM UTC-4, Norbert Melzer wrote:
>
> Kiosk
On Tuesday, October 13, 2015 at 12:56:28 PM UTC+1, Sam S wrote:
>
> Inside the controller the ruby script is run with the **exec** command.
>
> script_exec = exec("ruby
> /Code/AttendanceReport/attn/bin/scripts/Spreadsheet_proper.rb '#{city}'
> '#{date1}' '#{date2}'")
>
>
>
exec replace
I am trying to run a ruby script from my rails controller.
The script runs successfully when the rails server is started normally as
rails s thin -e development
But when rails server is started as a daemon, the ruby script fails to run.
rails s thin -e development -d
Inside the contr
Hi Guys,
We are currently looking for a Developer to join a fast paced technology
start-up transforming the way large organisations organise their employees
and match them to work/projects, in the process helping them become far
more agile and more engaging workplaces.
We are seeking a De
Try adding require n include statement
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this grou
22 matches
Mail list logo