On 08 Jan 2009, at 16:11, Dave Smith wrote:

> Peter De Berdt wrote:
>> On 08 Jan 2009, at 15:33, Dave Smith wrote:
>>
>>>   @project_file = Project_File.new(params[:uploaded_data])
>>
>> ProjectFile seems more like an ActiveRecord class name.
>>
>>
>> Best regards
>>
>> Peter De Berdt
>
> You'll have to excuse me for my lack of knowledge here but I dont
> understand?

script/generate model ProjectFile

class ProjectFile < ActiveRecord::Base

No underscores in model names, that's not the convention.


Best regards

Peter De Berdt


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to