-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to Rails 4 #1318
Comments
@lalithr95 This one has been in the talks for quite some time. If you are willing to work on this, please coordinate with @jywarren. We decided that the exam period (just before GSoC) would be an appropriate time to do this. |
In addition there is a pull request open already; perhaps that's a good
place to start but it must be rebased due to more recent changes in the
master branch.
…On Mar 5, 2017 12:08 AM, "Ujjwal Sharma" ***@***.***> wrote:
@lalithr95 <https://github.com/lalithr95> This one has been in the talks
for quite some time. If you are willing to work on this, please coordinate
with @jywarren <https://github.com/jywarren>. We decided that the exam
period (just before GSoC) would be an appropriate time to do this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1318 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJw6sCyIQ5KJeyO1mDL2bAahDlCsQks5rikNNgaJpZM4MTUB_>
.
|
Reference: #1160 |
@jywarren found this. Let's flesh this issue out a little by make a checklist of stuff we need? Also, let's make a |
Again, here, we should perhaps make a checklist of things we can do before the upgrade, that are compatible with Rails 3 AND Rails 4. And then a checklist of what has to happen all at once. Make sense? |
OK, i made a checklist. Some of these may be possible in Rails 3... not sure which. We could get them out of the way on the |
This is almost complete in #1799 |
Solved! |
We need to update to rails 4, as current version we use is rails 3 and doesn't have any official support from rails.
Current rails version is rails 5 and has support for 5 and 4. This can be one of the medium size projects in migration all the gems and conventions to rails 4.2 .
cc: @jywarren
See http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-3-2-to-rails-4-0
Checklist we can do already in Rails 3
Model.find_all_by_name()
and similar toModel.where()
assert_false
toassert_not
in tests (we think!)Checklist for breaking changes
Looking through here: https://github.com/publiclab/plots2/pull/1160/files (not comprehensive):
form_for @____
toform_for :____
link_to
confirm: ___
todata: { confirm: ____ }
.includes(:model_name)
to.references(:table_name)
in ActiveRecord queries (see here: http://brettu.com/rails-daily-ruby-tips-117-activerecord-references-in-rails-4/), multiline: true
to some validations (see above)assigns['output']
toassigns[:output]
The text was updated successfully, but these errors were encountered: