[genar@localhost ~]$ bin/rails server∎
Rails
Documentation
Incoming
- How Rails Sessions Work
- Examining The Internals Of The Rails Request/Response Cycle
- rack-attack - Rack middleware for blocking & throttling
Authentication
- devise - Flexible authentication solution for Rails with Warden. http://blog.plataformatec.com.br/tag/…
Admin frameworks
- ActiveAdmin - The administration framework for business critical Ruby on Rails applications.
- administrate - A Rails engine that helps you put together a super-flexible admin dashboard. http://administrate-prototype.herokua…
Services
Forms
- simple_form - Forms made easy for Rails! It’s tied to a simple DSL, with no opinion on markup. http://blog.plataformatec.com.br/tag/simple_form/
Frontend gems
- twitter-bootstrap-rails - Twitter Bootstrap for Rails 5 - 4.x Asset Pipeline https://github.com/seyhunak/twitter-b…
- less-rails - :-1: 🚋 Less.js For Rails http://github.com/metaskills/less-rails
Database
Seeding
- seed-fu - Advanced seed data handling for Rails, combining the best practices of several methods together.
Migrations
Concerns
DI (Dependency Injection)
- LEGOs, Play-Doh, and Programming
Video - RailsConf 2014 - All the Little Things by Sandi Metz
- canister - A simple IoC container for ruby
- dry-container - dry-container is a simple, thread-safe container, intended to be one half of a dependency injection system, possibly in combination with dry-auto_inject.
- Dependency injection is not a virtue
Bounded contexts
Dockerfile
Basic Dockerfile
1 | FROM ruby:2.2.0 |
Snippets
Pass query string to path methods
1 | confirm_a3_import_company_payslip_periods_path({year: '2019'}) |
Testing
- rspec-rails - RSpec for Rails-3+ http://relishapp.com/rspec/rspec-rails
- How to Test Rails Models with RSpec
- Testing Rails Application
- Testing Your Factories First
- 3 ways of testing private methods in Rails
Controllers
Documentation
Swagger
- How to document REST APIs with Swagger and Ruby on Rails
- Documenting Rails-based REST API using Swagger UI
- https://github.com/zuzannast/swagger_ui_engine