Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use IM when trying to load records using ID. | Emilio Tagua | 2011-04-04 | 6 | -9/+29 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-04-03 | 3 | -3/+44 | |
|\ | ||||||
| * | s/ERb/ERB/g | Akira Matsuda | 2011-04-03 | 1 | -3/+3 | |
| | | | | | | | | | | The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib. http://www2a.biglobe.ne.jp/~seki/ruby/erb.html | |||||
| * | Symbol to proc is preferred over longer form of map | Ryan Bigg | 2011-03-31 | 1 | -1/+1 | |
| | | ||||||
| * | Cleanup of named_scope documentation | Ryan Bigg | 2011-03-31 | 1 | -8/+9 | |
| | | ||||||
| * | Fix typo in named_scope documentation | Ryan Bigg | 2011-03-31 | 1 | -1/+1 | |
| | | ||||||
| * | add space to conform with style | Eadz | 2011-03-31 | 1 | -1/+1 | |
| | | ||||||
| * | Documented undocumented feature: Class methods on your model are ↵ | Eadz | 2011-03-31 | 1 | -0/+22 | |
| | | | | | | | | automatically available on scopes | |||||
| * | Added back the Callback debugging section by interrogating the _*_callbacks ↵ | ozzyaaron | 2011-03-29 | 1 | -0/+18 | |
| | | | | | | | | method | |||||
* | | Gem::Specification#has_rdoc= is deprecated since rubygems 1.7.0 | Santiago Pastorino | 2011-04-02 | 1 | -1/+0 | |
| | | ||||||
* | | TableAlias leg ordering has changed, so change accordingly | Aaron Patterson | 2011-03-30 | 1 | -1/+1 | |
| | | ||||||
* | | test against AR class rather than the relation (thanks Andrew White!) | Aaron Patterson | 2011-03-29 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch 'master' into zomg | Aaron Patterson | 2011-03-29 | 35 | -70/+456 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (51 commits) order is not guaranteed by this select, so add an order and call first! oracle stores this with microseconds, so convert to seconds before comparing make sure that active connections are not cleared during test when an exception happens clearing active connections in the ConnectionManagement middleware if an exception happens proxy body responses so we close database connections after body is flushed Pass the proper method_name instead of hardcoding to action_name. Quote find_in_batches ORDER BY clause [#6620 state:resolved] Delegate first!, last!, any? and many? to scoped Dont call authenticate_or_request_with_http_basic twice Remove 'warning: ambiguous first argument' when running ActionPack tests Change exists? so that it doesn't instantiate records [#6127 state:resolved] Move mapper_test to the appropriate location Update the wildcard route to be non-greedy by default, therefore be able to match the (.:format) segment [#6605 state:resolved] Fix examples Added Base.http_basic_authenticate_with to do simple http basic authentication with a single class method call [DHH] make sure we have an active database connection before running each connection management test adding active_connections? to the connection pool for finding open connections adding active_connection? to the connection pool testing app delegation from the ConnectionManagement middleware namespacing connection management tests. :heart: ... | |||||
| * | | order is not guaranteed by this select, so add an order and call first! | Aaron Patterson | 2011-03-29 | 1 | -1/+1 | |
| | | | ||||||
| * | | oracle stores this with microseconds, so convert to seconds before comparing | Aaron Patterson | 2011-03-29 | 1 | -1/+1 | |
| | | | ||||||
| * | | make sure that active connections are not cleared during test when an ↵ | Aaron Patterson | 2011-03-29 | 2 | -2/+12 | |
| | | | | | | | | | | | | exception happens | |||||
| * | | clearing active connections in the ConnectionManagement middleware if an ↵ | Aaron Patterson | 2011-03-29 | 2 | -0/+10 | |
| | | | | | | | | | | | | exception happens | |||||
| * | | proxy body responses so we close database connections after body is flushed | Aaron Patterson | 2011-03-29 | 3 | -9/+49 | |
| | | | ||||||
| * | | Quote find_in_batches ORDER BY clause [#6620 state:resolved] | Andrew White | 2011-03-29 | 5 | -3/+33 | |
| | | | ||||||
| * | | Delegate first!, last!, any? and many? to scoped | Andrew White | 2011-03-29 | 3 | -2/+34 | |
| | | | ||||||
| * | | Change exists? so that it doesn't instantiate records [#6127 state:resolved] | Andrew White | 2011-03-29 | 2 | -4/+15 | |
| | | | ||||||
| * | | make sure we have an active database connection before running each ↵ | Aaron Patterson | 2011-03-28 | 2 | -5/+10 | |
| | | | | | | | | | | | | connection management test | |||||
| * | | adding active_connections? to the connection pool for finding open connections | Aaron Patterson | 2011-03-28 | 2 | -0/+39 | |
| | | | ||||||
| * | | adding active_connection? to the connection pool | Aaron Patterson | 2011-03-28 | 2 | -0/+14 | |
| | | | ||||||
| * | | testing app delegation from the ConnectionManagement middleware | Aaron Patterson | 2011-03-28 | 1 | -3/+20 | |
| | | | ||||||
| * | | namespacing connection management tests. :heart: | Aaron Patterson | 2011-03-28 | 1 | -18/+22 | |
| | | | ||||||
| * | | sql logger ignores schema statements | Aaron Patterson | 2011-03-28 | 3 | -2/+32 | |
| | | | ||||||
| * | | Bring #reorder back | Sebastian Martinez | 2011-03-28 | 4 | -3/+13 | |
| | | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | | Added new #update_column method. | Sebastian Martinez | 2011-03-27 | 14 | -21/+132 | |
| | | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | | Revert "Removed #update_attribute method. New #update_column method." | Sebastian Martinez | 2011-03-27 | 13 | -78/+80 | |
| |/ | | | | | | | | | | | This reverts commit 45c233ef819dc7b67e259dd73f24721fec28b8c8. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | cleaning up typecast test a little | Aaron Patterson | 2011-03-26 | 1 | -6/+8 | |
| | | ||||||
| * | refactoring tz to a variable rather than repeating it | Aaron Patterson | 2011-03-26 | 1 | -2/+4 | |
| | | ||||||
| * | adding a test for attributes after type cast. thanks nragaz. :heart: | Aaron Patterson | 2011-03-26 | 1 | -0/+17 | |
| | | ||||||
| * | Removed #update_attribute method. New #update_column method. | Sebastian Martinez | 2011-03-26 | 13 | -80/+78 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | removes unnecessary selfs, and mentions that first! and last! take no ↵ | Xavier Noria | 2011-03-26 | 1 | -4/+6 | |
| | | | | | | | | arguments in their API docs | |||||
| * | No arguments for first! and last! | Pratik Naik | 2011-03-25 | 1 | -4/+4 | |
| | | ||||||
| * | comment typo fix | Josh Susser | 2011-03-25 | 1 | -2/+2 | |
| | | ||||||
| * | fixing whitespace errors. :bomb: | Aaron Patterson | 2011-03-25 | 1 | -2/+2 | |
| | | ||||||
* | | Use Arel to build subquery. Adapt tests to changed fixtures. | John Mileham | 2011-03-24 | 2 | -16/+15 | |
| | | ||||||
* | | Merge branch 'master' of github.com:rails/rails into count_behavior | John Mileham | 2011-03-24 | 97 | -612/+1890 | |
|\| | ||||||
| * | add #first! and #last! to models & relations | Josh Susser | 2011-03-24 | 2 | -0/+34 | |
| | | ||||||
| * | Fix before_type_cast for timezone aware attributes by caching converted ↵ | Adam Meehan | 2011-03-23 | 2 | -19/+16 | |
| | | | | | | | | value on write. Also remove read method reload arg on timezone attributes. | |||||
| * | Make clearing of HABTM join table contents happen in an after_destory callback. | Murray Steele | 2011-03-23 | 1 | -12/+12 | |
| | | | | | | | | The old method of redefining destroy meant that clearing the HABTM join table would happen as long as the call to destroy succeeded. Which meant if there was a before_destroy that stopped the instance being destroyed using normal means (returning false, raising ActiveRecord::Rollback) rather than exceptional means the join table would be cleared even though the instance wasn't destroyed. Doing it in an after_destroy hook avoids this and has the advantage of happening inside the DB transaction too. | |||||
| * | Failing test case to show that habtm join table contents are removed when a ↵ | Murray Steele | 2011-03-23 | 1 | -0/+34 | |
| | | | | | | | | model is destroyed but the destruction is blocked by a before_destroy. | |||||
| * | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-03-23 | 2 | -4/+2 | |
| |\ | ||||||
| | * | remove bank line | Paco Guzman | 2011-03-18 | 1 | -1/+0 | |
| | | | ||||||
| | * | Remove incorrect comment that a default value of NULL cannot be set with ↵ | Manuel Meurer | 2011-03-16 | 1 | -3/+2 | |
| | | | | | | | | | | | | change_column_default. | |||||
| * | | use class_eval with a string when it's possible | Santiago Pastorino | 2011-03-22 | 2 | -5/+13 | |
| | | | ||||||
| * | | Allow to read and write AR attributes with non valid identifiers | Santiago Pastorino | 2011-03-22 | 4 | -2/+22 | |
| | | | ||||||
| * | | Do not in place modify what table_name returns | Santiago Pastorino | 2011-03-22 | 1 | -1/+1 | |
| | | |