Module: Recordable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/acts_as_railable/recordable.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
- #collection_placeholder_id(record_parent = nil) ⇒ Object
- #form_error_placeholder_id ⇒ Object
- #modal_id ⇒ Object
- #modal_placeholder_id ⇒ Object
- #navbar_placeholder_id ⇒ Object
- #pagination_placeholder_id ⇒ Object
- #record_name ⇒ Object
-
#record_parent ⇒ Object
instance methods.
- #script_placeholder_id ⇒ Object
- #titlebar_placeholder_id ⇒ Object
Instance Method Details
#collection_placeholder_id(record_parent = nil) ⇒ Object
76 77 78 |
# File 'lib/acts_as_railable/recordable.rb', line 76 def collection_placeholder_id record_parent=nil self.class.collection_placeholder_id record_parent end |
#form_error_placeholder_id ⇒ Object
64 65 66 |
# File 'lib/acts_as_railable/recordable.rb', line 64 def form_error_placeholder_id self.class.form_error_placeholder_id end |
#modal_id ⇒ Object
88 89 90 |
# File 'lib/acts_as_railable/recordable.rb', line 88 def modal_id self.class.modal_id end |
#modal_placeholder_id ⇒ Object
92 93 94 |
# File 'lib/acts_as_railable/recordable.rb', line 92 def modal_placeholder_id self.class.modal_placeholder_id end |
#navbar_placeholder_id ⇒ Object
72 73 74 |
# File 'lib/acts_as_railable/recordable.rb', line 72 def self.class. end |
#pagination_placeholder_id ⇒ Object
80 81 82 |
# File 'lib/acts_as_railable/recordable.rb', line 80 def pagination_placeholder_id self.class.pagination_placeholder_id end |
#record_name ⇒ Object
60 61 62 |
# File 'lib/acts_as_railable/recordable.rb', line 60 def record_name self.class.record_name end |
#record_parent ⇒ Object
instance methods
56 57 58 |
# File 'lib/acts_as_railable/recordable.rb', line 56 def record_parent nil end |
#script_placeholder_id ⇒ Object
84 85 86 |
# File 'lib/acts_as_railable/recordable.rb', line 84 def script_placeholder_id self.class.script_placeholder_id end |
#titlebar_placeholder_id ⇒ Object
68 69 70 |
# File 'lib/acts_as_railable/recordable.rb', line 68 def self.class. end |