Sunday, May 26, 2013

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

I think you should check your routes.rb file.  
kang

On Sunday, May 26, 2013 8:49:27 PM UTC+8, 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/007bb3a9-9abf-47dc-a48a-43380ad66ca5%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