Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #4242 from castlerock/remove_condition_for_MiniTest | Santiago Pastorino | 2011-12-31 | 1 | -9/+3 |
|\ | | | | | MiniTest condition removed | ||||
| * | MiniTest condition removed | Vishnu Atrai | 2011-12-31 | 1 | -9/+3 |
| | | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-12-31 | 3 | -20/+18 |
|\ \ | |||||
| * | | remove wiki link | Vijay Dev | 2011-12-31 | 1 | -1/+0 |
| | | | |||||
| * | | fix a couple of formatting issues | Vijay Dev | 2011-12-31 | 1 | -3/+2 |
| | | | |||||
| * | | Minor readability improvements | Sam Umbach | 2011-12-30 | 1 | -13/+13 |
| | | | |||||
| * | | SCSS processor is provided by the sass gem | Sam Umbach | 2011-12-30 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed documentation error in code examples from form_tag_helper.rb | Alejandro Andrés | 2011-12-30 | 1 | -2/+2 |
| | | | |||||
* | | | removes comment obsoleted by 18ed37b | Xavier Noria | 2011-12-31 | 1 | -3/+0 |
| |/ |/| | |||||
* | | Merge pull request #4241 from castlerock/remove_more_conditions_for_Fiber_ruby19 | José Valim | 2011-12-30 | 2 | -2/+2 |
|\ \ | | | | | | | remove more conditions for Fiber in ruby19 | ||||
| * | | remove more conditions for Fiber available in ruby19 | Vishnu Atrai | 2011-12-31 | 2 | -2/+2 |
| | | | |||||
* | | | Merge pull request #4237 from castlerock/fiber_available_in_ruby19 | Aaron Patterson | 2011-12-30 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | fiber is available in ruby19 condition removed | ||||
| * | | | fiber is available in ruby19 | Vishnu Atrai | 2011-12-31 | 1 | -1/+1 |
| |/ / | |||||
* | | | updating the reaping frequency documentation | Aaron Patterson | 2011-12-30 | 1 | -0/+3 |
| | | | |||||
* | | | rename start to run and use Thread.pass rather than sleeping to schedule the ↵ | Aaron Patterson | 2011-12-30 | 2 | -23/+31 |
| | | | | | | | | | | | | watchdog | ||||
* | | | connection pool starts the reaper | Aaron Patterson | 2011-12-30 | 2 | -0/+17 |
| | | | |||||
* | | | just dup the spec now that it will deep copy | Aaron Patterson | 2011-12-30 | 1 | -2/+1 |
| | | | |||||
* | | | connection specification will deep copy the config | Aaron Patterson | 2011-12-30 | 2 | -0/+16 |
| | | | |||||
* | | | each connection pool has a reaper | Aaron Patterson | 2011-12-30 | 3 | -2/+18 |
| | | | |||||
* | | | introduce a timer class for reaping connections | Aaron Patterson | 2011-12-30 | 2 | -0/+65 |
| | | | |||||
* | | | raise a pull full error when the connection pool is full and no connection ↵ | Aaron Patterson | 2011-12-30 | 2 | -18/+28 |
| | | | | | | | | | | | | can be obtained | ||||
* | | | connections are only removed if they are inactve | Aaron Patterson | 2011-12-30 | 2 | -3/+19 |
| | | | |||||
* | | | connections can be reaped via the `reap` method | Aaron Patterson | 2011-12-30 | 2 | -0/+27 |
| | | | |||||
* | | | deal with removing connections associated with the current thread | Aaron Patterson | 2011-12-30 | 2 | -0/+15 |
| | | | |||||
* | | | connections can be removed from the pool | Aaron Patterson | 2011-12-30 | 2 | -1/+28 |
| | | | |||||
* | | | queue and signal no longer needed | Aaron Patterson | 2011-12-30 | 1 | -2/+0 |
| | | | |||||
* | | | refactor checking out the connection | Aaron Patterson | 2011-12-30 | 1 | -5/+6 |
| | | | |||||
* | | | infinite loop is no longer necessary | Aaron Patterson | 2011-12-30 | 1 | -20/+11 |
| | | | |||||
* | | | connections must be checked in at the end of a thread | Aaron Patterson | 2011-12-30 | 3 | -31/+7 |
|/ / | |||||
* | | Merge pull request #4235 from castlerock/remove_ruby_18_BasicObject | José Valim | 2011-12-30 | 1 | -1/+0 |
|\ \ | | | | | | | ruby 1.8 ActiveSupport BasicObject no longer available | ||||
| * | | ruby 1.8 ActiveSupport BasicObject no longer available | Vishnu Atrai | 2011-12-30 | 1 | -1/+0 |
| | | | |||||
* | | | Merge pull request #4236 from castlerock/to_time_available_in_ruby19_DateTime | José Valim | 2011-12-30 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | remove condition since to_time always available in ruby19 DateTime | ||||
| * | | remove condition since to_time always available in ruby19 DateTime | Vishnu Atrai | 2011-12-31 | 1 | -1/+1 |
|/ / | |||||
* | | be explicit about where helpers are installed | Aaron Patterson | 2011-12-30 | 2 | -2/+2 |
| | | |||||
* | | Merge pull request #4224 from alexeymuranov/my-fix-for-fixture-tables | Aaron Patterson | 2011-12-30 | 8 | -25/+109 |
|\ \ | | | | | | | Fix #2572 and define fixture table name in the associated model | ||||
| * | | Fixes for TestFixtures::setup_fixture_accessors | Alexey Muranov | 2011-12-30 | 1 | -6/+5 |
| | | | | | | | | | | | | | | | | | | Renamed "fixture_name" to "accessor_name" and made fixture names in the form "admin/users" be used as the key for the hashes @fixture_cache and @loaded_fixtures. Previously the variable "fixture_name" here was getting a value of the form "admin_user", and this value was then used as the hash key. | ||||
| * | | Fixture's table name be defined in the model | Alexey Muranov | 2011-12-30 | 1 | -10/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | Made the fixture's table name be taken from its model class whenever this class responds to table_name, instead of inferring it sometimes from the fixture's pass. The previous behavior seemed buggy because it depended on whether the model class was passed as a constant or as a name string. Improved Fixtures#initialize. | ||||
| * | | Test case: fixture table name is defined in model | Alexey Muranov | 2011-12-30 | 1 | -0/+5 |
| | | | |||||
| * | | Use foo/bar instead of foo_bar keys for fixtures | Alexey Muranov | 2011-12-30 | 1 | -12/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This solves an issue with set_fixture_class class method caused by create_fixtures method's overwriting passed to it fixture model classes, when the fixtures are "namespased": foo/bar or admin/users. The idea is to use "foo/bar" string as the name and identifier of a fixture file bar in directory foo. The model class of the fixture is either set with set_fixture_class method, or otherwise inferred from its name using camelize method. Also a bug is fixed in lines 487-489 when the table names were guessed by substitution from the fixture file names, ambiguously called table_names, instead of being taken from fixture attributes. Now they are taken from attributes. I plan to submit another fix so that the fixture's table name (for example foo_bar) be defined by the fixture's model whenever possible, instead of inferring it from the fixture's name ("foo/bar"). | ||||
| * | | Test fixtures with custom model and table names | Alexey Muranov | 2011-12-30 | 7 | -0/+60 |
| | | | | | | | | | | | | | | | | | | Test using fixtures with random names and model names, that is not following naming conventions but using set_fixture_class instead. It is expected that the table name be defined in the model, but this is not explicitly tested here. This will need to be fixed. | ||||
* | | | Merge pull request #4233 from bogdan/remove_define_runner | José Valim | 2011-12-30 | 1 | -16/+3 |
|\ \ \ | | | | | | | | | AS::Callbacks: remove __define_runner | ||||
| * | | | AS::Callbacks: remove __define_runner | Bogdan Gusiev | 2011-12-30 | 1 | -16/+3 |
| |/ / | |||||
* | | | adds a comments that clarifies why Range#include? chooses the comparison ↵ | Xavier Noria | 2011-12-30 | 1 | -0/+1 |
| | | | | | | | | | | | | operator | ||||
* | | | Merge pull request #4229 from lest/range-include | Xavier Noria | 2011-12-30 | 2 | -1/+6 |
|\ \ \ | |/ / |/| | | refactor Range#include? to handle ranges with floats | ||||
| * | | refactor Range#include? to handle ranges with floats | Sergey Nartimov | 2011-12-29 | 2 | -1/+6 |
| | | | |||||
* | | | just add the writer rather than adding both and removing one | Aaron Patterson | 2011-12-29 | 1 | -2/+1 |
| | | | |||||
* | | | stop using __send__ and just module eval in the extensions | Aaron Patterson | 2011-12-29 | 1 | -3/+2 |
| | | | |||||
* | | | we know the classes will be a list, so *tell* it to respond to each | Aaron Patterson | 2011-12-29 | 1 | -3/+3 |
| | | | | | | | | | | | | rather than casting | ||||
* | | | don't need the begin / end | Aaron Patterson | 2011-12-29 | 1 | -21/+17 |
| | | | |||||
* | | | avoid extra method calls by just defining the delegate | Aaron Patterson | 2011-12-29 | 1 | -2/+3 |
| | | |