Ruby on Rails Wednesday, December 15, 2010

Colin Law wrote in post #968413:
> On 14 December 2010 18:44, Finne Jager <lists@ruby-forum.com> wrote:
>>
>> Ok, thanks for the development log tip! I wasn't aware of it.
>> I now use the incident_id to set @timesheet like this:
>> @timesheet = Incident.find(params[:incident_id]).timesheet
>>
>> And it looks like it's working!
>
> Great. Do have a go with ruby-debug too. You should not need it
> often but sometimes when you just cannot understand what is going on
> then it is invaluable.
>
> Colin

I definitely will! Many thanks for taking the time to help me with all
this, I really appreciate it :)

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment