Top "Ruby-on-rails-6" questions

Ruby on Rails 6 is the latest version of Ruby on Rails, "an open-source web framework that's optimized for programmer happiness and sustainable productivity.

What is the use of secret_key_base in rails 4

I am new to Rails 4, and do not understand the use of secret_key_base under config/secrets.yml in …

ruby-on-rails ruby ruby-on-rails-4 ruby-on-rails-5 ruby-on-rails-6
How to fix Rails's warning messages with Ruby 2.7.0

Did anyone resolve this issue with Ruby 2.7.0? I used rbenv and installed Ruby v2.7.0 and then created a Rails project …

ruby-on-rails ruby warnings ruby-on-rails-6 ruby-2.7
Upgraded Rails to 6, getting Blocked host Error

I needed the new function in ActiveStorage to resize_to_fill so I upgraded to Ruby 2.5.1 and Rails 6. ruby '2.5.1…

ruby-on-rails cloud9 ruby-on-rails-6
How to require custom JS files in Rails 6

I'm currently trying Rails 6.0.0.rc1 which seems to have moved the default javascript folder from app/assets/javascript to app/…

ruby-on-rails ruby-on-rails-6
Webpacker can't find application

I'm creating a new rails application according to "Getting Started with Rails". The application starts normally in step 4.1. But when …

ruby-on-rails webpack ruby-on-rails-6
How to add jquery third party plugin in rails 6 webpacker

I know its simple but with update of rails 6. there is new syntax in rails 6 for manage javascript assets which …

javascript ruby-on-rails webpacker ruby-on-rails-6
has_many association migration in Rails

I m working on a Rails project (Rails version 4.2.3). I created a User and Task model but did not include …

ruby-on-rails ruby-on-rails-4 activerecord ruby-on-rails-5 ruby-on-rails-6
Rails: Vanilla Rails 6.0 error Command "webpack" not found

System: Ruby: 2.6.3p62 (rvm) Rails: 6.0 OS: macOS 10.14.6 Setup A fresh Rails 6.0 application: $ rails new testshop2 $ cd testshop2 $ rails g controller …

ruby-on-rails webpack ruby-on-rails-6
Rails 6: How to add jquery-ui through webpacker?

I'm currently trying to implement a datepicker into my application, the problem is that there is no documentation on how …

ruby-on-rails jquery-ui webpacker ruby-on-rails-6
Rails 5/6: How to include JS functions with webpacker?

I am trying to update a Rails 3 app to Rails 6 and I have problems with the now default webpacker since …

javascript ruby-on-rails webpack webpacker ruby-on-rails-6