aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Refactor Rails::Console to make it easier to test and add tests for itPiotr Sarnacki2012-02-162-25/+130
|
* Allow to set custom console type with Rails.application.config.console=Piotr Sarnacki2012-02-164-3/+27
| | | | | | | | | | | | | 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.
* Remove console --irb deprecation noticePiotr Sarnacki2012-02-161-1/+0
|
* CSS fix for guides. Closing #5028 [ci skip]Vijay Dev2012-02-151-1/+1
| | | | | | | In Ubuntu Chrome, in the last lines of code blocks, the underscore isn't visible. Increasing the line height slightly seems to fix this. This problem doesn't exist in Firefox even on Ubuntu. Too lazy to test in any other OS-browser combo :)
* "Or" was not meaningful anymore, per dad7fdc5734a3813246f238ac5760b2076932216Philip Arndt2012-02-151-1/+1
|
* remove unnecessary require core_ext/string/encodingSergey Nartimov2012-02-141-1/+0
|
* Add HTML5 input[type="date"] helperOlek Janiszewski2012-02-121-3/+5
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-093-16/+9
|\ | | | | | | | | Conflicts: activerecord/lib/active_record/relation/query_methods.rb
| * Clean up some wording.Ben Orenstein2012-02-081-2/+2
| |
| * Fix typo.Ben Orenstein2012-02-081-1/+1
| |
| * Stop referring to Atom as "ATOM"Tom Stuart2012-02-052-3/+3
| | | | | | | | | | | | $ curl -s http://www.ietf.org/rfc/rfc4287 | grep -io ATOM | sort | uniq -c 582 atom 175 Atom
| * Update fixtures testing helpAmro Mousa2012-02-051-11/+4
| |
* | Replaced OrderedHash with Hash for ruby 1.9 seriesUddhava2012-02-091-2/+1
| |
* | 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.