aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* implements automatic EXPLAIN logging for slow queriesXavier Noria2011-12-022-0/+10
|
* Split ShowExceptions responsibilities in two middlewares.José Valim2011-12-011-0/+3
|
* put backtrace_cleaner to envlest2011-11-281-1/+2
|
* global variable `$rails_rake_task' not initialized Warning removedArun Agrawal2011-11-281-0/+1
|
* Merge pull request #3771 from kennyj/fix_rake_test_warningsJosé Valim2011-11-271-1/+1
|\ | | | | Call a block passed rake_tasks method in the self context
| * Call a block passed rake_tasks method in the self contextkennyj2011-11-271-1/+1
| |
* | avoid absolute path for the rails.png in index.htmlkennyj2011-11-271-1/+1
|/
* added tests, replaced classify with constantize - using classify here cuts ↵Jakub Kuźma2011-11-261-1/+1
| | | | the last 's' in ORM name
* allow using orm_instance without invoking orm_class first in generatorsJakub Kuźma2011-11-261-1/+1
|
* Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-257-83/+1
|
* Updating newline fix to maintain existing linebreaks and indentation and ↵John Donahue2011-11-251-3/+4
| | | | test for b/eol on inserts
* 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
|