Displaying 1 result from an estimated 1 matches for "is_attachment".
Did you mean:
has_attachment
2009 Jan 30
2
rescue ActiveRecord::RecordInvalid
Hi all,
I am using is_attachment plugin, but I will always end up with this
error:
RuntimeError in PostsController#create
BLAH
which was caused by:
version.filename = file_name_for_version(version_name)
begin
version.save!
rescue ActiveRecord::RecordInvalid
raise "BLAH"
end
end
RecordInvalid was raised...