Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 119 lines (71 sloc) 4.902 kb
dad7fdc Santiago Pastorino Rails::Plugin has gone
spastorino authored
1 ## Rails 4.0.0 (unreleased) ##
2
b3125c8 Steve Klabnik Make sure that RAILS_ENV is set when accessing Rails.env
steveklabnik authored
3 * Ensure that RAILS_ENV is set when accessing Rails.env *Steve Klabnik*
4
3663057 Rafael Mendonça França Merge pull request #7587 from elia/fix-too-eager-loading
rafaelfranca authored
5 * Don't eager-load app/assets and app/views *Elia Schito*
6
06129c0 Brent J. Nordquist Add .rake to `rake notes` and `rake notes:custom`
bjnord authored
7 * Add `.rake` to list of file extensions included by `rake notes` and `rake notes:custom`. *Brent J. Nordquist*
8
2a68f68 blowmage Update test locations
blowmage authored
9 * New test locations `test/models`, `test/helpers`, `test/controllers`, and
10 `test/mailers`. Corresponding rake tasks added as well. *Mike Moore*
11
9f3d864 Guillermo Iguaran Add missing entry in CHANGELOG about config.assets.cache change
guilleiguaran authored
12 * Set a different cache per environment for assets pipeline
13 through `config.assets.cache`.
14
15 *Guillermo Iguaran*
16
26fe77b Prem Sichanugrist Make Rails.public_path return a Pathname
sikachu authored
17 * `Rails.public_path` now returns a Pathname object. *Prem Sichanugrist*
18
66ed71f Guillermo Iguaran Remove highly uncommon `config.assets.manifest` option for moving the ma...
guilleiguaran authored
19 * Remove highly uncommon `config.assets.manifest` option for moving the manifest path.
9f3d864 Guillermo Iguaran Add missing entry in CHANGELOG about config.assets.cache change
guilleiguaran authored
20 This option is now unsupported in sprockets-rails.
66ed71f Guillermo Iguaran Remove highly uncommon `config.assets.manifest` option for moving the ma...
guilleiguaran authored
21
22 *Guillermo Iguaran & Dmitry Vorotilin*
23
1f4c89f Guillermo Iguaran Update changelogs to add entries about strong_parameters integration
guilleiguaran authored
24 * Add `config.action_controller.permit_all_parameters` to disable
25 StrongParameters protection, it's false by default.
26
27 *Guillermo Iguaran*
28
9f3d864 Guillermo Iguaran Add missing entry in CHANGELOG about config.assets.cache change
guilleiguaran authored
29 * Remove `config.active_record.whitelist_attributes` and
1f4c89f Guillermo Iguaran Update changelogs to add entries about strong_parameters integration
guilleiguaran authored
30 `config.active_record.mass_assignment_sanitizer` from new applications since
31 MassAssignmentSecurity has been extracted from Rails.
32
33 *Guillermo Iguaran*
34
ceb05bd Derek Prior change app/plugin generators to be more SCM agnostic
derekprior authored
35 * Change `rails new` and `rails plugin new` generators to name the `.gitkeep` files
36 as `.keep` in a more SCM-agnostic way.
37
38 Change `--skip-git` option to only skip the `.gitignore` file and still generate
39 the `.keep` files.
40
41 Add `--skip-keeps` option to skip the `.keep` files.
42
43 *Derek Prior & Francesco Rodriguez*
44
148c50b graceliu fixed support for DATABASE_URL for rake db tasks
graceliu authored
45 * Fixed support for DATABASE_URL environment variable for rake db tasks. *Grace Liu*
46
844ea9c needfeed Support MySQL SSL in rails dbconsole.
needfeed authored
47 * rails dbconsole now can use SSL for MySQL. The database.yml options sslca, sslcert, sslcapath, sslcipher,
48 and sslkey now affect rails dbconsole. *Jim Kingdon and Lars Petrus*
49
5b3bb61 Piotr Sarnacki Fix handling SCRIPT_NAME from within mounted engine's
drogus authored
50 * Correctly handle SCRIPT_NAME when generating routes to engine in application
51 that's mounted at a sub-uri. With this behavior, you *should not* use
52 default_url_options[:script_name] to set proper application's mount point by
53 yourself. *Piotr Sarnacki*
54
5d416b9 José Valim Deprecate config.threadsafe!
josevalim authored
55 * `config.threadsafe!` is deprecated in favor of `config.eager_load` which provides a more fine grained control on what is eager loaded *José Valim*
56
0cae7c6 Aleksei Magusev Add references statements to migration generator
lexmag authored
57 * The migration generator will now produce AddXXXToYYY/RemoveXXXFromYYY migrations with references statements, for instance
58
59 rails g migration AddReferencesToProducts user:references supplier:references{polymorphic}
60
61 will generate the migration with:
62
63 add_reference :products, :user, index: true
64 add_reference :products, :supplier, polymorphic: true, index: true
65
66 *Aleksey Magusev*
67
d79ca92 Carlos Antonio da Silva Add changelog entry for polymorphic option in model generator
carlosantoniodasilva authored
68 * Allow scaffold/model/migration generators to accept a `polymorphic` modifier
69 for `references`/`belongs_to`, for instance
70
71 rails g model Product supplier:references{polymorphic}
72
73 will generate the model with `belongs_to :supplier, polymorphic: true`
74 association and appropriate migration.
75
76 *Aleksey Magusev*
77
03f2249 José Valim Use . instead of :: for class methods, add CHANGELOG entries
josevalim authored
78 * Set `config.active_record.migration_error` to `:page_load` for development *Richard Schneeman*
79
f7ed0af Toshinori Kajihara Add a changelog entry about runner hook.
kennyj authored
80 * Add runner to Rails::Railtie as a hook called just after runner starts. *José Valim & kennyj*
81
cb44e0f Richard Schneeman /rails/info/routes path shows routing information
schneems authored
82 * Add `/rails/info/routes` path, displays same information as `rake routes` *Richard Schneeman & Andrew White*
83
71a83a9 Andrew White Add CHANGELOG entry for #6369 & #6391
pixeltrix authored
84 * Improved `rake routes` output for redirects *Łukasz Strzałkowski & Andrew White*
85
8bc1e53 Piotr Sarnacki Load all the env files available in config.paths (closes #6335)
drogus authored
86 * Load all environments available in `config.paths["config/environments"]`. *Piotr Sarnacki*
87
c8fe0d5 Jeremy Kemper Backpedal from class-oriented config.queue. Set an actual queue instance...
jeremy authored
88 * Add `config.queue_consumer` to change the job queue consumer from the default `ActiveSupport::ThreadedQueueConsumer`. *Carlos Antonio da Silva*
7a6116b Carlos Antonio da Silva Add some docs and changelog entry
carlosantoniodasilva authored
89
c8fe0d5 Jeremy Kemper Backpedal from class-oriented config.queue. Set an actual queue instance...
jeremy authored
90 * Add `Rails.queue` for processing jobs in the background. *Yehuda Katz*
7a6116b Carlos Antonio da Silva Add some docs and changelog entry
carlosantoniodasilva authored
91
da5a47e Rafael Mendonça França Update the guides and CHANGELOG
rafaelfranca authored
92 * Remove Rack::SSL in favour of ActionDispatch::SSL. *Rafael Mendonça França*
93
f1637bf Prem Sichanugrist Remove Active Resource source files from the repository
sikachu authored
94 * Remove Active Resource from Rails framework. *Prem Sichangrist*
95
951b582 Piotr Sarnacki Allow to set custom console type with Rails.application.config.console=
drogus authored
96 * Allow to set class that will be used to run as a console, other than IRB, with `Rails.application.config.console=`. It's best to add it to `console` block. *Piotr Sarnacki*
97
98 Example:
99
100 # it can be added to config/application.rb
101 console do
102 # this block is called only when running console,
103 # so we can safely require pry here
104 require "pry"
105 config.console = Pry
106 end
107
c6ef45d Carlos Antonio da Silva Add convenience method to hide a generator from the available ones
carlosantoniodasilva authored
108 * Add convenience `hide!` method to Rails generators to hide current generator
109 namespace from showing when running `rails generate`. *Carlos Antonio da Silva*
110
ba5a334 José Valim Use content_tag_for with array by default on scaffold.
josevalim authored
111 * Scaffold now uses `content_tag_for` in index.html.erb *José Valim*
112
dad7fdc Santiago Pastorino Rails::Plugin has gone
spastorino authored
113 * Rails::Plugin has gone. Instead of adding plugins to vendor/plugins use gems or bundler with path or git dependencies. *Santiago Pastorino*
114
d1d6c36 Brian Cardarella Updated Changelogs
bcardarella authored
115 * Set config.action_mailer.async = true to turn on asynchronous
116 message delivery *Brian Cardarella*
117
810a50d Xavier Noria CHANGELOGs are now per branch
fxn authored
118 Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/railties/CHANGELOG.md) for previous changes.
Something went wrong with that request. Please try again.