[Rails] Re: Persistent error - wrong number of arguments (1 for 0)

2010-08-05 Thread Sam Ward
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

[Rails] Re: Persistent error - wrong number of arguments (1 for 0)

2010-08-05 Thread Sam Ward
>Which tests are failing? Are any tests now passing that were failing, or vice versa? I've not done any tests before or since, I got a bit carried away before I got to the chapter on tests in my book (is that bad of me?). I'm literally just trying to use the site and picking out errors by ha

[Rails] Re: Persistent error - wrong number of arguments (1 for 0)

2010-08-05 Thread Sam Ward
The plot thickens Thank you guys for you help and how quickly you got back to me. I have now carefully searched and replaced "Transaction" with "Loan" throughout my project and, believe it or not, I still have the same error!! The Rails Gods are harsh masters. Any other ideas? Have I bro

[Rails] Re: Persistent error - wrong number of arguments (1 for 0)

2010-08-04 Thread Sam Ward
Colin Law wrote: > On 4 August 2010 18:44, Sam Ward wrote: > words starting with Tra...) > > Colin Oh no! Wow, it's going to be fun to unpick all that... transaction is probably the most used word in my entire project! Thanks Colin, at least I can direct my efforts into

[Rails] Persistent error - wrong number of arguments (1 for 0)

2010-08-04 Thread Sam Ward
Hello all, I'm a bit of a Nooby on Rails (is that a new joke?) as well as a Ruby Nooby and I've been trying all day to get to the bottom of an error. I promise I have tried everything but I've started going round in circles and deleting large chunks of code so it's probably time to call in the e