pattern icon indicating copy to clipboard operation
pattern copied to clipboard

A collection of lightweight, standardized, rails-oriented patterns.

Results 6 pattern issues
Sort by recently updated
recently updated
newest added

To be clear, I'm using your implementation as a reference and not importing it directly, so it's likely I'm missing something! If I use a query object like this: ```ruby...

Would it be possible to document how the form pattern should be used with associations and nested forms? Thanks!

Hi folks! Thanks for your work on this gem. QueryObject is a commonly used pattern in RoR community, and I noticed that everyone is re-implementing it similarly. All realizations I...

This PR corrects the url for the blog [7 ways to decompose fat active record models](http://blog.codeclimate.com/blog/2012/10/17/7-ways-to-decompose-fat-activerecord-models). The url has been changed from http://blog.codeclimate.com/blog/2012/10/17/7-ways-to-decompose-fat-activerecord-models to https://codeclimate.com/blog/7-ways-to-decompose-fat-activerecord-models.

Hello, would be useful to allow services to accept a block ```ruby service = Synchronization::NowaitLockService.call("my_lock_key", timeout: 25000) { sleep 10 } ``` Presently block passed is ignored.

1. Bump dependencies to resolve CVEs. 2. Replaced `DateTime` with `Time`. Deprecated in Rails 8.0. 3. run rspec tests when running `rake test`