Aaron Patterson
|
951e18abea
|
introduce a body proxy to ensure that query cache is enabled during streaming
|
2011-05-02 11:30:49 -07: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
|
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
|
1d7c0336ef
|
using bind parameters for updates
|
2011-04-30 17:27:46 -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 |
|
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 |
|
Arun Agrawal
|
ffc9374afd
|
Minor fixes in databases.rake
|
2011-04-27 23:09:56 +05:30 |
|
Arun Agrawal
|
8fd998284d
|
Allowing jdbcsqlite3 to drop database, clone structure. #jruby
|
2011-04-27 13:51:07 +05:30 |
|
Arun Agrawal
|
c8102817ca
|
Re-factored database.rake to allow Jdbcpostgresql. #jruby
|
2011-04-27 00:57:50 +05:30 |
|
Sebastian Martinez
|
0421002d78
|
Fix #update_attributes api format error
|
2011-04-26 14:58:06 -03:00 |
|
Aaron Patterson
|
315f555744
|
Merged pull request #307 from arunagw/master.
jdbcpostgresql support added into template.
|
2011-04-26 10:32:29 -07:00 |
|
Josh Kalderimis
|
bb7024b6ec
|
AR update_attributes api is updated to reflect the addition of assign_attributes
|
2011-04-26 18:00:57 +02:00 |
|
Aaron Patterson
|
6e02a61f39
|
Merged pull request #310 from beanieboi/master.
Added support for tsvector datatype in postgres
|
2011-04-26 08:52:37 -07:00 |
|
Benjamin Fritsch
|
714b4a82f4
|
Added tsvector Datatype Support
Applied Patch from https://rails.lighthouseapp.com/projects/8994/tickets/5577-suport-from-tsvector-data-type-in-postgresql
|
2011-04-26 09:47:40 +02:00 |
|
José Valim
|
b73c84eaa7
|
Merged pull request #308 from joshk/assign_attributes.
deprecated the use of guard_protected_attributes with attributes= in AR
|
2011-04-25 23:58:23 -07:00 |
|
Josh Kalderimis
|
f9d5a7bb8c
|
deprecated the use of the guard_protected_attributes argument with attributes= in AR in favor of assign_attributes(attrs, :without_protection => true)
|
2011-04-25 23:57:09 +02:00 |
|
Arun Agrawal
|
253ba7779e
|
Database creation for jdbcpostgresql #jruby
|
2011-04-26 02:13:20 +05:30 |
|
Raimonds Simanovskis
|
070c9984a5
|
Do not use SQL LIKE operator for case insensitive uniqueness validation
It can result in wrong results if values contain special % or _ characters. It is safer to use SQL LOWER function and compare for equality.
|
2011-04-25 22:17:18 +03:00 |
|
Rashmi Yadav
|
6464f7b9be
|
Fixed error when running db:create with jdbcmysql
|
2011-04-25 23:05:17 +05:30 |
|
Sebastian Martinez
|
c60e207674
|
Better formatting here
|
2011-04-24 19:44:12 -03:00 |
|
Ken Collins
|
35d0b6029f
|
Use existing #empty_insert_statement_value for an insert with no columns.
|
2011-04-24 12:52:28 -04:00 |
|
Josh Kalderimis
|
f3b9d3aba8
|
added config.active_record.whitelist_attributes which creates an empty whitelist of attributes available for mass assignment for all models in your app
|
2011-04-24 09:58:12 +02:00 |
|
Josh Kalderimis
|
a08d04bedf
|
Added assign_attributes to Active Record which accepts a mass-assignment security scope using the :as option, while also allowing mass-assignment security to be bypassed using :with_protected
|
2011-04-24 09:53:18 +02:00 |
|
Sebastian Martinez
|
0887385d8e
|
Added missing docs to mysql2_adapter
|
2011-04-22 21:30:30 -03:00 |
|
Sebastian Martinez
|
8f1b141b3f
|
Fixed punctuation errors.
|
2011-04-22 21:17:51 -03:00 |
|
Sebastian Martinez
|
a510f5c39f
|
Better docs formatting
|
2011-04-22 21:13:35 -03:00 |
|
Sebastian Martinez
|
4d0464187c
|
Fix #postgresql_version docs
|
2011-04-22 21:02:49 -03:00 |
|
Sebastian Martinez
|
17d34d149e
|
Added docs for #version on mysql_adapter
|
2011-04-22 21:01:29 -03:00 |
|
Sebastian Martinez
|
3e678daa72
|
Added some docs on SQLite adapter
|
2011-04-22 20:58:02 -03:00 |
|