Frederick Cheung wrote: >It's calling to_s on something... Ar Chron wrote: > Hmm... do you have any code hiding up in the application controller?
Between these two snippets, I think we may have come across the issue, quite early in the development, I decided I didn't like the way the dates were output as a string. Another site I looked at had a tip override the to_s in the Date class with a strftime() in the Application Controller, which _seemed_ to work very well.... now I'm guessing here, but I think it was possibly calling this as part of the @transaction.save, converting the form input date into a string and ActiveRecord not receiving it in the form it wanted. And then it was sick in my browser. I did try removing the class override early on but it had no effect. I think that may have been because I didn't restart the server immediately after removing it. Now I have done the error seems to have gone away. I'm assuming I made several silly errors here: Trusting everything I read on the internet Not restarting the server after I make changes Fiddling with things I don't understand Not doing tests (I still don't know what they are, but I have some bedtime reading - thanks Marnen!) I'm really sorry if I've wasted anyones time with my silly error, but I was seriously considering scrapping the project and starting again so you really have saved my bacon. I owe this community a huge debt of gratitude. I will try and keep out of trouble until I am proficient enough to repay it. Thank you Sam -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

