Ruby on Rails Discussions
Help with :conditions argument using find method
rubyonrails-talk
jeff_emminger
(jeff emminger)
September 11, 2007, 3:11pm
1
@active_user
= User.find(:all, :conditions => ["id <> ?", session[:user_id]])
Related topics
Topic
Replies
Views
Activity
Find with conditions problem
rubyonrails-talk
2
103
March 19, 2008
has_and_belongs_to_many - ensure only rows with there user_id are returned
rubyonrails-talk
0
139
October 27, 2006
classic pagination with custom finders/sql
rubyonrails-talk
0
119
February 13, 2009
How to use Find with conditions?
rubyonrails-talk
1
160
July 12, 2009
has_and_belongs_to_many - ensure only rows with there user_id are returned
rubyonrails-talk
0
144
October 27, 2006