Last active
August 29, 2015 14:09
-
-
Save ryankbales/25d272a521ad996eee7a to your computer and use it in GitHub Desktop.
Changes to look out for with new code in core and core template paths.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Deprecated in Rails 3.1 | |
<% form_tag %> #note the different erb tags below | |
<% form_for %> #this is only in regards to the form tag helpers | |
request.request_uri | |
#New syntax for 3.1 upgrade | |
<%= form_tag %> #3.1 requires the erb tags with the '=', or the evaluate and render tags for form helpers. | |
<%= form_for %> | |
request.url #this is backwards compatible, request.request_uri will not work in 3.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment