Commit Graph

26856 Commits

Author SHA1 Message Date
Bogdan Gusiev
4e8286fe12 AS::Callbacks: improved __define_runner performance 2012-01-03 22:14:33 +03:00
Bogdan Gusiev
9f8f4c2871 AS::Callbacks: improve __define_runner perfomance 2012-01-03 22:14:27 +03:00
Aaron Patterson
eafdf6c9bd Merge pull request #4279 from lest/fix-log
do not rewrite log during application bootstrap
2012-01-03 09:31:45 -08:00
Santiago Pastorino
ca24ee75af Merge pull request #4278 from kennyj/fix_rdoc_generating_problem
Use -e option instead of -c option (rake rdoc task).
2012-01-03 14:05:27 -02:00
José Valim
c032ff6e3c Merge pull request #4275 from lest/3-2-deprecate-activesupport-base64
deprecate AS::Base64 methods without DeprecatedConstantProxy
2012-01-03 05:55:51 -08:00
Sergey Nartimov
1fc53df661 deprecate AS::Base64 methods without DeprecatedConstantProxy 2012-01-03 16:37:20 +03:00
Santiago Pastorino
853de2bd9a Deprecate Rails::Plugin in favor of gems 2012-01-03 10:37:47 -02:00
José Valim
2535898acf Merge pull request #4273 from lest/fix-pg-version
use pg 0.11.0 under ruby 1.8.7
2012-01-03 03:51:10 -08:00
Sergey Nartimov
0b5cda73e2 use pg 0.11.0 under ruby 1.8.7 2012-01-03 14:47:31 +03:00
Xavier Noria
e369c4e67f Merge pull request #4268 from lest/3-2-deprecate-activesupport-base64
fix base64 requires
2012-01-02 14:21:13 -08:00
Sergey Nartimov
4f440a3833 fix base64 requires 2012-01-03 01:18:34 +03:00
Xavier Noria
7bdfbac580 Merge pull request #4267 from lest/3-2-deprecate-activesupport-base64
deprecate ActiveSupport::Base64
2012-01-02 14:00:32 -08:00
Sergey Nartimov
5f09414f85 deprecate ActiveSupport::Base64
extend and define ::Base64 if needed
2012-01-03 00:57:03 +03:00
Vijay Dev
6e9cd38468 DRY up guides index page
Use the list of guides available in documents.yaml to fill in the
menu in the index page instead of duplicating the list again. Also,
remove WIP guides from the menu.
2012-01-01 23:04:37 +05:30
Alejandro Andrés
8be9d92c8b Fixed documentation error in code examples from form_tag_helper.rb 2011-12-31 19:11:00 +05:30
Sam Umbach
95a83cc248 SCSS processor is provided by the sass gem 2011-12-31 19:11:00 +05:30
Sam Umbach
003d0ff3f8 Minor readability improvements 2011-12-31 19:11:00 +05:30
Vijay Dev
ba19837a89 fix a couple of formatting issues 2011-12-31 19:11:00 +05:30
Vijay Dev
0a048f3a4f remove wiki link 2011-12-31 19:11:00 +05:30
Aaron Patterson
f12d90486c Merge pull request #4227 from gazay/3-2-stable-marshalling
3 2 stable marshalling
2011-12-30 10:04:39 -08:00
Xavier Noria
0814e745b7 adds a comments that clarifies why Range#include? chooses the comparison operator 2011-12-30 02:25:00 -08:00
Sergey Nartimov
71f59b72fe refactor Range#include? to handle ranges with floats
Conflicts:

	activesupport/lib/active_support/core_ext/range/include_range.rb
2011-12-30 02:24:46 -08:00
Aaron Patterson
766eda3e11 fixing typo. Thanks Vijay! 2011-12-29 10:23:48 -08:00
Vijay Dev
63c6feefc9 revise some doc changes 2011-12-29 23:39:06 +05:30
Kevin Moore
2e533e3435 Documented about using :path option for resources 2011-12-29 23:39:06 +05:30
Alejandro Andrés
5f57d2ad90 Fixed formatting of code examples in form_tag_helper.rb 2011-12-29 23:39:06 +05:30
Jo Liss
d8a43e2650 Document that index names are made up of all columns, not just the first.
index_name has been using the following expression

    "index_#{table_name}_on_#{Array.wrap(options[:column]) * '_and_'}"

since at least 2006 (bc7f2315), and that's how they come out in my DB.

Please check that this is correct before merging into master, perhaps
I'm misunderstanding the section I changed.
2011-12-29 23:39:06 +05:30
Uģis Ozols
bea4f9aa3f Remove unnecessary comma. 2011-12-29 23:39:06 +05:30
Alexey Gaziev
b815676ea9 Backward compatibility with 3.1 cache storing 2011-12-29 10:13:04 +08:00
Aaron Patterson
f423bdc10b Merge pull request #4216 from edgecase/master_fix_reorder_with_limited_ids
allow reorder to affect eager loading correctly
2011-12-28 17:04:23 -08:00
Aaron Patterson
80f2eeb138 Revert "Merge pull request #4196 from gazay/3-2-stable-marshalling"
This reverts commit df3701872d, reversing
changes made to a0fd9fb017.
2011-12-28 16:55:41 -08:00
Aaron Patterson
50af25ba87 last named route wins. fixes #4164
This differs from route recognition where first recognized route wins.
This will not be supported in Rails 4.0 so that route recognition and
generation rules are consistent.
2011-12-28 16:33:40 -08:00
Xavier Noria
7a80ac0162 app code in general wants Time.current, not Time.now 2011-12-28 23:47:31 +01:00
Jon Leighton
bbafe73d8f Revert "Further simplify singleton_class checking in class_attribute"
This reverts commit 520918aad9.

Reason: build failure
2011-12-28 18:45:28 +00:00
Aaron Patterson
df3701872d Merge pull request #4196 from gazay/3-2-stable-marshalling
3.2 stable marshalling
2011-12-28 10:10:36 -08:00
Santiago Pastorino
a0fd9fb017 Add CHANGELOG entry 2011-12-28 15:55:06 -02:00
Santiago Pastorino
2004a13130 Bump to rack 1.4.0 2011-12-28 15:53:08 -02:00
James Miller
520918aad9 Further simplify singleton_class checking in class_attribute 2011-12-28 09:47:36 -08:00
Xavier Noria
40cab62560 Merge pull request #4217 from tapajos/patch-2
Remove empty line
2011-12-28 07:01:21 -08:00
Marcos Tapajós
7767159a15 Remove empty line. 2011-12-28 12:57:20 -02:00
José Valim
d547761eb3 Merge pull request #4210 from tapajos/patch-1
Fix #4208
2011-12-28 00:32:36 -08:00
Marcos Tapajós
b3490d82ba Closes #4208 2011-12-27 20:31:29 -02:00
Alexey Gaziev
f7b1906ed7 Safe getting value from cache entry 2011-12-27 10:54:05 +08:00
Piotr Sarnacki
d7cfb63636 Correctly display rack apps with dynamic constraints in RoutesInspector
If you used dynamic constraint like that:

  scope :constraint => MyConstraint.new do
    mount RackApp => "/foo"
  end

routes were not displayed correctly when using `rake routes`.
This commit fixes it. If you want nice display of dynamic
constraints in `rake routes` output, please just override
to_s method in your constraint's class.
2011-12-26 11:54:27 +01:00
Vijay Dev
4cf40d04e4 add back the version info to the title in guides index page 2011-12-25 22:13:04 +05:30
Vijay Dev
68564eb2a1 Some fixes in rails guides generation
* Passing edge information to the views fixes the lack of the edge badge
and sets the appropriate welcome page on edgeguides.rubyonrails.org.
* Changes in the welcome message to hyper link the rails tree based on
the version.
* Mention the Amazon url from where kindlegen can be downloaded.
2011-12-25 20:45:27 +05:30
Vijay Dev
7a3121b0f2 fix kindle apps link in edge guides index 2011-12-25 19:40:52 +05:30
Michael Pearson
51fd3f37d9 Mip Earson -> Michael Pearson in changelog. 2011-12-25 19:40:52 +05:30
Xavier Noria
7ec847336f registers guide generation for the Kindle and Kindle apps in the Changelog 2011-12-25 04:13:28 -08:00
Xavier Noria
d6d561eed9 download guides for the Kindle and Kindle apps from the home page 2011-12-25 04:10:21 -08:00