José Valim
|
92661b0c50
|
Move sandbox to AR and pass the sandbox as a value. This way, other ORMs like Datamapper can also have their own sandboxing in rails console.
|
2011-05-04 16:47:35 +02:00 |
|
José Valim
|
b9bba555ca
|
Remove defined?(ActiveRecord) and use the railtie hook instead.
|
2011-05-04 16:32:24 +02:00 |
|
Xavier Noria
|
cea3b3cc9d
|
Merge branch 'master' of git://github.com/lifo/docrails
|
2011-05-04 14:51:04 +02:00 |
|
Sebastian Martinez
|
24586edae2
|
Remove extra whitespaces
|
2011-05-03 21:38:19 -03:00 |
|
Sebastian Martinez
|
0ee2513356
|
Improves Mysql2 adapter docs
|
2011-05-03 21:26:02 -03:00 |
|
Sebastian Martinez
|
fab9bb77bf
|
Added #recreate_database docs
|
2011-05-03 21:25:38 -03:00 |
|
Sebastian Martinez
|
f049062497
|
Fixes on schema_definitions docs
|
2011-05-03 21:11:17 -03:00 |
|
Josh Kalderimis
|
323b7585e1
|
added the mysql schema test to mysql2 adapter, and fixed the corresponding failures
|
2011-05-03 21:15:10 +02:00 |
|
Aaron Patterson
|
cb9557c432
|
make sure IM repository is cleared after body is closed
|
2011-05-03 09:59:22 -07:00 |
|
Aaron Patterson
|
d0719c5938
|
proxying the body in the IM middleware so that IM is available for streaming ERb
|
2011-05-03 09:59:22 -07:00 |
|
Aaron Patterson
|
3f897c1a4c
|
adding a test case for the identity map middleware
|
2011-05-03 09:59:21 -07:00 |
|
Sebastian Martinez
|
d53c2e4952
|
fixed-fonts on SchemaDefinitions
|
2011-05-02 20:30:31 -03:00 |
|
Josh Kalderimis
|
b5824a4d04
|
favor collect over each in mysql* adapters
|
2011-05-03 00:33:39 +02:00 |
|
Aaron Patterson
|
951e18abea
|
introduce a body proxy to ensure that query cache is enabled during streaming
|
2011-05-02 11:30:49 -07:00 |
|
Aaron Patterson
|
4300855e7d
|
more tests around caching
|
2011-05-02 11:17:31 -07:00 |
|
Aaron Patterson
|
3066ea8b44
|
add a couple test cases surrounding query cache middleware
|
2011-05-02 11:13:49 -07:00 |
|
Sebastian Martinez
|
04d37b077b
|
Remove extra whitespaces
|
2011-05-02 10:37:34 -03:00 |
|
José Valim
|
3fc37e8ef9
|
Fix failing AR test.
|
2011-05-02 10:16:13 +02:00 |
|
David Heinemeier Hansson
|
31155eeb3c
|
Make the identity map use the instrumentation infrastructure so we can style the messages nicely with colors (FIXME: Can someone look into why the test is not working?)
|
2011-05-01 19:10:21 -06:00 |
|
David Heinemeier Hansson
|
635abc7194
|
Remove schema noise from logging (TODO: Deprecate/remove the name attribute to all these methods -- will take a pull request!)
|
2011-05-01 18:22:43 -06:00 |
|
David Heinemeier Hansson
|
a8861c8f5b
|
Merge pull request #357 from joshk/assign_attributes.
Assign protected attributes with create/new and control the role.
|
2011-05-01 16:59:33 -07:00 |
|
David Heinemeier Hansson
|
32ef3ccaa6
|
Merge pull request #340 from joshk/default_scope_changes.
removed the default_scope deprecations and updated the docs and tests to
|
2011-05-01 16:54:36 -07:00 |
|
Josh Kalderimis
|
86d7ed3375
|
singular and collection relations in AR can now specify mass-assignment security options (:as and :without_protection) in build, create and create! methods.
|
2011-05-01 23:30:07 +02:00 |
|
Josh Kalderimis
|
7c5ae0a88f
|
Added mass-assignment security :as and :without_protection support to AR.new and AR.create
|
2011-05-01 23:08:50 +02:00 |
|
Aaron Patterson
|
23eb81a3d1
|
assert_difference can take a callable piece of code rather than just evaling a string
|
2011-05-01 11:55:13 -07:00 |
|
Aaron Patterson
|
1800a6d1c8
|
Merge pull request #316 from arunagw/jdbc_postgresql.
Re-factored database.rake to allow Jdbcpostgresql. #jruby
|
2011-05-01 10:53:41 -07:00 |
|
Xavier Noria
|
2fbf302149
|
Merge branch 'master' of git://github.com/lifo/docrails
Conflicts:
railties/guides/source/contributing_to_ruby_on_rails.textile
|
2011-05-01 11:16:31 +02:00 |
|
Aaron Patterson
|
a0656989c4
|
fixing more test warnings in 1.9.3
|
2011-04-30 17:40:53 -07:00 |
|
Aaron Patterson
|
9274a5744b
|
fixing test warnings
|
2011-04-30 17:37:58 -07:00 |
|
Aaron Patterson
|
1d7c0336ef
|
using bind parameters for updates
|
2011-04-30 17:27:46 -07:00 |
|
Aaron Patterson
|
e14e696e96
|
fixing arel requirements for released arel
|
2011-04-30 17:27:25 -07:00 |
|
Aaron Patterson
|
7ee5f2eee5
|
making sure the create_fixtures method works to prevent regressions
|
2011-04-29 18:21:24 -07:00 |
|
Aaron Patterson
|
2987115656
|
make sure we flatten the fixture path list
|
2011-04-29 18:21:24 -07:00 |
|
Aaron Patterson
|
1f5249bf93
|
shorten up our fixture path resolving code
|
2011-04-29 18:21:24 -07:00 |
|
Aaron Patterson
|
651836a4bd
|
table name needs to be classified when instantiating fixtures
|
2011-04-29 17:20:56 -07:00 |
|
Dan Pickett
|
1efaed5af1
|
Merge branch 'master' of github.com:lifo/docrails
|
2011-04-29 19:18:10 -04:00 |
|
Aaron Patterson
|
60c877c43b
|
convert query results to a list of lists
|
2011-04-29 11:47:04 -07:00 |
|
Aaron Patterson
|
0eea560b48
|
requring pg ~> 0.11, so remove conditional code for supporting older versions of the gem
|
2011-04-29 11:44:17 -07:00 |
|
José Valim
|
58ad5e1859
|
Make postgresql faster on development (thanks to @tapajos).
|
2011-04-29 20:30:20 +02:00 |
|
Aaron Patterson
|
146474256c
|
lean on rubygems to provide error messages about missing gems
|
2011-04-29 11:09:37 -07:00 |
|
Aaron Patterson
|
00f030c6e1
|
supporting delete with bind parameters in mysql2
|
2011-04-29 11:09:37 -07:00 |
|
Aaron Patterson
|
ed775c66bc
|
refactor exec_delete to reuse the statement cache from exec_query
|
2011-04-29 11:09:37 -07:00 |
|
Aaron Patterson
|
4c41be9b83
|
statement cache for deletes working on mysql
|
2011-04-29 11:09:37 -07:00 |
|
Aaron Patterson
|
453bd2f39d
|
sqlite3 supports prepared statement deletes
|
2011-04-29 11:09:37 -07:00 |
|
Aaron Patterson
|
f1df6b2dce
|
postgresql supports prepare statement deletes
|
2011-04-29 11:09:37 -07:00 |
|
Aaron Patterson
|
850b3ca477
|
supporting nil when passed in as an IN clause
|
2011-04-29 11:01:59 -07:00 |
|
gmile
|
66a18855ea
|
Test that passing nil member of array in conditions retrieves records with nil
value on a selected field.
|
2011-04-29 09:43:18 -07:00 |
|
Aaron Patterson
|
fc343d26ff
|
clearing statement from cache on exception in order to support older versions of mysql
|
2011-04-28 09:48:16 -07:00 |
|
Josh Kalderimis
|
5164c50d7f
|
removed the default_scope deprecations and updated the docs and tests to reflect its use cases
|
2011-04-28 18:46:40 +02:00 |
|
Aaron Patterson
|
bed6a775df
|
requiring a newer version of the mysql2 gem
|
2011-04-27 14:44:28 -07:00 |
|