Jon Leighton
e51ecfaaa3
extract method
2011-11-29 20:13:37 +00:00
Jon Leighton
7af719e81c
Deprecate set_sequence_name in favour of self.sequence_name=
2011-11-29 20:13:37 +00:00
Jon Leighton
fd7ca98bb6
Add tests for set_sequence_name etc
2011-11-29 20:13:36 +00:00
Jon Leighton
34609d67b4
Deprecate set_inheritance_column in favour of self.inheritance_column=
2011-11-29 20:13:36 +00:00
Jon Leighton
0b72a04d0c
Deprecate set_table_name in favour of self.table_name= or defining your own method.
2011-11-29 20:13:36 +00:00
Aaron Patterson
f73f53455a
respond_to? information of AR is not the responsibility of the spec
...
resolver.
2011-11-29 11:48:55 -08:00
Jon Leighton
2169603385
Merge pull request #3636 from joshsusser/master
...
association methods are now generated in modules
2011-11-29 10:09:42 -08:00
Josh Susser
c347b3c06c
don't change class definition in test case
2011-11-29 09:14:21 -08:00
Jon Leighton
d534c8fbe2
Fix resolver_test.rb on travis (postgresql isn't setup, so it can't load the connection adapter)
2011-11-29 12:47:54 +00:00
Jon Leighton
1defb6adb8
Fix schema_cache_test.rb for sqlite3_mem
2011-11-29 12:29:42 +00:00
Vijay Dev
6e399acaa8
Merge pull request #3797 from HeeL/test
...
splited a long line to shorter ones
2011-11-29 02:23:06 -08:00
Sergey Parizhskiy
69d56cb933
splited a long line to shorter ones
2011-11-29 11:50:02 +02:00
Vijay Dev
42d70d9852
Merge pull request #3790 from masterkain/patch-1
...
Fix typo in AS::TaggedLogging
2011-11-29 00:30:00 -08:00
José Valim
913c42a6a9
Merge pull request #3793 from marcandre/asset_host
...
Handle correctly optional parameters for callable asset_host.
2011-11-28 23:56:42 -08:00
Marc-Andre Lafortune
d3bc12b27f
Handle correctly optional parameters for callable asset_host.
2011-11-29 02:01:18 -05:00
Claudio Poli
2a76f33b51
Fix typo in AS::TaggedLogging
2011-11-29 00:26:58 +01:00
Aaron Patterson
52a9884ce4
remove unused instance variable
2011-11-28 15:23:26 -08:00
Aaron Patterson
beff819a4d
just check in all connections
2011-11-28 15:23:26 -08:00
Aaron Patterson
884a04007f
remove useless class_eval
2011-11-28 15:23:25 -08:00
Aaron Patterson
dde2113867
Move connection resoluion logic to it's own testable class.
2011-11-28 15:23:25 -08:00
Aaron Patterson
30f7c59e90
clean up string => hash conversion for connection pool
2011-11-28 15:23:25 -08:00
Aaron Patterson
ffb218c750
pools are 1:1 with spec now rather than 1:1 with class
2011-11-28 15:23:25 -08:00
Aaron Patterson
2a9a8ad4df
break establish_connection to smaller methods
2011-11-28 15:23:24 -08:00
Travis Pew
237272e049
Fix ActionDispatch::Request method explanations
...
The methods, "post?", "put?", "head?", etc. contain an incorrect
explanation. They state that they are equivalent to request_method ==
:type, but this is not accurate because the methods convert the string
to a symbol. They are actually equivalent to:
request_method_symbol == :type
2011-11-28 15:46:09 -05:00
Jakub Kuźma
d1afd98746
added information about callbacks created by autosave association ( #3639 )
2011-11-28 19:37:00 +01:00
Vasiliy Ermolovich
331080a14f
update guides
2011-11-28 20:37:08 +03:00
Aaron Patterson
ba0b3eee14
Merge pull request #3768 from janv/master
...
Test and fix for Issue 3450
2011-11-28 09:35:43 -08:00
José Valim
a0c61c81d7
Merge pull request #3785 from lest/backtrace-cleaner-env
...
Put backtrace_cleaner to env
2011-11-28 08:43:14 -08:00
lest
fe7d4f09ef
put backtrace_cleaner to env
2011-11-28 19:25:37 +03:00
Sergey Parizhskiy
afa31cf327
there is no need to repeat about possibility of using -h option to get full help
2011-11-28 17:40:14 +02:00
Sergey Parizhskiy
e2e2d6298e
Merge branch 'master' of github.com:lifo/docrails
2011-11-28 17:33:23 +02:00
Sergey Parizhskiy
493cf44682
completed documentation for the rails server command
2011-11-28 17:33:01 +02:00
Vijay Dev
970caea5bc
Merge pull request #3783 from HeeL/master
...
fixed a typo in a travis message
2011-11-28 07:18:22 -08:00
Rodrigo Rosenfeld Rosas
6d05c793ca
Update information about foreign key plugins support in the guides
...
There is not "a number" of up-to-date maintained plugins for dealing with foreign keys.
The foreign_key_migrations does not have any update since 2009 and is also about to be removed:
Extracted from http://www.harukizaemon.com/2009/09/plugins-grab-em-while-theyre-stale.html ,
referenced in the plugin reference of the old guide version:
"And so it is that I will very shortly (within the next month) delete most of the plugins from
my GitHub account (harukizaemon)"
2011-11-28 13:15:07 -02:00
Sergey Parizhskiy
cc5f68d56b
fixed a typo in a message when there is no failuresin a build
2011-11-28 16:45:40 +02:00
José Valim
f4ce002c0e
Merge pull request #3278 from arunagw/rails_rake_task_warning
...
Global variable `$rails_rake_task' not initialized Warning removed
2011-11-28 04:25:55 -08:00
Arun Agrawal
8ef1ec427f
global variable `$rails_rake_task' not initialized Warning removed
2011-11-28 17:35:10 +05:30
José Valim
5f75a92c32
Merge pull request #3657 from arunagw/mysql2_bump_master
...
Bump Mysql2!
2011-11-28 03:15:30 -08:00
Vijay Dev
9ca58ba492
Revert "use any? to check for size"
...
This reverts commit c4af5f00f602b9e1c3166872902265836daf321b.
2011-11-28 16:29:55 +05:30
José Valim
89925e817c
Revert "Use any instead of length"
...
This reverts commit 1756629835d39f60ef4c96aff81ac503c71b98b7.
2011-11-28 11:18:39 +01:00
Xavier Noria
152bd3c510
Revert "Used any? instead of length call"
...
Reason: This is slower, and any? is not equivalent in the
general case.
See discussion in https://github.com/rails/rails/pull/3779
This reverts commit 20cbf8eddc3844126d20f1218f068889d17b0dcf.
2011-11-28 11:07:01 +01:00
Arun Agrawal
e7dff9c1f1
Revert "fixed typo in getting started form_for for comments"
...
This reverts commit 2f428a6245a18017c7942f8fef3da4a85bec8cc5.
See comments here 2f428a6245a18017c7942f8fef3da4a85bec8cc5
2011-11-28 14:10:23 +05:30
Tim Reischmann
2f428a6245
fixed typo in getting started form_for for comments
2011-11-28 09:27:42 +01:00
José Valim
ad5c8b0d52
Merge pull request #3776 from nashby/add-namespace-to-form
...
add namespace options to form_for
2011-11-27 23:59:36 -08:00
Vasiliy Ermolovich
2559256963
update CHANGELOG
2011-11-28 10:54:12 +03:00
José Valim
5cf56a4e77
Merge pull request #3779 from rahul100885/rahul100885_work
...
Used any? instead of length call
2011-11-27 23:13:39 -08:00
Rahul P. Chaudhari
20cbf8eddc
Used any? instead of length call
2011-11-28 12:07:31 +05:30
Josh Susser
124c97fbe2
avoid warnings
...
This change uses Module.redefine_method as defined in ActiveSupport.
Making Module.define_method public would be as clean in the code, and
would also emit warnings when redefining an association. That is pretty
messy given current tests, so I'm leaving it for someone else to decide
what approach is better.
2011-11-27 14:15:40 -08:00
Josh Susser
10834e975a
changelog & docs for GeneratedFeatureMethods
2011-11-27 14:12:46 -08:00
Jan Varwig
cba5a3a367
Test case and fix for rails/rails#3450
...
Asssigning a parent id to a belongs_to association actually updates the object that is validated when the association has :validates => true
2011-11-27 22:29:56 +01:00