search for: new_asset

Displaying 3 results from an estimated 3 matches for "new_asset".

2011 Mar 08
1
form_tag for search bar with Rails 3.0.5
..."} $ rake routes | fgrep asset ) assets GET / assets(.:format) {:action=>"index", :controller=>"assets"} POST / assets(.:format) {:action=>"create", :controller=>"assets"} new_asset GET /assets/ new(.:format) {:action=>"new", :controller=>"assets"} edit_asset GET /assets/:id/ edit(.:format) {:action=>"edit", :controller=>"assets"} asset GET / assets/:id(.:format) {:action=>"show"...
2010 Nov 01
2
Creating RESTful helpers on the fly
If I have a resource called ''assets'' then I get for free a bunch of helpers, like assets_path new_asset_path and so forth, right? I would like to be able to create a call to one of these on the fly when I only find out the name of the resource at run time. For example I would like to do this: resource_name = "assets" resource_path(resource_name, method => :new) Anyone know the Rails/...
2007 May 26
11
RSpec
Hi RSpec Mailing list, I''m new to RSpec and I am trying to get it running with the caboo.se sample rails app. I installed the current version of rspec with rspec_on_rails I tried to run rake spec but received: 330-07:~/desktop/restful_auth_rspec/vendor multimedia$ rake spec (in /Users/multimedia/Desktop/restful_auth_rspec)