rails-routing
Rails: routes for static resources
I have css/html content with js for script paths and css for stylesheets, but my scr开发者_如何学运维ipts are in javascript files and styles in stylesheets paths.[详细]
2023-03-14 09:06 分类:问答SO WMD editor javascripts load RoutingError
I\'m sure the answer to this is very straightforward: I\'m trying to use the WMD editor from derobins (Here) with my rails app (it\'s the one on SO that I\'m using as I type). But for some reason the[详细]
2023-03-13 01:41 分类:问答Rails' resource has 'show' mapped without an ID and creates /users.id links instead of /users/id
For my current routing, the following ruby on rails code: <%= link_to current_user.name, users_path(current_user) %>[详细]
2023-03-10 05:34 分类:问答No Route Matches error - with Nested Resource
I have the following Nested Resource in my routes.rb file resource :issuer do resources :certificates end[详细]
2023-03-08 06:03 分类:问答Rails 3 Routes Help
this is probably simple, but I can\'t figure it out. I\'m trying to create a route to :submissions#new via the url \"/submit\"[详细]
2023-03-06 15:22 分类:问答Routing issues with multi-part forms on Heroku
This is a very bizarre problem, and unfortunately I can\'t provide a ton of information since I don\'t even know where to begin diagnosing the problem.I\'m hoping somebody hear magically knows what to[详细]
2023-03-06 08:02 分类:问答Routing Error, Michael Hartl's Screencasts from railstutorial.org
I am following Michael Hartl\'s Screencasts from railstutorial.org. According to chapter 5, I changed[详细]
2023-03-04 19:25 分类:问答Railscasts #71: Routing error when trying to pass parameters in post method
I am using RSpec-2 to test my controller and I am seeing weird behavior. Essentially I am doing the same as in Railscasts #71[详细]
2023-03-04 17:18 分类:问答How do you handle bad formats in Rails 2 routing?
How does one handle bad formats in routes in Rails 2.3?For instance suppose that you have an action that wants to handle html or json requests but nothing else how do you restrict it while allowing us[详细]
2023-03-03 12:22 分类:问答Rails query string with a period (or full stop).
I am currently trying to get a handle on RoR.I am passing in two strings into my controller.One is a random hex string and the other is an email.The project is for a simple email verification on a dat[详细]
2023-02-28 14:26 分类:问答