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:
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:
On Monday, 27 May 2013 12:05:08 UTC+2, Sasha C. 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.
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)):
Well in your second post you do not show the development.log, what I am
asking is your console where you start your server.
also have you tried and raised your view to see if it gets hit.
like on line 1:
<%= raise “puts”.inspect %>
if it doesnst raise we will know the view does not get hit and we try
the
controller then put the raise on the beginning if doesnt get hit then we
know its on the routes or rails. try that as well
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.