Commit Graph

26944 Commits

Author SHA1 Message Date
José Valim
58f69ba085 Remove Rescue middleware that was never used by Rails. 2011-12-24 11:28:05 +01:00
José Valim
f32247cb3e Update CHANGELOGs 2011-12-24 10:53:44 +01:00
José Valim
0152fe9773 Merge branch 'gzip-index' which contains two features:
1) Adding gzip to pages cache, closes #4124

2) Allow scaffold/model/migration generators to accept a "index" and "uniq"
modifiers, as in: "tracking_id:integer:uniq" in order to generate (unique)
indexes. Some types also accept custom options, for instance, you can
specify the precision and scale for decimals as "price:decimal{7,2}".
This feature closes #2555.
2011-12-24 10:40:06 +01:00
José Valim
b4e97ea2d9 Tidy up migration types. 2011-12-24 10:38:19 +01:00
Dmitrii Samoilov
7a47f362c8 added ability to specify from cli when generating a model/migration whether particular property should be an index like this 'rails g model person name:string:index profile:string' 2011-12-24 10:01:54 +01:00
José Valim
e6bfcc21a8 Remove unecessary config_accessors. 2011-12-24 09:59:28 +01:00
José Valim
39081f1660 Provide a class optin for page_cache_compression. 2011-12-24 09:54:29 +01:00
Andrey A.I. Sitnik
7b1ac55f50 Gzip files on page caching
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-12-24 09:42:34 +01:00
José Valim
7c42b9321a Merge pull request #4149 from castlerock/remove_1.8_stuff
remove ruby 1.8 stuff method skip to support ruby 1.8 series
2011-12-24 00:04:43 -08:00
José Valim
34bbf8428c Merge pull request #4147 from lest/remove-app-fallback
remove Rails application fallback from AD::IntegrationTest
2011-12-24 00:02:05 -08:00
Jeremy Kemper
9bbe2b800e Merge pull request #4156 from nashby/to-sym-ruby-18
remove checking for non-empty string before calling to_sym
2011-12-23 17:36:13 -08:00
Jeremy Kemper
547f32fee5 Remove broken #compute_source_path 2011-12-23 18:00:31 -07:00
Jon Leighton
e2b6919223 stop test resetting global state 2011-12-23 23:22:24 +00:00
Vasiliy Ermolovich
77ed289609 remove checking for non-empty string before calling to_sym 2011-12-24 01:01:25 +03:00
Jon Leighton
4d8ee28841 Fix situation where id method didn't get defined causing postgres to fail 2011-12-23 20:32:07 +00:00
Sergey Nartimov
5f3b9dec0a remove Rails application fallback from AD::IntegrationTest
set AD::IntegrationTest.app in railtie initializer
2011-12-23 22:39:54 +03:00
Vijay Dev
a51c4a314f Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	railties/guides/source/active_support_core_extensions.textile
2011-12-24 00:51:27 +05:30
Vijay Dev
a805a7fefc Rails 3.2 Release Notes 2011-12-24 00:39:56 +05:30
Jon Leighton
76771665e5 Doh, remove debugging line 2011-12-23 18:25:22 +00:00
Vishnu Atrai
fc57003feb remove ruby 1.8 stuff skip hack from AR 2011-12-23 23:51:01 +05:30
Jon Leighton
f1eb98f0fc Fix #4046. 2011-12-23 18:20:35 +00:00
Alvaro Bautista
30ce084bbf serialize fails on subclass 2011-12-23 18:19:25 +00:00
Xavier Noria
a64ab95987 removes Enumerable#pluck from the AS guide 2011-12-23 09:42:45 +01:00
Bogdan Gusiev
150217f54f AM::MAS.attr_protected: rework usage example. 2011-12-23 10:05:39 +02:00
Aaron Patterson
ac2f68dd74 Merge pull request #4140 from kuroda/databases_rake
Reconnect to the first database after db:create
2011-12-22 23:47:24 -08:00
José Valim
4379c45756 Merge pull request #4142 from lest/remove-1-8-code
remove Enumerable#each_with_object again
2011-12-22 23:41:55 -08:00
Sergey Nartimov
1922283177 remove Enumerable#each_with_object again
it come back occasionally in 367741ef
2011-12-23 10:20:24 +03:00
Tsutomu Kuroda
014cdb7f7b Reconnect to the first database after db:create
Otherwise, the schema and seed will be loaded onto the
test database.
2011-12-23 14:43:47 +09:00
Kristian Freeman
17da02425e Added link in MIT license for Action Mailer README. I think this seems appropriate but commentary on this is not a bad idea. 2011-12-22 21:13:28 -08:00
Kristian Freeman
4907f46742 Added link to MIT license. Would love commentary on whether this seems appropriate. 2011-12-22 21:12:08 -08:00
Kristian Freeman
2d6d39aa83 Readability in Action Mailer README. 2011-12-22 21:10:01 -08:00
Kristian Freeman
cffb636e82 Correct grammar on Mailer generator -- passES. Working on enhancing conventional readability in README and USAGE files. 2011-12-22 21:03:25 -08:00
Arun Agrawal
cc450329b2 [docs] pluck docs reverted for activesupport
367741ef22
2011-12-23 09:53:21 +05:30
Aaron Patterson
ead2593a54 adding an integration test for splat regexp substitutions. fixes #4138 2011-12-22 18:52:42 -07:00
Aaron Patterson
4ee537a8a2 Adding an integration test. Fixes #4136 2011-12-22 18:04:22 -07:00
Jon Leighton
967490badf Fix build when IM=true 2011-12-22 23:21:38 +00:00
Jon Leighton
13a9efe62e Delete unnecessary line that was necessary before I changed the code and it became no longer necessary. 2011-12-22 23:04:19 +00:00
Bogdan Gusiev
46ec75661d Fixed AM::MasAsSec.attr_protected usage example.
Problems with current example:

* DOESN'T WORK 
** attr_protected :last_login, :as => :admin # doesn't make it accessible for admin
* Uses ActiveSupport Fixnum extension
2011-12-22 10:57:06 +02:00
Bogdan Gusiev
24a6609ea3 Fix AM::MassAssignementSecurity doc 2011-12-22 10:24:20 +02:00
Arun Agrawal
08f36451fc [docs] Added missing "}" fixes #4126 2011-12-22 12:30:20 +05:30
Vijay Dev
c1b2642a9e Merge branch 'master' of github.com:lifo/docrails 2011-12-21 22:26:10 +05:30
Vijay Dev
1989dacc35 Merge pull request #4102 from arunagw/warning_removed_actionpack
warning removed
2011-12-21 08:46:36 -08:00
Vijay Dev
63c71f893b sync AS guide with the Ruby 1.9 related deletions in master 2011-12-21 22:12:25 +05:30
Piotr Sarnacki
e52572abdf Merge pull request #4105 from lest/bad-requires
remove requires of core_ext/array/random_access that no longer exists
2011-12-21 08:24:23 -08:00
lest
4a57d1b0b6 remove requires of core_ext/array/random_access that no longer exists 2011-12-21 19:19:19 +03:00
José Valim
707eed72d3 Merge pull request #4103 from lest/remove-1-8-code
remove Kernel#singleton_class from core_ext as it is present in ruby 1.9
2011-12-21 07:56:05 -08:00
lest
a57c6441a8 remove Kernel#singleton_class from core_ext as it is present in ruby 1.9 2011-12-21 18:53:38 +03:00
Arun Agrawal
a3c1dc223b removed warning "warning: ambiguous first argument; put parentheses or even spaces" 2011-12-21 21:22:39 +05:30
José Valim
2e9eb0a3ca Merge pull request #4101 from nashby/ruby-18-cleaning
remove Array#sample from core_ext
2011-12-21 07:47:49 -08:00
José Valim
2ba3d135e3 Merge pull request #4094 from lest/remove-1-8-code
remove check for string from request body setter
2011-12-21 06:46:01 -08:00