[Rails] Re: ArgumentError on model create statement

2009-02-21 Thread Craig Jolicoeur
Thanks, but the plugins aren't an issue. I found the problem. I should have included my model attributes as well from the DB. I had a DB column called "callback" which interfered with built-in AR functionality. Frederick Cheung wrote: > On 21 Feb 2009, at 00:08, Cra

[Rails] ArgumentError on model create statement

2009-02-20 Thread Craig Jolicoeur
I have a rails app model that I'm getting a strange error that is just baffling me. I've stripped everything out of my model down to the basics and still get the error. So, here is the current model: class Metric < ActiveRecord::Base end When I go into the console, and issue a simple "Metric

[Rails] Re: paperclip not working on update action (rails 2.1)

2008-11-14 Thread Craig Jolicoeur
I figured it out. Stupid, but I forgot to add :avatar to the list of attributes. So it was protected from mass_assignment. On Nov 14, 10:42 am, Dr J <[EMAIL PROTECTED]> wrote: > I am having the exact same issue as well. > > At first I thought it was something with my Amazon S3 setup, so I > rem