kennyj
7670a5187d
Refactor ActiveSupport::Cache::FileStore. used method and deleted duplicate code.
2011-10-30 21:50:17 +09:00
Vijay Dev
3e6ecfb454
Merge pull request #3468 from kennyj/fix_a_document_for_compress_limit
...
fix a document for :compress_threshold. DEFAULT_COMPRESS_LIMIT is 16K.
2011-10-30 03:29:18 -07:00
kennyj
38da6249f0
fix a document for :compress_threshold. DEFAULT_COMPRESS_LIMIT is 16K.
2011-10-30 19:18:23 +09:00
Xavier Noria
c6b933faa9
prefer qualified constant "name" to "reference expression", much simpler
2011-10-30 02:25:25 -07:00
Vijay Dev
c809de8291
Merge branch 'master' of github.com:lifo/docrails
2011-10-30 14:47:23 +05:30
Xavier Noria
9d1ba3755e
fixes a typo (thanks to Alexey Vakhov)
2011-10-30 02:08:59 -07:00
Santiago Pastorino
75ee4d97ef
Merge pull request #3464 from kennyj/avoid_to_call_twice
...
avoided to call `Marshal.dump` twice
2011-10-29 19:18:46 -07:00
Xavier Noria
11f6795b23
defines Module#qualified_const_(defined?|get|set) and String#deconstantize
...
This commit also implements a faster version of #demodulize I was unable
to isolate with git add --patch.
Not a big fan of the name #deconstantize. It complements #demodulize
getting rid of the rightmost constant, hence the name, but it is
unrelated to the well-known #constantize. So unsure. Could not come
with anything better, please feel free to rename.
2011-10-29 18:10:45 -07:00
Santiago Pastorino
8ef1bd9b29
Merge pull request #3463 from kennyj/fix_document_for_cache
...
fix a document for race_condition_ttl. ActiveSupport::Cache::MemoryCache isn't exist.
2011-10-29 17:53:00 -07:00
Jeremy Kemper
eabda416b7
Removing db/seeds.rb is fine. Don't blow up.
2011-10-29 14:14:13 -07:00
kennyj
3b546afd04
avoided to call twice
2011-10-30 03:14:35 +09:00
kennyj
7b65d12db5
fix a document for race_condition_ttl. ActiveSupport::Cache::MemoryCache isn't exist
2011-10-30 01:55:09 +09:00
José Valim
e848bcacdd
Merge pull request #3462 from kennyj/remove_deprecated_code
...
removed a reference to SynchronizedMemoryStore and CompressedMemCacheStore
2011-10-29 09:40:28 -07:00
kennyj
596d625c9b
removed reference to SynchronizedMemoryStore and CompressedMemCacheStore (the remaining code from 9cafc28874)
2011-10-30 01:32:02 +09:00
José Valim
e886f97669
Merge pull request #3337 from htanata/fix_rake_routes_for_controller_only_route
...
Remove trailing "#" on rake routes for controller only routes
2011-10-29 09:03:45 -07:00
Xavier Noria
e22a4c6f28
Merge pull request #3460 from arunagw/method_redefine_warning_removed
...
method redefined warning removed!
2011-10-29 06:20:21 -07:00
Hendy Tanata
010622bb98
On inpsect routes, show :controller and :action to indicate dynamic.
2011-10-29 20:04:33 +08:00
Arun Agrawal
3fa8f362ad
method redefined warning removed!
2011-10-29 16:09:50 +05:30
Vijay Dev
74f3f19a83
Merge pull request #3459 from arunagw/running_test_doc_fix
...
ActiveRecord is no more in controller directory.
2011-10-29 01:53:06 -07:00
Xavier Noria
0fc531392d
let demodulize do less work, and add tests
...
This is also faster on 1.9.
2011-10-29 01:07:54 -07:00
Arun Agrawal
0c7c1dbc41
ActiveRecord is no more in controller directory.
2011-10-29 12:34:08 +05:30
Joost Baaij
f936996f69
Updated links to authentication plugins.
...
Removed mention of restful_authentication.
Added devise and authlogic.
Also mention Rails 3.1 built-in logic.
2011-10-28 13:24:14 +02:00
José Valim
2e74334abd
Merge pull request #3456 from pwim/documentation-fix
...
Add missing type to number_field_tag documentation
2011-10-27 23:42:22 -07:00
Paul McMahon
07c4297282
Add missing type to number_field_tag documentation
2011-10-28 15:37:45 +09:00
Aaron Patterson
4a065d56ed
clear statement cache when tables are altered
2011-10-27 10:55:52 -07:00
Joe Van Dyk
420f7fd507
Added failing test case for changing schema in migration not clearing the prepared statement cache
2011-10-27 10:50:38 -07:00
José Valim
1ad9138c00
Merge pull request #3449 from arunagw/checks_for_instance_writers
...
More checks for instance writers.
2011-10-27 04:05:06 -07:00
Arun Agrawal
95d9c120d3
More checks for instance writers.
2011-10-27 16:25:50 +05:30
José Valim
a9863d672b
Merge pull request #3448 from arunagw/instance_disable_fix
...
Test fix Allow instances to disable record_timestamps
2011-10-27 03:26:47 -07:00
Arun Agrawal
80fc29f36f
Adding more checks for instance_writer false
2011-10-27 15:47:56 +05:30
Arun Agrawal
485b99611b
Test fix Allow instances to disable record_timestamps
...
Removed here 0d0176c4ff
2011-10-27 15:41:15 +05:30
José Valim
30c0a0023b
Merge pull request #3445 from odorcicd/fix_railtie_wrap_parameter_test
...
Fix railtie configuration test calling PostsController#create which didn'
2011-10-26 23:57:13 -07:00
Denis Odorcic
177f893a28
Fix railtie configuration test calling PostsController#create which didn't exist
2011-10-27 02:16:59 -04:00
Aaron Patterson
9027643798
scumbag 1.8: strings are enumerable :'(
2011-10-26 10:30:52 -07:00
Pratik Naik
0d0176c4ff
Allow instances to disable record_timestamps
2011-10-26 18:20:12 +01:00
Vijay Dev
a89d16b39b
Merge pull request #3439 from bradrobertson/master
...
ActiveModel::Validator only takes one parameter, documentation had two params listed.
2011-10-26 07:27:15 -07:00
bradrobertson
2e62af310d
correct documentation on initialize method to accept a single parameter
2011-10-26 09:31:37 -04:00
Santiago Pastorino
408bbfe6bd
Merge pull request #3435 from MDaubs/action_pack_deprecations
...
Fix deprecation warnings in action pack render tests
2011-10-26 00:36:36 -07:00
José Valim
80768b739e
Responders now return 204 No Content for API requests without a response body (as in the new scaffold)
2011-10-26 09:31:56 +02:00
José Valim
aef62c4b4e
Scaffold returns 204 No Content for API requests without content. This makes scaffold work with jQuery out of the box.
2011-10-26 09:29:38 +02:00
José Valim
20c59dd214
Fix failing tests.
2011-10-26 09:20:24 +02:00
Henare Degan
df5f88c7c0
Fix a little typo
2011-10-26 19:03:53 +12:00
Aaron Patterson
450257c95b
properly handle lists of lists. Thanks @adrianpike for reporting!
2011-10-25 17:44:17 -07:00
David Heinemeier Hansson
1d9ab88ee6
Merge branch 'master' of github.com:rails/rails
2011-10-25 17:22:55 -05:00
David Heinemeier Hansson
5daf07704a
Fix that changing a store should mark the store attribute as changed
2011-10-25 17:22:52 -05:00
Vijay Dev
8aabdc69b7
Merge pull request #3357 from rahul100885/rahul100885_ws
...
Added test case for postgresql database
2011-10-25 13:43:47 -07:00
Jeremy Kemper
139562f241
Clean up .gitignore and make a note about using global ignores
2011-10-25 13:30:50 -07:00
José Valim
057a268d45
Revert "Ignore .rbx directories (rbx compiled bytecode files)"
...
This should go in your ~/.gitignore.
This reverts commit e75c18bff8 .
2011-10-25 22:23:55 +02:00
José Valim
771ca79f74
Revert "Merge pull request #3395 from bdurand/fix_file_store_cleanup"
...
Tests were failing on Travis-CI.
This reverts commit 79d01a8f16 , reversing
changes made to b838570bd6 .
2011-10-25 22:23:25 +02:00
Vijay Dev
2856d74db7
Merge pull request #3422 from arunagw/unused_var_warning
...
Unused variable removed
2011-10-25 12:18:54 -07:00