Testing your Rails plugin

When I first released both ArabicHelper and SimplySearchable I didn’t have any tests for them because I didn’t know the right way to write those tests. After doing some digging and looking at other plugins tests I found out how, and I’m sharing that here with you.
Specifically for ActiveRecord extensions you need a database and [...]

001

Articles Permanent Link

SimplySearchable plugin

Update 1:Associations support has been implemented.
Almost a year ago I released SimplySearchable plugin to help me implement the filtering options of restate.ae and during this year I’ve been updating it regularly until it become something completely different so I did a quick rewrite, moved all the logic to the model, moved the repository to github [...]

8

Articles Permanent Link