Active Record limit and offset argument coercion behavior across Rails versions
Active Record's limit and offset methods provide the documented foundation for SQL-based pagination, translating Ruby values into LIMIT and OFFSET clauses. A precise goal for teams maintaining cross-version Rails applications is determining where argument validation should occur when Rails 6.x raises ArgumentError for non-integer values but Rails 7.x applies