aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3747 from lest/middleware-loggerJosé Valim2011-11-251-1/+2
|\ | | | | middlewares should have configurable logger
| * middlewares should use logger from envlest2011-11-251-1/+2
| |
* | I suck, forgot to also change rake's task descriptionPiotr Sarnacki2011-11-251-1/+1
| |
* | Display mounted engines in `rake routes` by defaultPiotr Sarnacki2011-11-251-1/+1
| |
* | Merge branch 'serializers'José Valim2011-11-257-1/+83
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | This implements the ActiveModel::Serializer object. Includes code, tests, generators and guides. From José and Yehuda with love. Conflicts: railties/CHANGELOG.md
| * | Add a hook for serializers in the scaffold generator (off for now).José Valim2011-11-252-1/+4
| | |
| * | Add generators for serializers.José Valim2011-11-255-0/+79
| | |
* | | Added tests for #3751ganesh2011-11-251-1/+1
| |/ |/|
* | Allow to display engine's routes when running `rake routes ENGINES=true`Piotr Sarnacki2011-11-242-4/+35
| |
* | Allow to change engine's loading priority with config.railties_order=Piotr Sarnacki2011-11-233-4/+47
| |
* | Merge pull request #3731 from HeeL/masterYehuda Katz2011-11-231-3/+14
|\ \ | |/ |/| code stats calculation
| * improved code stats calculation, check on multiline comments and rewrite ↵Sergey Parizhskiy2011-11-231-3/+14
| | | | | | | | regexps according to a class naming convention
* | Rely on a public contract between railties instead of accessing railtie ↵José Valim2011-11-233-18/+31
|/ | | | methods directly.
* Merge pull request #3724 from marcandre/media_defaultYehuda Katz2011-11-222-2/+2
|\ | | | | stylesheet_tag default's media is "screen"
| * Make explicit the default media when calling stylesheet_tag and change the ↵Marc-Andre Lafortune2011-11-222-2/+2
| | | | | | | | default generators.
* | add ActionController::Metal#show_detailed_exceptions?lest2011-11-221-1/+1
| |
* | Remove the -h option to dbconsole which is the shorter form of --headerVijay Dev2011-11-221-1/+1
| | | | | | | | | | | | This is done since the -h option to dbconsole hides the conventional -h for help and forces users to use --help to see the usage options for dbconsole.
* | fix warning about instance variable in plugin generatorlest2011-11-191-7/+7
| |
* | fix rails plugin new CamelCasedName buglest2011-11-191-4/+16
| | | | | | | | refs #3684
* | Move schema_format :sql config setting from test.rb to application.rbAlex Tambellini2011-11-172-5/+5
| | | | | | | | | | | | I've moved the schema_format :sql config setting to application.rb because you would never enable this only for the test environment. If you use database constraints or database specific data types you would want all of your environments to use them.
* | Substituted RailsCommands for Rails::CommandsDaniel Dyba2011-11-161-159/+161
| |
* | Changed Commands module to RailsCommands.Daniel Dyba2011-11-161-3/+3
| | | | | | | | | | | | This is to avoid a conflict that occurs when you add Rake to your Gemfile. There is a Commands Object in Rake that conflicts with the Commands module in plugin.rb. See rails issue #1866.
* | Merge pull request #3626 from guilleiguaran/include-therubyrhino-gemfileJosé Valim2011-11-141-0/+1
|\ \ | | | | | | Added therubyrhino to default Gemfile under JRuby
| * | Added therubyrhino to default Gemfile under JRubyGuillermo Iguaran2011-11-141-0/+1
| | |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-131-6/+6
|\ \ \ | |/ / |/| |
| * | fixed example code indentationWojciech Wnętrzak2011-11-101-6/+6
| | |
* | | Fixed error with 'rails generate new plugin' where the .gitignore was not ↵Tyler Coville2011-11-092-4/+4
| | | | | | | | | | | | properly generated if --dummy-path was used and added test case
* | | Extend IRB right before starting IRB to remove dependency on IRB from ↵Akira Matsuda2011-11-102-2/+2
| | | | | | | | | | | | Rails::Application
* | | Merge pull request #3509 from amatsuda/console_extend_command_bundleJosé Valim2011-11-093-27/+37
|\ \ \ | | | | | | | | move Rails console top level methods to IRB context
| * | | Modulize Rails console methods so that other console libraries such as Pry ↵Akira Matsuda2011-11-093-4/+6
| | | | | | | | | | | | | | | | can include these methods
| * | | move Rails console top level methods to IRB contextAkira Matsuda2011-11-042-27/+35
| | |/ | |/|
* | | CHANGELOG => CHANGELOG.mdArun Agrawal2011-11-091-2/+2
| | | | | | | | | | | | I missed these in previous commit
* | | Refactor test:uncommitted task.Arun Agrawal2011-11-091-10/+3
| |/ |/| | | Thanks to @sobrinho (Gabriel Sobrinho)
* | Should be checking if file exists or not.Arun Agrawal2011-11-081-3/+9
| | | | | | | | | | | | I found this bug when running rake test:uncommitted on a newly generated rails app which don't have test file for application_controller. Can see detail here #3461
* | CHANGELOG to CHANGELOG.mdArun Agrawal2011-11-081-5/+5
| |
* | Remove redundant blank line at the bottomAkira Matsuda2011-11-071-1/+1
| |
* | Add arel to Gemfile on apps generated in edge RailsGuillermo Iguaran2011-11-051-0/+2
|/
* treat USAGE as an ERB templateColin MacKenzie IV2011-11-021-1/+1
|
* Removing db/seeds.rb is fine. Don't blow up.Jeremy Kemper2011-10-291-1/+1
|
* Merge pull request #3337 from htanata/fix_rake_routes_for_controller_only_routeJosé Valim2011-10-291-7/+8
|\ | | | | Remove trailing "#" on rake routes for controller only routes
| * On inpsect routes, show :controller and :action to indicate dynamic.Hendy Tanata2011-10-291-7/+8
| |
* | method redefined warning removed!Arun Agrawal2011-10-291-0/+1
|/
* Scaffold returns 204 No Content for API requests without content. This makes ↵José Valim2011-10-261-2/+2
| | | | scaffold work with jQuery out of the box.
* Remove needless to_param in scaffold functional testAlexey Vakhov2011-10-241-4/+4
|
* Merge pull request #3408 from guilleiguaran/remove-turnJosé Valim2011-10-222-13/+0
|\ | | | | Remove Turn from default Gemfile.
| * Remove Turn from default Gemfile.Guillermo Iguaran2011-10-222-13/+0
| | | | | | | | We still looking for a best presentation for tests output.
* | Revert "Merge pull request #3405 from arunagw/middleware_name"Aaron Patterson2011-10-221-1/+1
|/ | | | | This reverts commit c33090523c3504a2a125d7f725a7f2a4b99ff3c0, reversing changes made to 1c1c3fc2c06fc02e67a8272adf2c2d2381e005b4.
* Using middleware name to show proper name in the infoArun Agrawal2011-10-221-1/+1
|
* Don't use :path in Gemfile for --dev except for Rails.José Valim2011-10-202-3/+1
|
* Fix the proper production.rbDavid Heinemeier Hansson2011-10-191-1/+4
|