> 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.
--
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 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/4a88bb6ddfe309bec84c43db8a8cb17b%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment