Commit Graph

26799 Commits

Author SHA1 Message Date
José Valim
0e8cbbe7d5 assert_not_match -> assert_no_match. 2011-12-24 17:05:12 +01:00
Vijay Dev
929bfb8bdc add latest changes to 3.2 release notes 2011-12-24 20:41:36 +05:30
Vijay Dev
853439c2bd minor edits in caching guide 2011-12-24 17:38:23 +05:30
José Valim
1db5f4e9ad Fix regexp intervals. 2011-12-24 12:53:27 +01:00
José Valim
fc4299805e Update CHANGELOGs. 2011-12-24 10:52:45 +01:00
José Valim
557014d45a Tidy up migration types. 2011-12-24 10:52:45 +01:00
Dmitrii Samoilov
7f5b51686c 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:52:45 +01:00
José Valim
c4ef3d34ee Remove unecessary config_accessors. 2011-12-24 10:52:45 +01:00
José Valim
ba868929d3 Provide a class optin for page_cache_compression. 2011-12-24 10:52:45 +01:00
Andrey A.I. Sitnik
754823dd66 Gzip files on page caching
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-12-24 10:52:45 +01:00
Jeremy Kemper
684448b0c6 Remove broken #compute_source_path 2011-12-23 18:00:01 -07:00
Jon Leighton
0a2e37975d Fix situation where id method didn't get defined causing postgres to fail 2011-12-23 21:12:37 +00:00
Vijay Dev
4a86708e29 Rails 3.2 Release Notes 2011-12-24 00:59:36 +05:30
Jon Leighton
9d9440f686 Doh, remove debugging line 2011-12-23 18:25:30 +00:00
Jon Leighton
7bb754eaed Fix #4046. 2011-12-23 18:22:44 +00:00
Alvaro Bautista
6b9ab88a48 serialize fails on subclass 2011-12-23 18:22:42 +00:00
Xavier Noria
824334c15c removes Enumerable#pluck from the AS guide 2011-12-23 09:50:50 +01:00
José Valim
35ded6fd08 Merge pull request #4141 from arunagw/fix_build
Fix build 3-2-stable
2011-12-22 23:08:19 -08:00
Jon Leighton
96c38eca23 Fix build when IM=true 2011-12-23 12:00:37 +05:30
Aaron Patterson
5f2bfce9e0 adding an integration test for splat regexp substitutions. fixes #4138 2011-12-22 18:53:09 -07:00
Aaron Patterson
a32d3d0ad9 Adding an integration test. Fixes #4136 2011-12-22 18:04:59 -07:00
Aaron Patterson
f2e65b7d54 Merge branch '3-2-stable' of github.com:rails/rails into 3-2-stable
* '3-2-stable' of github.com:rails/rails:
  Use sass-rails >= 3.2.2 for new apps
  Make ActiveRecord::Relation#pluck work with serialized attributes
  Make read_attribute code path accessible at the class level
2011-12-22 13:11:44 -07:00
Aaron Patterson
2bc3f81c89 rack bodies should be a list 2011-12-22 13:09:54 -07:00
Santiago Pastorino
6758941898 Use sass-rails >= 3.2.2 for new apps 2011-12-22 18:05:25 -02:00
Aaron Patterson
585e291250 refactoring routing tests 2011-12-22 12:56:36 -07:00
Jon Leighton
e46e4915ff Make ActiveRecord::Relation#pluck work with serialized attributes 2011-12-22 19:24:16 +00:00
Jon Leighton
7edade337e Make read_attribute code path accessible at the class level 2011-12-22 19:24:16 +00:00
Aaron Patterson
89e2647da6 Merge branch '3-2-stable' of github.com:rails/rails into 3-2-stable
* '3-2-stable' of github.com:rails/rails:
  [docs] added missing "}" fixes #4126
2011-12-22 12:21:57 -07:00
Aaron Patterson
c0563cec6d Revert "Added Enumerable#pluck to wrap the common pattern of collect(&:method) *DHH*"
This reverts commit 4d20de8a50.
2011-12-22 12:21:29 -07:00
Piotr Sarnacki
278a72ecea Merge pull request #4128 from arunagw/doc_fixes_3_2-stable
Doc fixes 3 2 stable
2011-12-22 02:03:58 -08:00
Arun Agrawal
8dc892618e [docs] added missing "}" fixes #4126 2011-12-22 12:36:15 +05:30
Aaron Patterson
1945bafba2 just require things once 2011-12-21 15:04:00 -07:00
Aaron Patterson
476dce4fc4 append puts the routes after the default, which causes a 404. instead use prepend 2011-12-21 15:03:56 -07:00
Lucas Mazza
b5bb3f8558 raises an ArgumentError if no valid options are given to TemplateRenderer#determine_template
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-12-21 21:17:17 +01:00
Jakub Kuźma
2d07c60b68 added failing tests for has_many, has_one and belongs_to associations with strict mass assignment sanitizer, fixed build_record to not merge creation_attributes, removed failing nested attributes tests (that feature was broken anyway) #4051
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-12-21 21:17:06 +01:00
Jeremy Kemper
108e34466c Move SubTestTask. Soften up tests. 2011-12-21 12:44:41 -07:00
Aaron Patterson
d5ccb5cf65 adding integration test for journey #7 2011-12-21 11:46:59 -07:00
Aaron Patterson
79778ffac5 caches should not be global, so no need to clear in the teardown 2011-12-21 11:46:53 -07:00
Jeremy Kemper
e85484814c Rails::SubTestTask warns on test failure and moves on. Renamed from TestTaskWithoutDescription.
This makes it easier to add your own tests to the default suite:

  namespace :test do
    task run: 'test:acceptance'

    Rails::SubTestTask.new acceptance: 'test:prepare' do |t|
      t.libs << 'test'
      t.pattern = 'test/acceptance/**/*_test.rb'
    end
  end

Now `rake` runs unit, functional, integration, and acceptance tests.
2011-12-21 10:15:39 -07:00
Hendy Tanata
efb75f774a Doc fixes on Rails::Generators::Base.hook_for. 2011-12-21 22:28:34 +05:30
José Valim
a2f5df526c Merge pull request #4080 from heimidal/3-2-stable
Fix regression in select form helper when options are non-string values
2011-12-20 13:48:34 -08:00
Brian Rose
a1b2dbd7d4 Check for response to #last instead of #first. 2011-12-20 13:38:16 -07:00
Brian Rose
bd89946dd3 Ensure option for select helper responds to #first before comparison. 2011-12-20 13:26:10 -07:00
Santiago Pastorino
cf2d31ab0b Merge pull request #4069 from arunagw/issue_4067
It should be README.rdoc
2011-12-20 10:17:40 -08:00
Arun Agrawal
490c00baeb It should be README.rdoc fixes #4067 2011-12-20 23:36:03 +05:30
José Valim
437f1e0af1 Merge pull request #4064 from nashby/date-helper-field-error-proc
fix adding field_with_errors to date selects, closes #3487
2011-12-20 09:43:58 -08:00
Vasiliy Ermolovich
92088131ac fix adding field_with_errors to date selects, closes #3487 2011-12-20 20:25:56 +03:00
Alex Tambellini
fec2999e65 Fix reference to old :sql schema_format location
After 15fb430 the default location of the :sql schema_format location was
changed from environment_name.sql to structure.sql. This pull request updates
a reference to the old schema format location in the migration guides.
2011-12-20 22:27:33 +05:30
Hendy Tanata
e149d5059b Improve doc for ActiveRecord::Base.unscoped. 2011-12-20 22:27:32 +05:30
José Valim
51e8adba43 Depend on 3-2-stable. 2011-12-20 17:15:53 +01:00