I have a model called Spaces which has different types of places... such as Bars, Restaurants, etc.It has the same columns, same, model, controller, etc. no fancy STI, I just have one field called Spa
I have a resource defined like so: resources :referrals, :except => [:show, :edit, :destroy] and I\'d like to replace (not just add a named route) a default route that Rails produces, specifical
Rails champions I\'ve been programming with Ruby and Rails 2.x for quite a while and while I\'m certainly not proficient in Rails, I\'d still say that I had a nice grasp of the framework and the tool
I\'ve got a model \"Job\" which i\'m adding a new action \"preview\" to.In order to support this new action, i\'ve modifed routes.rb as follows:
I currently have URLs which look like this: things?category_id=6&country_id=1开发者_开发问答7
I\'m using ruby 1.9.2 and rails 3 and I think I\'m having a moderately simple problem with routing. I have a model called AdvancedQuery.
I would like to learn how do I make a \"catch the rest\" route in ASP.NET MVC? I need to take formated urls, read some data to it\'s values, and take the remainder of the link and SAVE it to some vari
I\'m trying to make some nice simple routes in Rails 3 with 2 custom matchers which assume the root :id will be a city and :city_id/:id will be a place... it seems to work fine except when trying to e
I\'m using Rails 3 I have a controller called subscriber_controller.rb I just added an action called \"def houston\" and added this to my routes file
I am playing with custom view and routes.I think that I have everything right but obviously not.Essentially I tried to copy the show method and show.html.erb but for some reason it will not work.