Hi,

I'm trying to do a query on controller for get list by a boolean value

I do

@movies = Movie.where(:active => 1)

This value is already on form and it is being written on database, but when
I write a block, I still picked up the list of all videos

   Can anyone see what I'm doing wrong?

Thanks!


-- 
*Fernando Aureliano*

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to