search for: classified_ad_pag

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

Did you mean: classified_ad_pages
2006 Apr 01
1
Passing a Record as a Parameter
...t;/tr> <% end %> ... end snippet the relevant bit is :id =>cc Snippet from my controller... def list @classified_category = ClassifiedCategory.new(params[:id]) session[:classified_category_id] = @classified_category.id session[:classified_category_name] = @classified_category.name @classified_ad_pages, @classified_ads = paginate :classified_ads, er_page => 10 end ... end snippet When I run it, I get the following error on the first line of the list action for the controller: undefined method `stringify_keys!'' for "1":String It works fine if I just pass the actual i...