rails_upgrader icon indicating copy to clipboard operation
rails_upgrader copied to clipboard

Migrate to Strong Parameters

Results 11 rails_upgrader issues
Sort by recently updated
recently updated
newest added

- [ ] Add an entry to `CHANGELOG.md` that links to this PR under the "main (unreleased)" heading. ## Description Stop using Travis CI, start using GitHub Actions ## Motivation...

Before modifying each model/controller, there should be a y/n prompt that asks for your permission to overwrite each file. There should also be a `rails_upgrader go -y` option which overwrites...

enhancement
feature request

Either prompt to overwrite/skip/resolve conflicts for the file, or skip the file entirely if there are differences between the last commit and the last modification.

enhancement
feature request

The rails upgraded already does this kind of "mirgation" with strong params, it would be nice If we can add this other "migration" for going from `Rails 4.2` Rails `5-0`...

feature request

`rails g model User name:string` will generate migration as shown below. ```ruby class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.string :name t.timestamps null: false end end end...

feature request

After `Rails 5.1` All *_filter methods are now called *_action: These methods were actually already deprecated in Rails 5.0, and Rails 5.1 removes support for *_filter usage, so you should...

feature request

Often a model is touched by several controllers, e.g. a dedicated /admin controller. Right now strong params are only injected in the root controller

help wanted
feature request

Hi there, I recently had to upgrade to Rails 5.1 and I found this gem very useful: https://github.com/tjgrathwell/rails5-spec-converter It would be interesting if we added support for it in this...

feature request

Right now we are only testing with Ruby 2.4.10. It would be interesting to see if the gem works with Ruby 2.7.x and add that version to the test matrix.

enhancement
help wanted
good first issue