aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4878 from vijaydev/ordinal-2072Xavier Noria2012-02-071-1/+16
|\ | | | | PR #2072 with docs
| * Document Integer#ordinal available in PR #2072.Vijay Dev2012-02-041-1/+16
| | | | | | | | Also remove an unasserted line in the tests.
* | always flush all logs. fixes #4277Aaron Patterson2012-02-071-1/+1
| |
* | Fix that failed tests should exit with a nonzero error code.Jeremy Kemper2012-02-072-31/+17
| | | | | | | | | | | | Partially reverts 14c89e7285d4e7cd40a542fbc31d9345f60c3aa4. Hat tip to @tenderlove for paring down the TestTask!
* | Display annotations from .coffee files in `rake notes`Bartlomiej Kozal2012-02-052-12/+14
| |
* | Add *_url helpers to get the full assets URLPrem Sichanugrist2012-02-041-0/+24
|/ | | | | | | Adds `image_url`, `javascript_url`, `stylesheet_url`, `audio_url`, `video_url`, and `font_url` to assets tag helper. These URL helpers will return the full path to your assets. This is useful when you are going to reference this asset from external host.
* make the ONLY env variable used in guides generation work with kindle guidesVijay Dev2012-02-041-1/+1
|
* mention how to generate guides for the Kindle [ci skip]Vijay Dev2012-02-041-2/+14
|
* document config.active_record.dependent_restrict_raises in the configuring ↵Vijay Dev2012-02-041-0/+2
| | | | guide [ci skip]
* Add convenience method to hide a generator from the available onesCarlos Antonio da Silva2012-02-034-1/+25
| | | | | | 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.
* Remove default class to collection_check_boxes andRafael Mendonça França2012-02-021-6/+6
| | | | | | collection_radio_buttons [Carlos Antonio da Silva + Rafael Mendonça França]
* Add changelog, docs and guides entriesCarlos Antonio da Silva2012-02-021-0/+73
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Use https://rubygems.org source for default GemfileGuillermo Iguaran2012-02-011-1/+1
| | | | See https://github.com/rails/rails/pull/4684#commitcomment-920313
* Remove the dependent_restrict_raises configuration if activerecord isRafael Mendonça França2012-02-012-2/+1
| | | | not preset
* document the AR none method [ci skip]Vijay Dev2012-02-011-0/+24
|
* Merge pull request #4825 from sikachu/master-fix-plugin-newJosé Valim2012-02-011-1/+1
|\ | | | | Fix broken test introduced from #4814
| * Fix broken test introduced from #4814Prem Sichanugrist2012-02-011-1/+1
| | | | | | | | | | | | * ruby_debugger_gemfile_entry was removed from the generator. Please make sure to run `grep` or `ack` to make sure it was removed in every places.
* | Fix GH #4737. Missing helper file (LoadError) in mountable plugin.kennyj2012-02-022-8/+11
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-014-14/+11
|\
| * fixes the plus sign properly [ci skip]Vijay Dev2012-02-011-1/+1
| |
| * Revert "fixing text to match what is being displayed"Vijay Dev2012-02-011-1/+1
| | | | | | | | | | | | This reverts commit 5be94cedce3f80923661a2f1fee02c9bfc2e95b2. Reason: This commit is incorrect.
| * escape plus sign in "Rails 2.3+" to fix markupdaniely2012-02-011-1/+1
| |
| * Improve readonly examples and optimistic locking docsCarlos Antonio da Silva2012-01-311-5/+5
| | | | | | | | | | | | | | | | | | * Relation#order can receive order attributes as different arguments, add example; * Readonly does not handle deletion of records, only modification; * locking_version column does not need to default to 0, Rails handles nil values; * Change references from "set_locking_column" to "self.locking_column".
| * Improve ar associations habtm docs a bitCarlos Antonio da Silva2012-01-311-5/+2
| |
| * Merge branch 'master' of github.com:lifo/docrailsPatrick Davey2012-01-311-1/+1
| |\
| | * Fixed typo. "from" should be "form".Ying Tsen Hong2012-01-301-1/+1
| | |
| * | fixing text to match what is being displayedPatrick Davey2012-01-311-1/+1
| |/
| * Improve active record associations guide a bitCarlos Antonio da Silva2012-01-281-2/+2
| | | | | | | | | | * Use right example for has_many :find method; * Reword has_many :counter_sql doc notes.
* | Remove ruby_debugger_gemfile_entry from app_base, we can just put ↵Guillermo Iguaran2012-02-012-5/+1
| | | | | | | | ruby-debug19 commented directly in Gemfile
* | Don't run bundle install when passed with --pretend optionkennyj2012-02-012-1/+6
| |
* | Only add ActiveRecord configuration if it is presentRafael Mendonça França2012-01-312-1/+2
| |
* | Merge pull request #4727 from railsaholic/dependent_restrict_should_add_errorJon Leighton2012-01-312-0/+10
|\ \ | | | | | | has_many/has_one, :dependent => :restrict, deprecation added
| * | has_many/has_one, :dependent => :restrict, deprecation added.Manoj2012-01-292-0/+10
| | |
* | | fix assets testSergey Nartimov2012-01-311-1/+1
| | |
* | | Fix failing test from [7619bcf2]Prem Sichanugrist2012-01-301-1/+1
| | |
* | | rewrites a couple of alternations in regexps as character classesXavier Noria2012-01-301-1/+1
| | | | | | | | | | | | | | | Character classes are the specific regexp construct to express alternation of individual characters.
* | | Fixes #4764 - remove generated new line in routes.rb on scaffold generationVijay Dev2012-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | As explained in #4764, when destroying a scaffold, routes.rb loses a new line. This seems to happen because a new line is added while generating the route and the destroy generator removes it. However, this causes a problem if the routes file is manually edited to remove such new lines. This commit just removes that extra new line from added in the first place.
* | | Used block to make sure file get auto closed after useRahul P. Chaudhari2012-01-301-14/+16
| | |
* | | remove ruby 1.8 support codeSergey Nartimov2012-01-291-6/+2
| | |
* | | Replaced all 'for' loops with Enumerable#eachNathan Broadbent2012-01-301-1/+1
|/ /
* | Reverted build_original_fullpath method, as per discussion at ↵Nathan Broadbent2012-01-281-1/+9
| | | | | | | | https://github.com/rails/rails/pull/4470/files#r393461
* | Merge pull request #4726 from rafaelfranca/create_join_tableAaron Patterson2012-01-271-0/+30
|\ \ | | | | | | Add create_join_table migration helper to create HABTM join tables
| * | Add `create_join_table` migration helper to create HABTM join tablesRafael Mendonça França2012-01-271-0/+30
| | |
* | | fix a small typo [ci skip]Vijay Dev2012-01-271-1/+1
|/ /
* | Remove redundant instance_variables (@colorize_logging)kennyj2012-01-272-2/+6
| |
* | Disagree with @spastorino, @jonleighton, @tenderlove on ↵Jeremy Kemper2012-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | 51ccb7f59c83120bf6869f1febfebaec44bcface Same-level method visibility disappears into the syntax. Indent (and outdent) emphasize the state change that accompanies the declaration. All methods following 'private' are private: that's a natural hierarchy worthy of visual reinforcement. Outdent, represent! :trollface:
* | Revert "Merge pull request #4690 from jdutil/filter_password_confirmation"José Valim2012-01-261-1/+1
| | | | | | | | | | This reverts commit eafa1c429835e099897a0da90bc39d9dbbb7ed4e, reversing changes made to f251437415f7b803f7a84118fcc970a111ace266.
* | Merge pull request #4690 from jdutil/filter_password_confirmationJosé Valim2012-01-261-1/+1
|\ \ | | | | | | Add :password_confirmation as a filtered param by default.
| * | Add :password_confirmation as a filtered param by default.Jeff Dutil2012-01-261-1/+1
| | |
* | | disable automatic explain if there is no logger [closes #4671]Xavier Noria2012-01-261-0/+3
|/ /