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: ArgumentError in UpcomingEventsController#index 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? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c3564f0e-a8a8-4500-9b72-6dc913e4b1f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

