activerecord-like icon indicating copy to clipboard operation
activerecord-like copied to clipboard

An Active Record Plugin that allows chaining a more DSL-style 'like' or 'not-like' query to an ActiveRecord::Base#where. Requires Activerecord 5 or higher.

Results 5 activerecord-like issues
Sort by recently updated
recently updated
newest added

Updates tests to work with AR 7 - just a couple of changes to the unit tests because AR internals have changed. Updates travis config to test against all current...

This fix commit is not released: https://github.com/ReneB/activerecord-like/commit/a2ab0b021e47c810a14bc0716f4b57ea805531a9

Run locally Let me know if you want Github Action setup as well

I have no idea how fast/slow Travis is nowadays. If you have intention to migrate I can provide some help.

I think it should be a good feature to add case-insensitivity. So that would be this in MySql: ```sql LOWER(posts.title) LIKE (?) ``` or this in PostgeSQL: ```sql posts.title ILIKE...