routing
Getting "path" info from the model
**Update: i actually have a pretty good reason. I have a notify class that sends out links to users. So i need to have the URL information in there, simply for the very same routing reasons as the fro[详细]
2023-02-05 10:01 分类:问答CodeIgniter routing problem when using :any
I\'m having issues with routing in code igniter. 开发者_StackOverflow社区I\'ve got the basics working though.[详细]
2023-02-05 07:47 分类:问答Routing algorithm for multiple vehicles with multiple drops
I\'m looking to find/create a routing algorithm that can be used to manage multiple vans performing deliveries as well as the loads of each of those vans.[详细]
2023-02-05 06:33 分类:问答How do you route to a show method using an alternative name?
I\'m working on a Rails 3 project with the model called \"recover\" I\'ve created the following route that works. It routes to the index as I expect:[详细]
2023-02-05 05:24 分类:问答Ruby on Rails routing: how to remove (using redirection) a URL prefix
I\'m sure this is dead simple, which is why I\'m so annoyed... The problem originated from using translate_routes. This is very simple to use and presents no problem whatsoever. A开发者_如何学Cll I w[详细]
2023-02-05 05:16 分类:问答Association error in a namespace using Ruby on Rails 3
In \'ROOT_RAILS/models/users/account.rb\' I have has_one :pro开发者_如何学Cfile, :primary_key => \"app_profile_id\",[详细]
2023-02-05 02:12 分类:问答When/Where do I use nested resources?
I have 2 classes in my rails app. App, and User. A User has Apps, which they have edit permission over.[详细]
2023-02-05 01:56 分类:问答Rails 3 : Can't get form_for to work as a 'delete' following the RESTful achitecture => always giving a ROUTING ERROR
I have a very simple render that goes as follow: <%= form_for(:relationships, :url => relationships_path, :html => {:method => \'delete\'}) do |f| %>[详细]
2023-02-04 21:17 分类:问答MVC 3 Dynamic routing issue with partial views
I\'m writing a CMS system to learn MVC and was wondering if it\'s possible in MVC to get a partial view with a form to post to a controller without the URL changing. It would be similiar idea to a cod[详细]
2023-02-04 20:02 分类:问答How to ignore all of a particular file extension in MVC routing
How do I configure an IgnoreRoute to ignore all files with a certain extension, regardless of what directory they\'re in?[详细]
2023-02-04 19:31 分类:问答