Defines the generic ORM management functions used to manipulate data for admin.
Classes: Column
#klass ⇒ Object
readonly Returns the value of attribute klass. #klass_name ⇒ Object
readonly Returns the value of attribute klass_name. #name_param ⇒ Object
readonly Returns the value of attribute name_param. #name_plural ⇒ Object
readonly Returns the value of attribute name_plural. #name_singular ⇒ Object
readonly Returns the value of attribute name_singular. #orm ⇒ Object
readonly Returns the value of attribute orm. #activerecord? ⇒ Boolean
#all ⇒ Object
#build(params = nil) ⇒ Object
#column_fields ⇒ Object
#columns ⇒ Object
#destroy ⇒ Object
#dm_column(p) ⇒ Object
#field_type(type) ⇒ Object
#find(params = nil) ⇒ Object
#find_by_ids(params = nil) ⇒ Object
#has_error(field) ⇒ Object
#initialize(name, orm, columns = nil, column_fields = nil) ⇒ Orm
constructor A new instance of Orm. #multiple_destroy(params = nil) ⇒ Object
#save ⇒ Object
#update_attributes(params = nil) ⇒ Object
Returns a new instance of Orm
Returns the value of attribute klass
Returns the value of attribute klass_name
Returns the value of attribute name_param
Returns the value of attribute name_plural
Returns the value of attribute name_singular
Returns the value of attribute orm
© 2010–2019 Padrino
Licensed under the MIT License.
https://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Admin/Generators/Orm