On Monday, 27 May 2013 12:05:08 UTC+2, Sasha Chilly wrote: > > This is what i can see in development.log file: > > Started GET "/articles/new" for 127.0.0.1 at Mon May 27 14:00:44 +0400 2013 > Processing by ArticlesController#new as HTML > Completed 500 Internal Server Error in 214ms > > ArgumentError (wrong number of arguments (1 for 0)): > >
Sorry if I will reapeat myself but I am sure the first post did what I wanted: This error means you are calling a function with 1 argument that receives 0. can you show us your complete view? > > Rendered > /Users/iriskin/.rvm/gems/ree-1.8.7-2012.02@mednadom/gems/actionpack-3.1.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb > > (1.1ms) > Rendered > /Users/iriskin/.rvm/gems/ree-1.8.7-2012.02@mednadom/gems/actionpack-3.1.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb > > (0.7ms) > Rendered > /Users/iriskin/.rvm/gems/ree-1.8.7-2012.02@mednadom/gems/actionpack-3.1.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb > > within rescues/layout (6.1ms) > > As for me, unfortunately, not very helpful( > > понедельник, 27 мая 2013 г., 12:52:04 UTC+4 пользователь Colin Law написал: >> >> On 26 May 2013 13:49, Sasha Chilly <sashac...@gmail.com> 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: >> > >> > http://cl.ly/image/1o0P050d2q41 >> >> You should get a more detailed trace in the server console or in >> development.log >> >> Colin >> >> > >> > 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-ta...@googlegroups.com. >> > To post to this group, send email to rubyonra...@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. >> > >> > >> > -- 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+unsubscr...@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/13cecdaf-9d8e-485b-9854-9cf212a56ac9%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.