Answer the question
In order to leave comments, you need to log in
Rails: What gems do you use
What gems do you use when creating an online store?
Answer the question
In order to leave comments, you need to log in
Testing :
* Cucumber - this bdd framework changed my mind and let me see how beautiful tests can be. I use it for integration testing.
* Capybara is a high-level engine for checking the existence of elements on the page and other junk.
* Rspec is a wonderful thing, a beautiful and very convenient test framework, which I use mainly for testing the controller and models.
* FactoryGirl is a handy library for creating factories to create objects.
* DatabaseCleaner - to clean up garbage before / before / during tests.
* CapybaraWebkit - this is not to open the browser when running tests. Saves time and generally works. In my project, only due to this, I reduced the test run time by 2 times.
* ParallelTests - we parallelize the tests, due to this thing, the speed gain was about 5 times.
Development :
* BetterErrors - well, a very handy thing! Nicely displays errors. I liked it so much that I drag it from project to project and put it everywhere. Just add binding_of_caller to it to enable advanced features like console right in the error window!
* QuietAssets - we ask the assets not to make noise in the logs. Recommended only for development mode.
* Annotate - add a label scheme to the models (and also to the corresponding tests). I find this very convenient.
* Brakeman - we don't give a damn about security, right? Truth! Therefore, we will be good fellows and will at least sometimes scan our application in search of vulnerabilities, sometimes you can find something very sensible.
* Gon - we transfer data from rail to js easily and naturally. A very handy tool indeed! Try it!
* Slim is a beautiful and very lightweight templating engine. Nicer than erb, lighter (at least visually) than haml.
Of course, not everything that I use is listed. Use on health. :)
1) ancestry - tree storage
2) rails admin - admin panel
3) bcrypt - make hashes
4) will_paginate - paginator
5) paperclip - image crops
6) meta_search - search
7) awesome_print - formatted output
8) translit - Russification
eventmachine is a networking gem in Ruby.
mongoid - gem for working with mongoDB
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question