Ruby on Rails Monday, March 7, 2016

On 7 March 2016 at 11:52, Naveed Alam <lists@ruby-forum.com> wrote:
>> You have not told us the outcome of your tests from my previous post.
>> If it is definitely not showing the logger.info output then it is not
>> executing that code. This would be consistent with the fact that it
>> does not seem to be querying the database for your Employee.find line.
>> You need to work out why that is not the case.
>>
>> Colin
>
> in the same employee cotroller this Employee.find works fine, I just
> added this new method add_roterduty and here it is causing the error.

If the controller is short then post it here, otherwise put is
somewhere like pastebin [1] so we can see it.

Also put the results of the log since adding the logger.info line there.

Colin

[1] https://help.ubuntu.com/community/Pastebinit

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvGRZFwfZaU1PjFyOp4QnSTUd7J3eYX%2BBTEePdkmTq2%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment