Class: ActiveRecord::ConnectionAdapters::AbstractAdapter
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::AbstractAdapter
- Defined in:
- lib/offroad.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#next_value_for_sequence(sequence_name) ⇒ Object
:nodoc:
18 19 20 |
# File 'lib/offroad.rb', line 18 def next_value_for_sequence(sequence_name) %{nextval('#{sequence_name}')} end |