aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
Commit message (Collapse)AuthorAgeFilesLines
* CHANGELOGs are now per branchXavier Noria2012-08-281-2479/+1
| | | | | | | | | | Changes in old branches needed to be manually synched in CHANGELOGs of newer ones. This has proven to be brittle, sometimes one just forgets this manual step. With this commit we switch to CHANGELOGs per branch. When a new major version is cut from master, the CHANGELOGs in master start being blank. A link to the CHANGELOG of the previous branch allows anyone interested to follow the history.
* Deprecate config.threadsafe!José Valim2012-08-211-0/+2
|
* Fix handling SCRIPT_NAME from within mounted engine'sPiotr Sarnacki2012-08-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When you mount your application at a path, for example /myapp, server should set SCRIPT_NAME to /myapp. With such information, rails application knows that it's mounted at /myapp path and it should generate routes relative to that path. Before this patch, rails handled SCRIPT_NAME correctly only for regular apps, but it failed to do it for mounted engines. The solution was to hardcode default_url_options[:script_name], which is not the best answer - it will work only when application is mounted at a fixed path. This patch fixes the situation by respecting original value of SCRIPT_NAME when generating application's routes from engine and the other way round - when you generate engine's routes from application. This is done by using one of 2 pieces of information in env - current SCRIPT_NAME or SCRIPT_NAME for a corresponding router. This is because we have 2 cases to handle: - generating engine's route from application: in this situation SCRIPT_NAME is basically SCRIPT_NAME set by the server and it indicates the place where application is mounted, so we can just pass it as :original_script_name in url_options. :original_script_name is used because if we use :script_name, router will ignore generating prefix for engine - generating application's route from engine: in this situation we already lost information about the SCRIPT_NAME that server used. For example if application is mounted at /myapp and engine is mounted at /blog, at this point SCRIPT_NAME is equal /myapp/blog. Because of that we need to keep reference to /myapp SCRIPT_NAME by binding it to the current router. Later on we can extract it and use when generating url Please note that starting from now you *should not* use default_url_options[:script_name] explicitly if your server already passes correct SCRIPT_NAME to rack env. (closes #6933)
* Revert "The application generator generates `public/humans.txt` with some ↵David Heinemeier Hansson2012-08-071-2/+0
| | | | basic data". I dont consider this something most people is going to want most of the time. If you want to add it in your own app, knock yourself out. But it doesnt belong in Rails imo
* Add references statements to migration generatorAleksey Magusev2012-07-081-0/+11
| | | | | | | | | | | | | AddXXXToYYY/RemoveXXXFromYYY migrations are produced with references statements, for instance rails g migration AddReferencesToProducts user:references supplier:references{polymorphic} will generate the migration with: add_reference :products, :user, index: true add_reference :products, :supplier, polymorphic: true, index: true
* Add changelog entry for polymorphic option in model generatorCarlos Antonio da Silva2012-06-271-0/+10
| | | | | Pull request #6856, merged in 52f6e47682003c83b0466bf5e140ee302498a226. [ci skip]
* Updated ChangelogsBrian Cardarella2012-06-231-0/+3
|
* Use . instead of :: for class methods, add CHANGELOG entriesJosé Valim2012-06-101-0/+2
|
* Add a changelog entry about runner hook.kennyj2012-05-311-0/+2
|
* /rails/info/routes path shows routing informationschneems2012-05-241-0/+2
| | | | Will show similar contents to the output of `$ rake routes` in the browser in development. This speeds the time required to generate routes, since the application is already initialized.
* Add CHANGELOG entry for #6369 & #6391Andrew White2012-05-191-0/+2
|
* Load all the env files available in config.paths (closes #6335)Piotr Sarnacki2012-05-161-0/+2
|
* registers ceb1dcc in the CHANGELOGXavier Noria2012-05-091-0/+2
|
* Add some docs and changelog entryCarlos Antonio da Silva2012-05-041-0/+4
|
* Update the guides and CHANGELOGRafael Mendonça França2012-03-171-0/+2
|
* Remove Active Resource source files from the repositoryPrem Sichanugrist2012-03-131-0/+2
| | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu.
* Fix my name in the CHANGELOG to follow the conventionRafael Mendonça França2012-03-091-0/+5
| | | | Also add missing entries and use the formating convention
* Add release dates to documentationclaudiob2012-03-011-2/+2
| | | | Set "March 1, 2012" as the release date for 3.2.2, 3.1.4, 3.0.12
* Update changelogs with rails 3.0-stable branch infoPaco Guzman2012-02-251-1/+51
|
* uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵Xavier Noria2012-02-241-5/+0
| | | | the update action of resources
* updates CHANGELOGs to register changes in 002713cXavier Noria2012-02-221-0/+5
|
* Allow to set custom console type with Rails.application.config.console=Piotr Sarnacki2012-02-161-0/+12
| | | | | | | | | | | | | This patch adds ability to set custom console if you want to use something other than IRB. Previously the hack that people used was: silence_warnings do require 'pry' IRB = Pry end which is not the best way to customize things.
* Add convenience method to hide a generator from the available onesCarlos Antonio da Silva2012-02-031-0/+3
| | | | | | It is usually useful to be able to hide a generator when running rails generate command. Such generators might be used only to dry up generators code and shouldn't be available to end users.
* Add release date of Rails 3.2.0 to documentationclaudiob2012-01-261-1/+1
|
* Use content_tag_for with array by default on scaffold.José Valim2012-01-261-1/+3
|
* Update railties 3.2.0 changelogGuillermo Iguaran2012-01-121-2/+5
|
* Added the release dates for rails 3.1.1, rails 3.1.2, rails 3.1.3Karunakar (Ruby)2012-01-081-1/+1
|
* Rails::Plugin has goneSantiago Pastorino2012-01-031-0/+6
|
* Merge pull request #4150 from Karunakar/new_PRSantiago Pastorino2011-12-261-1/+1
|\ | | | | change Log
| * change LogKarunakar (Ruby)2011-12-241-1/+1
| |
* | Mip Earson -> Michael Pearson in changelog.Michael Pearson2011-12-261-1/+1
| |
* | fixes credit in changelog entryXavier Noria2011-12-251-1/+1
| |
* | registers guide generation for the Kindle and Kindle apps in the ChangelogXavier Noria2011-12-251-0/+2
| |
* | Update CHANGELOGsJosé Valim2011-12-241-0/+2
|/
* rails version order fixed and formatted in railties changelog Josef Šimánek2011-12-211-13/+13
|
* Update CHANGELOGs and guides.José Valim2011-12-161-0/+2
|
* Speed up development by only reloading classes if dependencies files changed.José Valim2011-12-121-4/+3
| | | | | | | | This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
* fix typo in railties changelogVijay Dev2011-12-031-1/+1
|
* revises some details in the previous explain patchXavier Noria2011-12-021-1/+1
|
* implements automatic EXPLAIN logging for slow queriesXavier Noria2011-12-021-1/+6
|
* Split and improve show and debug exceptions middlewares.José Valim2011-12-011-2/+4
|
* Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-251-2/+0
|
* Display mounted engines in `rake routes` by defaultPiotr Sarnacki2011-11-251-1/+1
|
* Merge branch 'serializers'José Valim2011-11-251-7/+9
|\ | | | | | | | | | | | | | | | | This implements the ActiveModel::Serializer object. Includes code, tests, generators and guides. From José and Yehuda with love. Conflicts: railties/CHANGELOG.md
| * Add docs to serializers. Update CHANGELOGs.José Valim2011-11-251-5/+7
| |
* | Allow to display engine's routes when running `rake routes ENGINES=true`Piotr Sarnacki2011-11-241-2/+5
| |
* | Forgot to add CHANGELOG entry for config.railties_orderPiotr Sarnacki2011-11-241-0/+4
|/
* Sync CHANGELOGs from 3-1-stableJon Leighton2011-11-141-0/+10
|
* Convert CHANGELOGs to Markdown format.Jon Leighton2011-11-041-0/+2390
Reasons: * Markdown reads well as plain text, but can also be formatted. * It will make it easier for people to read on the web as Github formats the Markdown nicely. * It will encourage a level of consistency when people are writing CHANGELOG entries. The script used to perform the conversion is at https://gist.github.com/1339263