Method: Anoubis::Etc::Data#model

Defined in:
app/controllers/anoubis/etc/data.rb

#modelActiveRecord

Returns (defaults to: nil) Specify the current ActiveRecord for controller (if exists).

Returns:

  • (ActiveRecord)

    (defaults to: nil) Specify the current ActiveRecord for controller (if exists)



26
# File 'app/controllers/anoubis/etc/data.rb', line 26

class_attribute :model, default: nil