Skip to content
Browse files

some edits in 4.0 release notes [ci skip]

  • Loading branch information...
1 parent 271d1e7 commit 96ded2efb7fc8ad5415c25e05fe1b7b4cd3b0fb4 @vijaydev vijaydev committed
Showing with 10 additions and 9 deletions.
  1. +10 −9 guides/source/4_0_release_notes.md
View
19 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

0 comments on commit 96ded2e

Please sign in to comment.
Something went wrong with that request. Please try again.