[RUBY] [My style] rails Initial setting memo

For myself

gem


gem 'ridgepole'
gem 'slim-rails'
gem 'html2slim'
gem 'pry-rails'

bundle
config.time_zone = 'Tokyo'
config.generators.template_engine = :slim
bundle exec erb2slim app/views app/views 
default: &default
  adapter: postgresql
  encoding: unicode
  pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
  password: xxx
  host: localhost
  username: postgres

abridgement

I used to copy and paste the folders I made in the past, but it's a pain to open the folders one by one. However, opening Qiita and opening this page may be troublesome enough It's up to you to use it

Oh, and if you have any recommended gems for development, please let me know (^^ ♪ I recommend overwhelmingly ridge pole and slim These two are really good if you get used to them

By the way, now I'm studying javascript from scratch while promoting the development of web applications with rails. I hadn't really studied javascript, but I started doing it because I wanted to make something.

Recommended Posts

[My style] rails Initial setting memo
[Devise] rails memo basic setting initial setting
e-Gov setting memo
[My memo] Let's get along with Pry / DB with Rails
Docker x Rails 6 (memo)
Rails + ElasticSearch Survey Memo
MEMO about Rails 6 series
[Rails] Initial setting of user-created login with devise, devise_token_auth
[IntelliJ] Initial setting procedure of IntelliJ
Ubuntu (Mac style) initial settings
index action settings My memo