aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change ActiveRecord::Errors to ActiveModel::Errors in guidesCarlos Antonio da Silva2012-01-256-14/+14
| | | | | | | Use ActiveModel::Errors in inflection example docs as well. Also fixes wrong information and link to locale file related to Errors#full_messages in I18n guide.
* Fix custom validation methods section in AR validations and callbacks guideCarlos Antonio da Silva2012-01-251-2/+14
| | | | | | The methods validate_on_create and validate_on_update are not available anymore in Rails, this removes them from the guide and adds an example on how to use validate with the :on option.
* remove extra 'the'Rohit Arondekar2012-01-251-1/+1
|
* Added Apache configuration for dynamic gzip contentleprasmurf2012-01-231-1/+24
|
* use CamelCase convention for "tag" model nameciastek2012-01-231-1/+1
|
* example bracket errorDamian Le Nouaille2012-01-231-1/+1
|
* "will be used throughout all the views for posts." could suggest, that ↵ciastek2012-01-231-1/+1
| | | | code's modification is somehow related to posts, while it's application-wide
* Documented the :use_two_digit_numbers optionLennart Fridén2012-01-221-0/+24
|
* Fixed typo in 'cast'.Aleksey Gureiev2012-01-211-1/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-213-24/+27
|\
| * Revert "Fixed typo in 'cast'."Vijay Dev2012-01-212-6/+6
| | | | | | | | | | | | This reverts commit ecac7c96451ee8d85ca602c9ce3416a5e7ef6a03. Reason: Changelogs are not meant to be changed from docrails.
| * Why do we even need a constant here? A variable is fine.Semyon Perepelitsa2012-01-211-4/+4
| |
| * TaggedLogging wraps an object, not a class.Semyon Perepelitsa2012-01-211-1/+1
| |
| * Do not use the same Logger constant for class (from stdlib) and for instance ↵Semyon Perepelitsa2012-01-211-4/+4
| | | | | | | | (from the example)
| * Fixed typo in 'cast'.Aleksey Gureiev2012-01-202-6/+6
| |
| * Merge pull request #78 from trotter/fix-rails-engine-docsBenjamin Manns2012-01-201-1/+1
| |\ | | | | | | Fix documentation bug in Rails::Engine
| | * Fix documentation bug in Rails::EngineTrotter Cashion2012-01-191-1/+1
| | |
| * | document `:raise` option support for several helpers [ci skip]Jonathan Roes2012-01-201-0/+3
| | |
| * | Merge pull request #79 from doriath/masterXavier Noria2012-01-201-19/+19
| |\ \ | | |/ | |/| Fix indentation in comment of Delegation module
| | * Fix indentation in code example of DelegationTomasz Zurkowski2012-01-201-19/+19
| |/
* | Merge pull request #4573 from amatsuda/ar_default_timezone_utcJosé Valim2012-01-212-5/+5
|\ \ | | | | | | change AR default_timezone to :utc since it's the default for AR::Railtie
| * | change AR default_timezone to :utc since it's the default for AR::RailtieAkira Matsuda2012-01-212-5/+5
| | |
* | | Merge pull request #4572 from semaperepelitsa/noregexpJosé Valim2012-01-211-2/+3
|\ \ \ | |/ / |/| | Replace regexp matching with a simple string manipulation.
| * | Replace regexp matching with a simple string manipulation.Semyon Perepelitsa2012-01-211-2/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using regexp looks like overkill here and is also 2x slower. user system total real string 0.020000 0.000000 0.020000 ( 0.016256) regexp 0.030000 0.000000 0.030000 ( 0.035360) require "benchmark" names = ("a".."z").map { |c| c + "a" * rand(5..10) + "=" * rand(0..1) }.map(&:to_sym) puts names n = 1000 Benchmark.bmbm do |x| x.report "string" do n.times do names.each do |name| string_name = name.to_s string_name.chomp!('=') string_name end end end x.report "regexp" do n.times do names.each do |name| name.to_s =~ /(.*)=$/ $1 end end end end
* | Merge pull request #4560 from rafaelfranca/av-number_helper-refactorJosé Valim2012-01-201-52/+34
|\ \ | | | | | | Refactor NumberHelpers
| * | Refactor translations retrievalRafael Mendonça França2012-01-201-18/+15
| | |
| * | Remove code duplicationRafael Mendonça França2012-01-201-34/+19
| | |
* | | stop splatting so much. We don't need :star:args everywhereAaron Patterson2012-01-201-7/+6
| | |
* | | broadcasting to the console and remove file tailing middlewareAaron Patterson2012-01-201-1/+7
| | |
* | | pushed broadcasting down to a moduleAaron Patterson2012-01-203-49/+41
| | |
* | | defined the actual logger signatureAaron Patterson2012-01-201-2/+2
| | |
* | | restored logging to the log file and display on the consoleAaron Patterson2012-01-201-1/+3
| | |
* | | fixed test for more informative messageAaron Patterson2012-01-201-2/+2
| | |
* | | made the broadcast logger quack more like a loggerAaron Patterson2012-01-202-15/+59
| | |
* | | added the backtrace so errors can be foundAaron Patterson2012-01-201-1/+1
| | |
* | | add a broadcasting logger so we can split logsAaron Patterson2012-01-202-0/+80
|/ /
* | Fix another race condition.Jon Leighton2012-01-203-3/+11
| | | | | | | | | | | | From 2c667f69aa2daac5ee6c29ca9679616e2a71532a. Thanks @pwnall for the heads-up.
* | Merge pull request #4528 from j-manu/log-tailer-fixAaron Patterson2012-01-201-3/+7
|\ \ | | | | | | Fix for log tailer when the log file doesn't exist.
| * | Fix for log tailer when the log file doesn't exist.Manu J2012-01-201-3/+7
| | |
* | | Merge pull request #4556 from brainopia/remove_old_cruftAaron Patterson2012-01-206-11/+10
|\ \ \ | | | | | | | | Removed unused assigns from ActionView::Template::Error
| * | | Removed unused assigns from ActionView::Template::Errorbrainopia2012-01-206-11/+10
| | | | | | | | | | | | | | | | | | | | They existed since initial rails commit by DHH but lost use a long time ago
* | | | Merge pull request #4557 from rafaelfranca/av-number_helper-refactorJosé Valim2012-01-202-2/+3
|\ \ \ \ | | | | | | | | | | No need to check html_safe? twice at number_to_percentage
| * | | | No need to check html_safe? twiceRafael Mendonça França2012-01-202-2/+3
| |/ / /
* / / / Revert "just use an alias. The target method is public, so make this one ↵Aaron Patterson2012-01-201-1/+4
|/ / / | | | | | | | | | | | | | | | public" This reverts commit be7d2248e9505983d1aacf0b33c657e6e3ddd9db.
* | | Merge pull request #4555 from kennyj/mail_bumpJosé Valim2012-01-201-1/+1
|\ \ \ | | | | | | | | Bump mail 2.4.1
| * | | Bump mailkennyj2012-01-201-1/+1
|/ / /
* | | Merge pull request #4554 from rodrigoflores/masterJosé Valim2012-01-203-2/+11
|\ \ \ | | | | | | | | Added the :format option to number_to_percentage
| * | | Added format to percentageRodrigo Flores2012-01-203-2/+11
| | | |
* | | | Merge pull request #4545 from trotter/fix-documentation-bugVijay Dev2012-01-201-1/+1
|\ \ \ \ | |/ / / |/| | | Fix documentation bug in Rails::Engine
| * | | Fix documentation bug in Rails::EngineTrotter Cashion2012-01-191-1/+1
| | | |