THANKS
TypeError in Classified#show
Showing app/views/classified/show.rhtml where line #17 raised:
no implicit conversion to float from nil
Extracted source (around line #17):
14:
15: <strong>Date Posted:</strong> <%=
distance_of_time_in_words_to_now(@classified.created_at) %> ago <br />
16:
17: <strong>Last updated:</strong> <%=
distance_of_time_in_words(@classified.updated_at, Time.now) %> ago </p>
18: <p><%= @classified.description %></p>
19:
20: <hr/>
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/views/classified/show.rhtml:17:in
Request
Parameters: {"id"=>"16"}
Show session dump
---
flash: !map:ActionController::Flash::FlashHash {}
Response
Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.