Commit Graph

28899 Commits

Author SHA1 Message Date
Carlos Antonio da Silva
124838b508 Generate middleware http_only! config when running http only app generator
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:23 -03:00
Carlos Antonio da Silva
5c8c7ca2f9 Add http-only option to Rails app generator
Change application controller template accordingly, to inherit from
ActionController::HTTP and not generate protect_from_forgery call.

[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:23 -03:00
Santiago Pastorino
4c16791f35 Add ActionController::HTTP
More info http://edgeguides.rubyonrails.org/api_app.html

[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:23 -03:00
José Valim
cc1c4acc8e Merge pull request #5431 from bogdan/mas_performance
AM::MassAssingmentSecurity: improve performance
2012-03-14 06:06:06 -07:00
Vijay Dev
ab1b352a1c Merge pull request #5421 from parndt/master
Added missing 'end' to documentation example
2012-03-14 05:32:32 -07:00
Bogdan Gusiev
7d1379ffdb AM::MassAssingmentSecurity: improve performance 2012-03-14 14:11:52 +02:00
José Valim
29094c0788 Merge pull request #5425 from rafaelfranca/remove_key_value
Remove key_value helper now that master is 1.9 only and we always use the 1.9 hash syntax in the generators.
2012-03-14 01:12:50 -07:00
Rafael Mendonça França
1ced5ca67b Remove key_value helper now that master is 1.9 only and we always use
the 1.9 hash syntax in the generators.
2012-03-13 23:10:32 -03:00
José Valim
ec22a2b813 Update API guide with latest decisions. 2012-03-14 00:30:42 +01:00
Piotr Sarnacki
5520e36e48 [engines guide] Add information about running and reverting specified migrations [skip ci] 2012-03-14 00:29:07 +01:00
José Valim
795062282e Merge pull request #5261 from carlosantoniodasilva/identity-map-removal
Remove IdentityMap
2012-03-13 16:19:41 -07:00
Carlos Antonio da Silva
dde3058c3a Expand changelog and upgrading rails guide with IdentityMap info 2012-03-13 20:08:55 -03:00
Carlos Antonio da Silva
a8dd21d8b4 Remove IdentityMap 2012-03-13 20:08:54 -03:00
José Valim
c1f397f82c Merge pull request #5409 from rails/sprockets-rails
Remove sprockets integration from actionpack
2012-03-13 16:08:13 -07:00
Guillermo Iguaran
e823c8bd6f Add sprockets-rails to generated Gemfile. This should be reverted after sprockets-rails release on rubygems 2012-03-13 18:06:45 -05:00
Guillermo Iguaran
4b333812ad Depend on sprockets-rails v1.0 2012-03-13 18:06:45 -05:00
Guillermo Iguaran
e8296a0288 The sprockets railtie was moved to sprockets/rails/railtie 2012-03-13 18:06:02 -05:00
José Valim
adafefb51d Remove ARes from the list. 2012-03-14 00:00:34 +01:00
Guillermo Iguaran
272d3d72e8 Remove remaining sprockets tests 2012-03-13 18:00:32 -05:00
Guillermo Iguaran
b1a36a70c0 Remove sprockets dependency on actionpack 2012-03-13 18:00:32 -05:00
Guillermo Iguaran
78eed21576 Add sprockets-rails to rails project Gemfile 2012-03-13 18:00:31 -05:00
Guillermo Iguaran
7ea2c94046 Remove tests and fixtures for Sprockets on ActionPack 2012-03-13 18:00:31 -05:00
Guillermo Iguaran
a2fc3a0f49 Remove sprockets integration on ActionPack 2012-03-13 18:00:31 -05:00
José Valim
2d3550c4be Merge pull request #5415 from rafaelfranca/refactor
Refactor the test_unit scaffold generator to use the key_value method
2012-03-13 14:20:43 -07:00
Philip Arndt
9e8a938047 Added missing end to example 2012-03-14 10:11:55 +13:00
José Valim
ae67a63fe9 Merge pull request #572 from sikachu/remove_activeresource
Remove Active Resource source files from the repository.
2012-03-13 14:04:03 -07:00
Piotr Sarnacki
663b66fd53 Merge pull request #5420 from lest/patch-2
add include_hidden option to checkbox tag
2012-03-13 13:36:59 -07:00
Piotr Sarnacki
919db1bbbb Check for existence of exactly the called fixture_path= method 2012-03-13 21:28:34 +01:00
Sergey Nartimov
9fbb1767b5 add include_hidden option to checkbox tag 2012-03-13 23:17:49 +03:00
Piotr Sarnacki
52bfb48745 Environment in engines tests is required on boot_rails, no need to require explicitly 2012-03-13 21:01:45 +01:00
Piotr Sarnacki
5e754a0a98 Don't need to share engine's tests anymore, plugins are gone 2012-03-13 21:01:44 +01:00
Piotr Sarnacki
24e00e1eb7 Ensure that engine can be mounted at root (#4314)
It's already fixed and the fix was actually in journey library,
but with #4314 it reappeared second time, so probably this
kind of integration test will be good to have to not allow it to
sneak in after changes in journey or rails itself.
2012-03-13 21:01:44 +01:00
Prem Sichanugrist
f1637bf2bb Remove Active Resource source files from the repository
Dear Active Resource,

It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository.

I will miss you,

@sikachu.
2012-03-13 14:55:44 -04:00
José Valim
a85714a673 Merge pull request #5419 from nashby/patch-1
fix typo in AP CHANGELOG [ci skip]
2012-03-13 11:29:21 -07:00
Vasiliy Ermolovich
2731ffae74 fix typo in AP CHANGELOG [ci skip] 2012-03-13 21:24:41 +03:00
Vijay Dev
800c70a8f9 Merge branch 'master' of github.com:lifo/docrails 2012-03-13 23:29:30 +05:30
Alexey Vakhov
a9f688648c Fix AM Guide
Use proc as default argument to recaculate recipients array every time
2012-03-13 21:57:42 +04:00
Vijay Dev
6d0cc770ce mark engines guide as wip [ci skip] 2012-03-13 23:24:11 +05:30
Piotr Sarnacki
cb7d19b66b Merge pull request #5414 from nashby/select-hidden-input
add 'include_hidden' option to select tag, closes #5402
2012-03-13 10:51:46 -07:00
Vijay Dev
97b40e1e78 Revert "Fixed Issue #2884 ActiveModel::SecurePassword code / rdoc conflict; an elucidated explanation has been provided and ActiveModel en-locale updated to present a less confusing attribute name for 'password_digest' in form errors due to "has_secure_password""
This reverts commit ddbea9474e20a40e80110944c1e3493ba0efe572.

Reason: Includes non-doc changes.
2012-03-13 23:21:46 +05:30
Vijay Dev
25cbe00fbc copy-edit contributing guide [ci skip] 2012-03-13 23:21:41 +05:30
Aaron Patterson
dbdbe961cd Merge pull request #5416 from kennyj/fix_5399
Fix GH #5399. connection_pools's keys are ActiveRecord::Base::ConnectionSpecification objects.
2012-03-13 10:27:47 -07:00
Rafael Mendonça França
7c00cde79f Refactor the test_unit scaffold generator to use the key_value method 2012-03-13 14:19:03 -03:00
kennyj
fdb8805cdd Fix GH #5399. connection_pools's keys are ActiveRecord::Base::ConnectionSpecification objects. 2012-03-14 02:11:40 +09:00
Vasiliy Ermolovich
54a75e1a0f add 'include_hidden' option to select tag, closes #5402 2012-03-13 20:00:50 +03:00
José Valim
21b69b233b Merge pull request #5397 from rafaelfranca/fix-scaffold
Do not use the attributes hash in the scaffold functional tests
2012-03-13 07:38:23 -07:00
Rafael Mendonça França
08db3d5af3 Use the attributes hash explicitly 2012-03-13 11:21:29 -03:00
David Heinemeier Hansson
e7d55f734a Actually commit the change! 2012-03-13 10:00:15 -04:00
David Heinemeier Hansson
46313151bd Undo unwarranted change to coding conventions. I am not a fan of the aesthetics of private/public at the root but more importantly, we should not be changing coding conventions with almost a decades worth of history at a whim. The conventions are there to have a consistent coding style, that is their primary purpose. When there is so much existing code with the existing style, any change will have to lift an enormous burden of proof as to why its overwhelmingly superior. That is not the case here, so this is being reverted. 2012-03-13 09:57:51 -04:00
José Valim
fc3e9b32fd Merge pull request #5406 from parndt/fix_issue_5193_in_master
Fix issue #5193 in master
2012-03-13 05:24:03 -07:00