aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-09-22 00:04:40 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-09-22 00:06:07 +0530
commit96ded2efb7fc8ad5415c25e05fe1b7b4cd3b0fb4 (patch)
tree9126a08168b7629d46e0bb56b4d647d9ae4f509a /guides/source
parent271d1e7d8ce81355854cbbdc4386aea65ca79195 (diff)
downloadrails-96ded2efb7fc8ad5415c25e05fe1b7b4cd3b0fb4.tar.gz
rails-96ded2efb7fc8ad5415c25e05fe1b7b4cd3b0fb4.tar.bz2
rails-96ded2efb7fc8ad5415c25e05fe1b7b4cd3b0fb4.zip
some edits in 4.0 release notes [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/4_0_release_notes.md19
1 files changed, 10 insertions, 9 deletions
diff --git a/guides/source/4_0_release_notes.md b/guides/source/4_0_release_notes.md
index 52091289c9..c3921ea541 100644
--- a/guides/source/4_0_release_notes.md
+++ b/guides/source/4_0_release_notes.md
@@ -1,7 +1,12 @@
Ruby on Rails 4.0 Release Notes
===============================
-Highlights in Rails 4.0:
+Highlights in Rails 4.0: (WIP)
+
+* Ruby 1.9.3 only
+* Strong Parameters
+* Queue API
+* Caching Improvements
These release notes cover the major changes, but do not include each bug-fix and changes. If you want to see everything, check out the [list of commits](https://github.com/rails/rails/commits/master) in the main Rails repository on GitHub.
@@ -12,7 +17,6 @@ Upgrading to Rails 4.0
TODO. This is a WIP guide.
-
If you're upgrading an existing application, it's a great idea to have good test coverage before going in. You should also first upgrade to Rails 3.2 in case you haven't and make sure your application still runs as expected before attempting an update to Rails 4.0. Then take heed of the following changes:
### Rails 4.0 requires at least Ruby 1.9.3
@@ -29,7 +33,6 @@ Rails 4.0 requires Ruby 1.9.3 or higher. Support for all of the previous Ruby ve
TODO: Update the versions above.
-
* Rails 4.0 removes `vendor/plugins` completely. You have to replace these plugins by extracting them as gems and adding them in your Gemfile. If you choose not to make them gems, you can move them into, say, `lib/my_plugin/*` and add an appropriate initializer in `config/initializers/my_plugin.rb`.
TODO: Configuration changes in environment files
@@ -69,6 +72,8 @@ Major Features
Documentation
-------------
+* Guides are rewritten in GitHub Flavored Markdown.
+
Railties
--------
@@ -131,11 +136,8 @@ Action Mailer
```ruby
def welcome_mailer(user,company)
- mail to: user.email,
- subject: "Welcome!",
- delivery_method_options: {user_name: company.smtp_user,
- password: company.smtp_password,
- address: company.smtp_server}
+ delivery_options = { user_name: company.smtp_user, password: company.smtp_password, address: company.smtp_host }
+ mail(to: user.email, subject: "Welcome!", delivery_method_options: delivery_options)
end
```
@@ -410,7 +412,6 @@ Active Record
remove_reference(:products, :supplier, polymorphic: true)
```
-
* Add `:default` and `:null` options to `column_exists?`.
```ruby