Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change ActiveRecord::Errors to ActiveModel::Errors in guides | Carlos Antonio da Silva | 2012-01-25 | 2 | -8/+8 |
| | | | | | | | 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. | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-01-21 | 2 | -24/+24 |
|\ | |||||
| * | 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) | ||||
| * | Fix indentation in code example of Delegation | Tomasz Zurkowski | 2012-01-20 | 1 | -19/+19 |
| | | |||||
* | | 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 | ||||
* | | pushed broadcasting down to a module | Aaron Patterson | 2012-01-20 | 1 | -46/+34 |
| | | |||||
* | | defined the actual logger signature | Aaron Patterson | 2012-01-20 | 1 | -2/+2 |
| | | |||||
* | | made the broadcast logger quack more like a logger | Aaron Patterson | 2012-01-20 | 1 | -0/+24 |
| | | |||||
* | | 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 | 1 | -0/+23 |
| | | |||||
* | | move tagged logging to a module, stop proxying every method call | Aaron Patterson | 2012-01-19 | 1 | -36/+32 |
| | | |||||
* | | Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code. | kennyj | 2012-01-19 | 1 | -1/+1 |
|/ | |||||
* | Test::Unit::Collector::ObjectSpace is not present anymore | Rafael Mendonça França | 2012-01-18 | 1 | -10/+0 |
| | |||||
* | simplify some TaggedLogging methods | Sergey Nartimov | 2012-01-18 | 1 | -2/+2 |
| | |||||
* | remove unused requires | Sergey Nartimov | 2012-01-18 | 2 | -5/+0 |
| | |||||
* | AS::Callbacks: Refactor :per_key option | Bogdan Gusiev | 2012-01-17 | 1 | -35/+7 |
| | |||||
* | use thread variable in TaggedLogging | Sergey Nartimov | 2012-01-17 | 1 | -3/+2 |
| | | | | previous solution can cause race conditions under GIL-free ruby implementations | ||||
* | Merge pull request #4432 from lest/patch-1 | Santiago Pastorino | 2012-01-12 | 1 | -28/+0 |
|\ | | | | | to_date, to_time, and to_datetime Time methods present in ruby 1.9 | ||||
| * | to_date, to_time, and to_datetime Time methods present in ruby 1.9 | Sergey Nartimov | 2012-01-13 | 1 | -28/+0 |
| | | |||||
* | | warns against using temporary subscribers | Xavier Noria | 2012-01-12 | 1 | -0/+4 |
|/ | |||||
* | deprecates Module#local_constant_names | Xavier Noria | 2012-01-12 | 2 | -4/+14 |
| | |||||
* | fixes in api docs | Vijay Dev | 2012-01-13 | 2 | -3/+3 |
| | |||||
* | AS::Callbacks: remove unused runner | Bogdan Gusiev | 2012-01-12 | 1 | -16/+3 |
| | |||||
* | Symbol#[] method presents in Ruby 1.9 | Sergey Nartimov | 2012-01-07 | 2 | -3/+3 |
| | |||||
* | spec class names can possibly be nil in mt/s < 2.6.1, so work around that | Aaron Patterson | 2012-01-06 | 1 | -0/+6 |
| | |||||
* | Merge pull request #4360 from rafaelfranca/patch-1 | Aaron Patterson | 2012-01-06 | 1 | -7/+7 |
|\ | | | | | Remove more references to Test::Unit | ||||
| * | Whitespaces :scissors: | Rafael Mendonça França | 2012-01-06 | 1 | -7/+7 |
| | | |||||
* | | register spec subclasses for people who spec | Aaron Patterson | 2012-01-06 | 1 | -1/+7 |
| | | |||||
* | | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 1 | -1/+1 |
| | | |||||
* | | backport assert_not_same | Aaron Patterson | 2012-01-06 | 1 | -0/+1 |
| | | |||||
* | | require test/unit and sort test order | Aaron Patterson | 2012-01-06 | 1 | -0/+6 |
| | | |||||
* | | started converting AS::TestCase to minitest | Aaron Patterson | 2012-01-06 | 1 | -2/+12 |
|/ | |||||
* | just mix the run method in for minitest | Aaron Patterson | 2012-01-06 | 1 | -14/+11 |
| | |||||
* | Merge pull request #4358 from castlerock/remove_plus_minus_support_for_ruby18 | Santiago Pastorino | 2012-01-06 | 1 | -23/+0 |
|\ | | | | | revert "fixing some tests on ruby 1.9.3" | ||||
| * | revert "fixing some tests on ruby 1.9.3 SHA 33f222b" | Vishnu Atrai | 2012-01-07 | 1 | -23/+0 |
| | | |||||
* | | Remove more references to Test::Unit | Rafael Mendonça França | 2012-01-06 | 1 | -19/+0 |
|/ | |||||
* | Improve doc consistency | Norman Clarke | 2012-01-06 | 1 | -3/+3 |
| | |||||
* | Implement Chars#swapcase. | Norman Clarke | 2012-01-06 | 2 | -0/+16 |
| | |||||
* | Remove Array.wrap calls in ActiveSupport | Rafael Mendonça França | 2012-01-06 | 6 | -18/+13 |
| | |||||
* | Merge pull request #3637 from bogdan/compile_options | José Valim | 2012-01-05 | 1 | -58/+62 |
|\ | | | | | AS::Callbacks::Callback refactor | ||||
| * | AS::Callbacks::Callback refactor | Bogdan Gusiev | 2011-11-15 | 1 | -58/+62 |
| | | | | | | | | | | | | In order to make Callbacks code always operate on valid peaces of code Concatenated Callback#start and Callback#end method into #apply method. | ||||
* | | Merge pull request #4322 from castlerock/minitest_pending | José Valim | 2012-01-05 | 1 | -33/+1 |
|\ \ | | | | | | | ActiveSupport::Testing::Pending support for MiniTest only | ||||
| * | | ActiveSupport::Testing::Pending support for MiniTest only | Vishnu Atrai | 2012-01-05 | 1 | -33/+1 |
| | | | |||||
* | | | Merge pull request #4332 from norman/multibyte | José Valim | 2012-01-05 | 6 | -239/+60 |
|\ \ \ | | | | | | | | | Putting AS::Multibyte on a Ruby 1.9 diet | ||||
| * | | | Use friendlier method name | Norman Clarke | 2012-01-05 | 1 | -2/+2 |
| | | | | |||||
| * | | | Use friendlier method names for upcasing/downcasing | Norman Clarke | 2012-01-05 | 2 | -12/+20 |
| | | | | |||||
| * | | | Use more descriptive method names | Norman Clarke | 2012-01-05 | 2 | -8/+8 |
| | | | | |||||
| * | | | Move include to top of class for clarity | Norman Clarke | 2012-01-05 | 1 | -2/+1 |
| | | | |