2/19/2006

Don't QUOTE rails...

Apparently, "quote" is a reserved word. I had a database field with that name. I was getting a strange error ...

wrong number of arguments(2 for 0)

HUH? RoR is keeping score on me? who's winning??

Upon searching google, I found this post..
http://www.beyondthetype.com/rails/2005/11/27/rails-gotcha-wrong-number-of-arguments2-for-0

hmm.. so I checked the lis of reserved words...

Rails Doc on this: http://dev.rubyonrails.org/ticket/3628

SO let that be a lesson kids..

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home