search for: singular_url

Displaying 1 result from an estimated 1 matches for "singular_url".

2007 Feb 28
7
Find works in view but not controller
Part of my application should show a list of all users on the system who agreed to have their details revealed. So, I have an action like this: def view_users @users = User.find(:all,:conditions=>"reveal = 1",:order=>"login DESC") end In the associated view, @users is an object of nilclass and the app. breaks as it tries to iterate over the @users array. However, if I