Module: CreateValid::GlobalHelpers
- Defined in:
- lib/create_valid.rb
Instance Method Summary collapse
Instance Method Details
#next_sequence ⇒ Object
116 117 118 |
# File 'lib/create_valid.rb', line 116 def next_sequence ::CreateValid.next_sequence end |
#params_for(model, attributes = nil, &block) ⇒ Object
120 121 122 |
# File 'lib/create_valid.rb', line 120 def params_for(model, attributes = nil, &block) ::CreateValid.register(model, attributes, &block) end |