On 16 July 2012 20:52, Adnan <adnan.a...@gmail.com> wrote:
> I've a field in my two db tables called "username". when I try to match post
> author and current username for editing a post
> @movies.username==current.name in my moviescontroller. It showed nil class
> or method. Why this is showing??Any ideas??

Check what the values for both "@movies" and "current" are at this
line. What are they?

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to