Friday, May 31, 2013

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



On Sunday, 26 May 2013 14:49:27 UTC+2, Sasha Chilly wrote:
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:


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/ac338165-bdc5-4fd4-9b92-f9b581cc045a%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