Showing posts with label ActiveRecord. Show all posts
Showing posts with label ActiveRecord. Show all posts

Ultimate rspec matcher to test named_scope or scoped

After having a good practice on using Ultimate rspec matcher to test validation I think it's time to implement one for testing...

Ultimate rspec matcher to test validation

After a first thousand of tests using Rspec I fount it very annoying to repeat my self testing the standard code as spec...

Advanced SQL and named scopes stack with ActiveRecord

If you ever work with rails application that is a little bit more complex then a simple CRUD you would know that some of...
Copyright © 2025 Spesial Unik. All rights reserved. Template by CB. Theme Framework: Responsive Design