I have the following code for an active record condition in a controller
@thus_section = Section.all( :conditions => [ "url_section = ?", params[:ssection] ] ) And when I try to goto to the webpage asociated with it I get the following error:
wrong number of arguments (given 1, expected 0)
I was using http://guides.rubyonrails.org/active_record_querying.html to work out how to do it.
What am I doing wrong?