(in no particular order)
Library | Description |
Action Controller | actions |
Action Dispatch | routing, params, session, cookies |
Active Job | queuing, background jobs |
Action Mailer | emails |
Active Model | model interfaces |
Action Pack | meta-package includes Controller and Dispatch |
Active Record | ORM |
Active Support | utilities, core extensions |
Action View | templating, rendering |
Library | Description |
Action Cable | websockets since Rails 5 |
Action Mailbox | internal emails since Rails 6.0 |
Active Storage | cloud storage since Rails 5.2 |
Action Text | rich text editing since Rails 6.0 |
When creating a new Rails application, you have the option to skip:
Cable
Mailbox
Mailer
Record
Storage
Text
Job?
...
Gem | Description |
bcrypt | ​ |
bootsnap | ​ |
byebug | ​ |
capybara | ​ |
image_processing | ​ |
jbuilder | ​ |
listen | ​ |
mysql2 | ​ |
pg | ​ |
puma | ​ |
rails | ​ |
redis | ​ |
sass-rails | ​ |
selenium-webdriver | ​ |
spring | ​ |
spring-watcher-listen | ​ |
sqlite3 | ​ |
turbolinks | ​ |
tzinfo-data | ​ |
web-console | ​ |
webdrivers | ​ |
webpacker | ​ |
...
...
...
...
...
...
...
...
app/assets
app/javascript
lib/assets
public/assets
app/assets/config/manifest.js
Sprockets 4 moves the configuration from config/application.rb
to app/assets/config/manifest.js
.
Previously, config/application.rb
contained:
config.assets.precompile += []
Now app/assets/config/manifest.js
contains:
//= link_tree ../images//= link_directory ../stylesheets .css
...
app/helpers/application_helper.rb
config/credentials.yml.enc
config/master.key
tmp/development_secret.txt
.env
EDITOR="vim --wait" rails credentials:edit
credentials since Rails 5.2
...
csrf_meta_tags
csp_meta_tags
media: 'all'
...