search for: foo_item

Displaying 2 results from an estimated 2 matches for "foo_item".

Did you mean: food_item
2008 Jun 12
1
map.resources :foo_items, :as => :foo confusing my controller specs
I have following resource defined in my config/routes.rb (the model name is contrived) map.resources :foo_items, :as => :foo that I originally generated with rspec_scaffold: ruby script/generate rspec_scaffold foo_item but when I use the :as attribute in resources to make the URI path be ''/foo'' instead of ''/foo_items'' the default/generated controller specs for AdAs...
2008 Jun 12
0
disregard my map.resources :foo_items, :as => :foo question
disregard my map.resources :foo_items, :as => :foo question I was pulling some rookie moves. Thanks Mike -- Mike Mondragon Work> http://sas.quat.ch/ Blog> http://blog.mondragon.cc/