Aaron Patterson
db32b545da
adding Migration#change to the CHANGELOG
2010-11-19 11:20:02 -08:00
Aaron Patterson
87124457e5
fisting my spelling errors
2010-11-19 10:55:57 -08:00
Aaron Patterson
0cc6c46fe9
testing a non-invertible migration case
2010-11-19 10:50:24 -08:00
Aaron Patterson
47017bd169
invertable migrations are working
2010-11-19 10:31:03 -08:00
Aaron Patterson
6519df4157
command recorder will record commands sent to a delegate object
2010-11-19 10:24:16 -08:00
Aaron Patterson
6dbbfae563
adding invertable migration test
2010-11-19 10:24:16 -08:00
Aaron Patterson
0d7410faab
updating documentation
2010-11-19 10:24:16 -08:00
Aaron Patterson
96b50a0392
IrreversibleMigration is raised if we cannot invert the command
2010-11-19 10:24:15 -08:00
Aaron Patterson
b29a24bb6f
commands are reversed
2010-11-19 10:24:15 -08:00
Aaron Patterson
5d93900dc6
add and remove timestamps can be inverted
2010-11-19 10:24:15 -08:00
Aaron Patterson
24b637a80f
inverting add_index
2010-11-19 10:24:15 -08:00
Aaron Patterson
843e319f78
partial implementation of the command recorder
2010-11-19 10:24:15 -08:00
Aaron Patterson
24174d1b3a
this return value is not used, so stop returning it
2010-11-19 10:23:13 -08:00
Aaron Patterson
9280fbf795
instantiate the delegate object after initialize is defined so that our initialize method actually gets called
2010-11-19 10:14:13 -08:00
Henning Koch
deff528947
Fix AssetIncludeTag ensuring that files are in the wrong directory [ #6015 state:resolved]
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-11-19 15:38:13 -02:00
Xavier Noria
cb8f7a1156
removes orphan tests, custom String#% was removed from AS in 39d6f9e
2010-11-19 18:24:58 +01:00
Santiago Pastorino
bb7b705b0c
Fix indentation
2010-11-19 14:26:44 -02:00
Santiago Pastorino
555b7cd04a
Don't merge just directly add to the action to the :partial key
2010-11-19 14:26:42 -02:00
Santiago Pastorino
b1ffd65b8f
Useless assignation
2010-11-19 14:26:39 -02:00
Santiago Pastorino
d891ad4e92
Make ARes tests unescape [ and ]
2010-11-18 23:52:17 -02:00
Santiago Pastorino
52b71c01fd
Revert "Quick fix for not escaping []s (not ideal)"
...
According to http://www.ietf.org/rfc/rfc2616.txt and
http://tools.ietf.org/rfc/rfc3986.txt [ and ] are reserved characters
and should be escaped using "%" HEX HEX
This reverts commit 856d2fd874 and
1ee9b40b18a0bed5bb10a0785f7e2730bac983f6..
2010-11-18 23:31:00 -02:00
Aaron Patterson
07a74f196d
connection is set from the connection pool during migrations
2010-11-18 15:53:59 -08:00
Aaron Patterson
e107dcca6b
testing multiple ORd queries
2010-11-18 13:39:57 -08:00
José Valim
e3d8331c5b
Revert "Remove deprecated form_for with strings or symbols"
...
This code was not deprecated. What was deprecated is the following:
form_for(:foo, @foo)
Which now should be rewritten as:
form_for(@foo, :as => :foo)
The following format is valid:
form_for(:foo)
This reverts commit be797750e6 .
2010-11-18 20:22:14 +01:00
Leonardo Capillera
be797750e6
Remove deprecated form_for with strings or symbols
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-11-18 16:46:55 -02:00
Aaron Patterson
c52e2cf4b3
delegating path and open to internal tempfile
2010-11-18 10:10:25 -08:00
Aaron Patterson
26923756fb
removing space errors
2010-11-18 10:01:29 -08:00
Alex Rothenberg
c5a284f8eb
Adapters can specify maximum number of ids they support in a list of expressions
...
(default is nil meaning unlimited but Oracle imposes a limit of 1000)
Limit is used to make multiple queries when preloading associated has_many or habtm records
2010-11-18 09:59:52 -08:00
Piotr Sarnacki
77fc0cc165
Ensure that initializers are executed before loading rake tasks
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-11-18 17:46:18 +01:00
José Valim
d19768b50c
Facepunch failing tests.
2010-11-18 09:32:48 +01:00
Aaron Patterson
80d9b724c3
group can be done by left side only
2010-11-17 17:28:40 -08:00
Santiago Pastorino
c6bfd6802a
When use where more than once on the same column, relation doesn't do an 'or' or 'in' with the values
2010-11-17 17:15:25 -08:00
Aaron Patterson
00693209ec
collapsing same table / column WHERE clauses to be OR [ #4598 state:resolved]
2010-11-17 17:10:50 -08:00
Aaron Patterson
56c5820458
use shorter form for sql literals
2010-11-17 16:15:52 -08:00
Jon Leighton
fe42c00ac3
Fix bug with 0bb85ed9ff which missed out a fixtures declaration in cascaded_eager_loading_test.rb
2010-11-17 15:52:18 -08:00
Neeraj Singh
9c1993bf6b
replace and with && as per rails coding convention
2010-11-18 07:49:45 +08:00
Neeraj Singh
f978c4b2e4
remove the rescue block by returning a not asking Base for lookup_ancestors. It was also marked for later optimization.
2010-11-17 15:44:04 -08:00
Josh Kalderimis
ae44bf7c7e
bye bye extlib_inheritable_*, AS callbacks now using class_attribute
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-11-18 00:38:51 +01:00
Aaron Patterson
43e2e10f4f
adding an initialize with name and version defaults
2010-11-17 15:30:09 -08:00
Piotr Sarnacki
ae56c82e2b
Added config.action_controller.include_all_helpers to CHANGELOG.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-11-18 00:29:23 +01:00
Piotr Sarnacki
250fb3f6c2
Add config.action_controller.include_all_helpers, by default it is set to true.
...
In older rails versions there was a way to use only helpers from
helper file corresponding to current controller and you could also
include all helpers by saying 'helper :all' in controller. This config
allows to return to older behavior by setting it to false.
2010-11-18 00:20:57 +01:00
Aaron Patterson
4d35f8b661
updating generators
2010-11-17 14:57:54 -08:00
Aaron Patterson
c1a63c8dba
fixing more documentation
2010-11-17 14:57:54 -08:00
Aaron Patterson
d1fcba8118
fixing documentation, removing unused AS files
2010-11-17 14:57:54 -08:00
Aaron Patterson
7906e08bba
fixing indentation since these methods are not class methods
2010-11-17 14:57:54 -08:00
Aaron Patterson
606e41a4dd
these methods are no longer needed
2010-11-17 14:57:54 -08:00
José Valim
f14c2bf582
Pass the view object as parameter to the handler. Useful if you need to access the lookup context or other information when compiling the template.
2010-11-17 23:50:45 +01:00
José Valim
7b2f2c8b47
Tidy up generators commits.
2010-11-17 23:32:19 +01:00
Piotr Sarnacki
aafac200be
Fix generators tests on ruby 1.9
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-11-17 23:32:19 +01:00
Aaron Patterson
17c7723451
updating CHANGELOG
2010-11-17 14:26:35 -08:00