Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Added Apache configuration for dynamic gzip content" | Vijay Dev | 2012-01-25 | 1 | -24/+1 |
| | | | | | | | | | This reverts commit fce92fd8a7e407b034d189a652af81a06ac98730. Reason: We want any config that goes into the guides to be 100% right and I'm not entirely sure that this one is it. We already had a similar config that was removed in https://github.com/rails/rails/commit/b1c20e37eccdfab7bb94d34f249c5e49256b9980 | ||||
* | minor text change [ci skip] | Vijay Dev | 2012-01-25 | 1 | -1/+1 |
| | |||||
* | Fix translate_error reference for Error#add documentation | Jonathan del Strother | 2012-01-25 | 1 | -1/+1 |
| | |||||
* | Fix callbacks order for destroying an object in validations guide | Carlos Antonio da Silva | 2012-01-25 | 1 | -2/+4 |
| | | | | | Also add around save to creating/updating callbacks order, and fix save example with no validation | ||||
* | Improve field error proc example in validations guide | Carlos Antonio da Silva | 2012-01-25 | 1 | -7/+2 |
| | |||||
* | Change ActiveRecord::Errors to ActiveModel::Errors in guides | Carlos Antonio da Silva | 2012-01-25 | 6 | -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 guide | Carlos Antonio da Silva | 2012-01-25 | 1 | -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 Arondekar | 2012-01-25 | 1 | -1/+1 |
| | |||||
* | Added Apache configuration for dynamic gzip content | leprasmurf | 2012-01-23 | 1 | -1/+24 |
| | |||||
* | use CamelCase convention for "tag" model name | ciastek | 2012-01-23 | 1 | -1/+1 |
| | |||||
* | example bracket error | Damian Le Nouaille | 2012-01-23 | 1 | -1/+1 |
| | |||||
* | "will be used throughout all the views for posts." could suggest, that ↵ | ciastek | 2012-01-23 | 1 | -1/+1 |
| | | | | code's modification is somehow related to posts, while it's application-wide | ||||
* | Documented the :use_two_digit_numbers option | Lennart Fridén | 2012-01-22 | 1 | -0/+24 |
| | |||||
* | Fixed typo in 'cast'. | Aleksey Gureiev | 2012-01-21 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-01-21 | 3 | -24/+27 |
|\ | |||||
| * | Revert "Fixed typo in 'cast'." | Vijay Dev | 2012-01-21 | 2 | -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 Perepelitsa | 2012-01-21 | 1 | -4/+4 |
| | | |||||
| * | TaggedLogging wraps an object, not a class. | Semyon Perepelitsa | 2012-01-21 | 1 | -1/+1 |
| | | |||||
| * | Do not use the same Logger constant for class (from stdlib) and for instance ↵ | Semyon Perepelitsa | 2012-01-21 | 1 | -4/+4 |
| | | | | | | | | (from the example) | ||||
| * | Fixed typo in 'cast'. | Aleksey Gureiev | 2012-01-20 | 2 | -6/+6 |
| | | |||||
| * | Merge pull request #78 from trotter/fix-rails-engine-docs | Benjamin Manns | 2012-01-20 | 1 | -1/+1 |
| |\ | | | | | | | Fix documentation bug in Rails::Engine | ||||
| | * | Fix documentation bug in Rails::Engine | Trotter Cashion | 2012-01-19 | 1 | -1/+1 |
| | | | |||||
| * | | document `:raise` option support for several helpers [ci skip] | Jonathan Roes | 2012-01-20 | 1 | -0/+3 |
| | | | |||||
| * | | Merge pull request #79 from doriath/master | Xavier Noria | 2012-01-20 | 1 | -19/+19 |
| |\ \ | | |/ | |/| | Fix indentation in comment of Delegation module | ||||
| | * | Fix indentation in code example of Delegation | Tomasz Zurkowski | 2012-01-20 | 1 | -19/+19 |
| |/ | |||||
* | | Merge pull request #4573 from amatsuda/ar_default_timezone_utc | José Valim | 2012-01-21 | 2 | -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::Railtie | Akira Matsuda | 2012-01-21 | 2 | -5/+5 |
| | | | |||||
* | | | Merge pull request #4572 from semaperepelitsa/noregexp | José Valim | 2012-01-21 | 1 | -2/+3 |
|\ \ \ | |/ / |/| | | Replace regexp matching with a simple string manipulation. | ||||
| * | | Replace regexp matching with a simple string manipulation. | Semyon Perepelitsa | 2012-01-21 | 1 | -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-refactor | José Valim | 2012-01-20 | 1 | -52/+34 |
|\ \ | | | | | | | Refactor NumberHelpers | ||||
| * | | Refactor translations retrieval | Rafael Mendonça França | 2012-01-20 | 1 | -18/+15 |
| | | | |||||
| * | | Remove code duplication | Rafael Mendonça França | 2012-01-20 | 1 | -34/+19 |
| | | | |||||
* | | | stop splatting so much. We don't need :star:args everywhere | Aaron Patterson | 2012-01-20 | 1 | -7/+6 |
| | | | |||||
* | | | broadcasting to the console and remove file tailing middleware | Aaron Patterson | 2012-01-20 | 1 | -1/+7 |
| | | | |||||
* | | | pushed broadcasting down to a module | Aaron Patterson | 2012-01-20 | 3 | -49/+41 |
| | | | |||||
* | | | defined the actual logger signature | Aaron Patterson | 2012-01-20 | 1 | -2/+2 |
| | | | |||||
* | | | restored logging to the log file and display on the console | Aaron Patterson | 2012-01-20 | 1 | -1/+3 |
| | | | |||||
* | | | fixed test for more informative message | Aaron Patterson | 2012-01-20 | 1 | -2/+2 |
| | | | |||||
* | | | made the broadcast logger quack more like a logger | Aaron Patterson | 2012-01-20 | 2 | -15/+59 |
| | | | |||||
* | | | added the backtrace so errors can be found | Aaron Patterson | 2012-01-20 | 1 | -1/+1 |
| | | | |||||
* | | | add a broadcasting logger so we can split logs | Aaron Patterson | 2012-01-20 | 2 | -0/+80 |
|/ / | |||||
* | | Fix another race condition. | Jon Leighton | 2012-01-20 | 3 | -3/+11 |
| | | | | | | | | | | | | From 2c667f69aa2daac5ee6c29ca9679616e2a71532a. Thanks @pwnall for the heads-up. | ||||
* | | Merge pull request #4528 from j-manu/log-tailer-fix | Aaron Patterson | 2012-01-20 | 1 | -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 J | 2012-01-20 | 1 | -3/+7 |
| | | | |||||
* | | | Merge pull request #4556 from brainopia/remove_old_cruft | Aaron Patterson | 2012-01-20 | 6 | -11/+10 |
|\ \ \ | | | | | | | | | Removed unused assigns from ActionView::Template::Error | ||||
| * | | | Removed unused assigns from ActionView::Template::Error | brainopia | 2012-01-20 | 6 | -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-refactor | José Valim | 2012-01-20 | 2 | -2/+3 |
|\ \ \ \ | | | | | | | | | | | No need to check html_safe? twice at number_to_percentage | ||||
| * | | | | No need to check html_safe? twice | Rafael Mendonça França | 2012-01-20 | 2 | -2/+3 |
| |/ / / | |||||
* / / / | Revert "just use an alias. The target method is public, so make this one ↵ | Aaron Patterson | 2012-01-20 | 1 | -1/+4 |
|/ / / | | | | | | | | | | | | | | | | public" This reverts commit be7d2248e9505983d1aacf0b33c657e6e3ddd9db. | ||||
* | | | Merge pull request #4555 from kennyj/mail_bump | José Valim | 2012-01-20 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Bump mail 2.4.1 |