Flowdock
method

limit!

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
limit!(value) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/query_methods.rb, line 709
    def limit!(value) # :nodoc:
      if string_containing_comma?(value)
        # Remove `string_containing_comma?` when removing this deprecation
        ActiveSupport::Deprecation.warn(          Passing a string to limit in the form "1,2" is deprecated and will be          removed in Rails 5.1. Please call `offset` explicitly instead..squish)
      end
      self.limit_value = value
      self
    end
Register or log in to add new notes.