padrino/padrino-framework — Issue #754: "padrino gen model" appears to have a bug.
Author: lighth7015
Created: 2012-01-17 01:29:26+00:00
State: open

Hi,
I recently attempted to generate a model for my database:

$ padrino gen model model-name field0:serial field1:string field2:string field3:string
apply orms/(orm-name)
create models/(model-name).rb
create db/migrate/###_create_(model-name).rb

and yet, all I end up getting in models/(model-name).rb is:
class (model-name) < (adapter model class)

end

I have done this for several stock-generated projects and they ALL yield the same results... what gives?