Commit Graph

24825 Commits

Author SHA1 Message Date
John Mileham
a06d17480f ActiveResource shouldn't rely on the presence of Content-Length 2011-09-11 14:46:50 -04:00
John Mileham
f776661fd2 Failing test: ActiveResource shouldn't rely on the presence of Content-Length 2011-09-09 19:05:26 -04:00
Xavier Noria
5aa86f793f let SDoc add a link to the source code in GitHub for each method 2011-08-29 15:47:56 -07:00
Jon Leighton
92619e4f78 Fix test failures on 1.8.7, since Object#initialize_dup is not defined there (and this call to super is no essential, so easiest to simply remove) 2011-08-29 23:05:26 +01:00
Xavier Noria
04f7338ff4 Merge pull request #2720 from biow0lf/master
Doc fixes
2011-08-29 14:35:08 -07:00
Aaron Patterson
cebff6d0f7 Merge pull request #2021 from dasch/more_postgres_utils
Make #extract_schema_and_table an instance method in Utils
2011-08-29 13:38:10 -07:00
Jon Leighton
c59c9bb8bc Move clear_timestamp_attributes into Timestamp module 2011-08-29 17:39:09 +01:00
Jon Leighton
735d985b01 The join_nodes must be passed to the JoinDependency initializer and therefore counted by the alias tracker. This is because the association_joins are aliased on initialization and then the tables are cached, so it is no use to alias the join_nodes later. Fixes #2556. 2011-08-29 15:05:47 +01:00
Jon Leighton
fd22d040fe Move the bulk alter table code into the abstract mysql adapter, hence it is supported for mysql2 as well now. 2011-08-29 12:43:39 +01:00
Jon Leighton
4fcd847c8d Extract simplified_type into the abstract class 2011-08-29 12:43:39 +01:00
Jon Leighton
5766539342 Create an AbstractMysqlAdapter to abstract the common code between MysqlAdapter and Mysql2Adapter. 2011-08-29 12:43:39 +01:00
Santiago Pastorino
cfe7548aef Merge pull request #2724 from guilleiguaran/avoid-recursive-call-sprockets-helper
Avoid extra recursive call in Sprockets helpers
2011-08-28 17:05:49 -07:00
Guillermo Iguaran
381904d26b Avoid extra recursive call in Sprockets helpers 2011-08-28 19:00:58 -05:00
Santiago Pastorino
734792aaaa Merge pull request #2723 from guilleiguaran/3-1-0-changelogs
Update changelogs for Rails 3.1.0
2011-08-28 20:42:12 -03:00
Igor Zubkov
871696a01a Documentation fixes 2011-08-29 02:37:56 +03:00
Aaron Patterson
d63688d9e6 fixing typo 2011-08-28 16:31:13 -07:00
Santiago Pastorino
49af31eada Bump rack-cache, rack-test, rack-mount and sprockets up 2011-08-28 19:06:29 -03:00
Aaron Patterson
b4ff82a791 clear and disable query cache when an exception is raised from called middleware 2011-08-28 14:16:00 -07:00
Aaron Patterson
e145acd6f1 Merge pull request #2711 from dasch/patch-3
Refactor ActionDispatch::Http::UploadedFile
2011-08-28 09:52:54 -07:00
Daniel Schierbeck
62a61add7e Refactor ActionDispatch::Http::UploadedFile 2011-08-28 16:16:22 +02:00
Xavier Noria
bb4dedbc2c deletes spurious arrow 2011-08-27 15:34:33 -07:00
Santiago Pastorino
bd0550ef5a Merge pull request #2714 from vijaydev/docs
doc fixes
2011-08-27 14:03:55 -07:00
Vijay Dev
8526f727cf doc fixes 2011-08-28 02:27:39 +05:30
Xavier Noria
827a0fee07 use sdoc to generate the API 2011-08-27 03:55:01 -07:00
Aaron Patterson
e8b525f169 stop messing with the load path, load path should be adjusted in the test task 2011-08-26 10:15:17 -07:00
Santiago Pastorino
4a4dcb5059 Merge pull request #2702 from arunagw/removed_unused_var
Removed Unused Variable.
2011-08-26 05:41:59 -07:00
Arun Agrawal
651ef614f1 Removed Unused Variable. 2011-08-26 11:29:05 +05:30
Aaron Patterson
e3a020a679 Merge pull request #2699 from guilleiguaran/fix-asset-debugging-test-1.8
Fix failing asset debug test under 1.8
2011-08-25 19:12:24 -07:00
Guillermo Iguaran
a071c9b667 Fix failing asset debug test under 1.8 2011-08-25 21:05:23 -05:00
Aaron Patterson
42a7979cf1 Force binary data inserted for a string data type to utf-8 and log an
error.  Strings tagged as binary will be stored in sqlite3 as blobs.  It
is an error to insert binary data to a string column, so an error is
emitted in the log file.  People are highly encouraged to track down the
source of the binary strings and make sure that the encoding is set
correctly before inserting to the database.
2011-08-25 16:07:54 -07:00
Xavier Noria
635b9d4ca8 Merge pull request #2681 from guilleiguaran/doc-changes
Documentation changes: Assets Pipeline guide and Railties changelog
2011-08-25 15:07:11 -07:00
Jon Leighton
8ba491acc3 Revert all the stuff to do with disallowing non-public methods for Module#delegate 2011-08-25 22:30:42 +01:00
Santiago Pastorino
bad6803570 Merge pull request #2696 from guilleiguaran/string-keys-sprockets-helpers
Removing redundant stringify_keys in Sprockets helpers
2011-08-25 14:18:16 -07:00
Guillermo Iguaran
f5472a3898 Removing redundant stringify_keys in Sprockets helpers 2011-08-25 16:09:53 -05:00
Aaron Patterson
25ee30961a Merge pull request #2695 from dasch/more-debug-assets
Don't require a specific value for the ?debug flag
2011-08-25 11:47:23 -07:00
Daniel Schierbeck
8724f00cbd Don't require a specific value for the ?debug flag
Previously, only "1" and "true" were accepted. This change makes
any value, or no value at all, have the same effect.
2011-08-25 20:39:18 +02:00
Arun Agrawal
a840172c53 Yes we need this to pass the test. we are using config.log_level.
Fix broken test test_copying_migrations(RailtiesTest::EngineTest):
NoMethodError: undefined method `log_level' for #<Rails::Engine::Configuration:0xb87a98c>
2011-08-25 11:25:37 -07:00
Aaron Patterson
df948f3100 Merge pull request #2690 from dasch/pretty-debug-assets
Make Sprockets::Helpers::RailsHelper#debug_assets? more readable
2011-08-25 11:05:57 -07:00
Aaron Patterson
35f3907f34 Merge pull request #2688 from dasch/refactor-asset-debugging-tests
Refactor asset debugging tests
2011-08-25 11:04:34 -07:00
Santiago Pastorino
a16e888003 Merge pull request #2694 from bogdan/internal_validation
Moved strict validation changelog entry to right place
2011-08-25 10:14:25 -07:00
Bogdan Gusiev
f2f05da06e Moved strict validation changelog entry to right place 2011-08-25 19:37:11 +03:00
Guillermo Iguaran
3731a0f97b Update Debugging Assets section of Assets Pipeline guide 2011-08-25 09:49:18 -05:00
Guillermo Iguaran
9a68ea9643 Add missing CHANGELOG entries for Railties 2011-08-25 09:47:37 -05:00
Santiago Pastorino
eb6906890e Tiny refactor 2011-08-25 11:40:59 -03:00
Santiago Pastorino
67274ca162 Merge pull request #2491 from waynn/fix_symbol
fix destructive stringify_keys for label_tag
2011-08-25 07:39:31 -07:00
José Valim
d15069316f Merge pull request #2563 from bogdan/internal_validation
Implemented strict validation concept
2011-08-25 07:10:16 -07:00
Bogdan Gusiev
cbb147931b Typo fix 2011-08-25 16:43:43 +03:00
Daniel Schierbeck
b59aa358bb Make Sprockets::Helpers::RailsHelper#debug_assets? more readable 2011-08-25 12:36:11 +02:00
Daniel Schierbeck
372892eaea Move asset debugging tests into a separate test case
Also:

- Refactor AssetDebuggingTest.
- Use the %r regexp syntax. That way we don't need to escape the /'s.
2011-08-25 11:57:16 +02:00
Aaron Patterson
68424fb1cf fix ambiguous * and remove unused variable 2011-08-24 16:52:23 -07:00