Displaying 3 results from an estimated 3 matches for "apply_form_for_opt".
2009 Nov 18
4
rails newbie : routing error
...xpenses/new ).
And the trace :
vendor/rails/actionpack/lib/action_controller/record_identifier.rb:
72:in `dom_id''
vendor/rails/actionpack/lib/action_view/helpers/
record_identification_helper.rb:16:in `dom_id''
vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:264:in
`apply_form_for_options!''
vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:248:in
`form_for''
app/views/expenses/new.html.erb:1:in
`_run_erb_47app47views47expenses47new46html46erb''
app/controllers/expenses_controller.rb:18:in `create''
What I don''t understand i...
2008 Dec 20
3
undefined method `stories_path'
...morphic_url''
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/polymorphic_routes.rb:119:in
`polymorphic_path''
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/helpers/form_helper.rb:269:in
`apply_form_for_options!''
/opt/ruby-enterprise-1.8.6-20081215/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/helpers/form_helper.rb:248:in
`form_for''
/var/www/html/railsapps/shovell/dev/app/views/stories/new.html.erb:1
controller:
class StoriesController < ApplicationController
def in...
2010 Feb 20
23
Rails 3 possible bug in Routing
Hi, I just ran into this ActionController::RoutingError and just
wanted to check if someone can confirm this as a bug in the Rails 3
beta gem.
config/routes.rb contains:
get ''login'' => ''session#new''
post ''login'' => ''session#create'', :as => :login
GET /login works fine:
Started GET