Rails: What gems are You using

What gems do You use when you create an online store?
October 3rd 19 at 03:22
5 answers
October 3rd 19 at 03:24
Solution
Testing:

* Cucumber — a bdd framework, this changed my mind and gave the to see how beautiful can be a test. Use for integration testing.
* Capybara is a high — level engine to test for the existence of elements on the page and other stuff.
* Rspec — beautiful penis, beautiful and very convenient test framework that I use primarily for testing the controller and models.
* FactoryGirl — a handy library for creating factories to create objects.
* DatabaseCleaner to podzhimaniya debris in front of/before/during tests.
* CapybaraWebkit is to not open the browser when running tests. Saves time and is generally TRU. In its draft only at the expense of reduced test run 2 times.
* ParallelTests — raspredeleniem tests, due to this thing gain in speed got 5 times approximately.

Development:

* BetterErrors — well very convenient thing! Beautifully displays error. So coveted that carry from project to project and put all. Just add binding_of_caller to include advanced features such as the console window with an error!
* QuietAssets — assets please do not make noise in the logs. It is recommended only for development mode.
* Annotate — add to model (and also in tests appropriate) a diagram plate. I find it very convenient.
* Brakeman — we don't care at all about security, right? True! So we are good fellows and will even sometimes scan our application in search of vulnerabilities sometimes can be something very worthwhile to find.
* Gon — pass data from rails to js easily. A very handy tool, really! Try it!
* Slim and very lightweight templating engine. Nicer than erb, it's easier (at least visually) than haml.

Lists, of course, not all that use. Use on health. :)
October 3rd 19 at 03:26
1) ancestry — storing trees
2) rails — admin- admin
3) bcrypt — hashes to do
4) will_paginate — the pager
5) paperclip — crops images
6) meta_search — search
7) awesome_print — formatted output
8) translit — Russification
That would not have to reinvent the wheel, there is a gem/engine Spree.

But I love to reinvent the wheel, because I use to plus/instead of what is written above:
carrierwave and mini_magick instead papperclip, active admin is a rails admin and Russification russian gem. - rae commented on October 3rd 19 at 03:29
Just want to reinvent the wheel, because the goal is not only to make the store, but in order to understand rails. - katelin_Schul commented on October 3rd 19 at 03:32
October 3rd 19 at 03:28
Also complement: devise, cancan, cells
October 3rd 19 at 03:30
eventmachine gem for networking in Ruby.
mongoid gem to work with mongoDB
October 3rd 19 at 03:32
In addition, capybara, factory girl

Find more questions by tags Ruby gemsRuby on Rails