aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate set_table_name in favour of self.table_name= or defining your own ↵Jon Leighton2011-11-291-2/+2
| | | | method.
* put backtrace_cleaner to envlest2011-11-282-5/+7
|
* 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-272-1/+2
|/
* Merge pull request #3765 from qoobaa/orm-instance-fixJosé Valim2011-11-262-1/+39
|\ | | | | added tests to #3763
| * added tests, replaced classify with constantize - using classify here cuts ↵Jakub Kuźma2011-11-262-1/+39
| | | | | | | | the last 's' in ORM name
* | Merge pull request #3763 from qoobaa/orm-instance-fixJosé Valim2011-11-261-1/+1
|\| | | | | allow using orm_instance without invoking orm_class in generators
| * allow using orm_instance without invoking orm_class first in generatorsJakub Kuźma2011-11-261-1/+1
| |
* | documenting monday and sunday methodsVijay Dev2011-11-261-0/+11
| |
* | Adds Time#sunday methodVijay Dev2011-11-261-0/+1
| |
* | Convert aliases monday and sunday to methodsVijay Dev2011-11-261-3/+6
| | | | | | | | | | | | | | | | A recent change to beginning_of_week and end_of_week added an argument that can be used to specify the week's starting day as a symbol. Now these methods were aliased as monday and sunday respectively which as a consequence of the argument addition, made calls like obj.monday(:sunday) possible. This commit makes them methods on their own.
* | s/end_on_week/end_of_weekVijay Dev2011-11-261-2/+2
| |
* | minor doc changesVijay Dev2011-11-261-1/+1
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-264-12/+16
|\
| * rephrased ef38c3089e1269e2b315aff503e61c0b23c95f00 andVijay Dev2011-11-261-5/+1
| | | | | | | | mentioned about OS X and windows usually having a JS runtime
| * commarpq2011-11-231-1/+1
| |
| * Move JS runtime instructions to where the error would be encountered, remove ↵Michael Pearson2011-11-241-12/+6
| | | | | | | | gem install.
| * Add step to getting_started to install JS Runtime.Michael Pearson2011-11-241-0/+12
| | | | | | | | | | abstrakt on #rubyonrails found that the guide, when followed step by step, does fails at the 'rails server' command due to a lacking JS runtime.
| * Revert "Added links to the 'Rails Initialization Guide', marked as a work in ↵Vijay Dev2011-11-222-5/+0
| | | | | | | | | | | | | | | | | | progress" This reverts commit 6b4939c3fd22924ee3d906f08fe739d848f80a3d. Reason: This guide is still incomplete and is not yet reviewed or ready to go to the index.
| * Minor grammar, typo & readability fixes for beginning of Rails ↵James Dean Shepherd2011-11-201-11/+11
| | | | | | | | Initialization guide
| * Added links to the 'Rails Initialization Guide', marked as a work in progressJames Dean Shepherd2011-11-202-0/+5
| |
| * Add config.active_record.identity_map to the configuration guide.Matt Burke2011-11-181-0/+2
| |
* | finders guide: adds some pointers to help users interpret the output of EXPLAINXavier Noria2011-11-251-0/+11
| |
* | add the query to AR::Relation#explain outputXavier Noria2011-11-251-0/+5
| | | | | | | | | | | | | | Rationale: this is more readable if serveral queries are involved in one call. Also, it will be possible to let AR log EXPLAINs automatically in production mode, where queries are not even around.
* | some tweaks to PR#3547. [Closes #3547]Xavier Noria2011-11-251-1/+3
| |
* | beginning_of_week extended in both Time and Date so that to return week ↵gregolsen2011-11-251-4/+6
| | | | | | | | start based on start day that is monday by default
* | Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-2511-720/+1
| |
* | Updating newline fix to maintain existing linebreaks and indentation and ↵John Donahue2011-11-252-7/+10
| | | | | | | | test for b/eol on inserts
* | Merge pull request #3747 from lest/middleware-loggerJosé Valim2011-11-252-1/+3
|\ \ | | | | | | middlewares should have configurable logger
| * | middlewares should use logger from envlest2011-11-252-1/+3
| | |
* | | 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-253-6/+2
| | |
* | | Merge branch 'serializers'José Valim2011-11-2511-8/+727
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | |
| * | | Add a hook for serializers in the scaffold generator (off for now).José Valim2011-11-253-1/+13
| | | |
| * | | Add generators for serializers.José Valim2011-11-256-0/+142
| | | |
| * | | Remove listings from the serialization guide that won't make 3.2.José Valim2011-11-231-37/+0
| | | |
| * | | Merge branch 'master' into serializersJosé Valim2011-11-2379-2958/+3456
| |\ \ \
| * | | | minor edits in serializers guideVijay Dev2011-10-151-9/+9
| | | | |
| * | | | Initial commit of serializer supportJose and Yehuda2011-10-151-0/+600
| | | | |
* | | | | Added tests for #3751ganesh2011-11-252-2/+2
| |_|/ / |/| | |
* | | | Allow to display engine's routes when running `rake routes ENGINES=true`Piotr Sarnacki2011-11-244-6/+70
| | | |
* | | | Forgot to add CHANGELOG entry for config.railties_orderPiotr Sarnacki2011-11-241-0/+4
| | | |
* | | | Merge pull request #3739 from lest/config-always-write-cookieJosé Valim2011-11-231-0/+47
|\ \ \ \ | | | | | | | | | | configuration option to always write cookie
| * | | | configuration option to always write cookielest2011-11-231-0/+47
| | | | |
* | | | | Allow to change engine's loading priority with config.railties_order=Piotr Sarnacki2011-11-234-4/+173
|/ / / /
* | | | 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