mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
fix
This commit is contained in:
parent
d8d50857fc
commit
e27e025509
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ module AwesomePrint
|
|||
|
||||
# Format Sequel Model class.
|
||||
#------------------------------------------------------------------------------
|
||||
def awesome_sequel_model_class
|
||||
def awesome_sequel_model_class(object)
|
||||
data = object.db_schema.inject({}) {|h, (name,data)| h.merge(name => data[:db_type])}
|
||||
"class #{object} < #{object.superclass} " << awesome_hash(data)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue