Sunday, May 26, 2013

[Rails] ArgumentError in Controller#new after updating Rails version

Hello, need some help,
App is running under Ruby 1.8.7 and Rails 3.0.11
After updating Rails version to 3.1.11, tsrted to fet strange error on new article page:

http://cl.ly/image/1o0P050d2q41

Don't know where this error could come from, as in controller i have only:

 class ArticlesController < ApplicationController

  def new
    @article = Article.new
  end

and in view is only form_for @article.

However edit action works fine, as before Rails update.

Any ideas how to fix it?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/40514bb7-bb1a-4b40-9a32-590ba89e36bd%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate