José Valim
e1824c5991
Remove remaining http_only? calls.
2012-03-14 22:58:32 +01:00
José Valim
6db930cb5b
Remove --http.
2012-03-14 22:30:01 +01:00
Piotr Sarnacki
1efeb072bf
Merge pull request #5357 from bagilevi/sweeper-undefined-method-ignored
...
Don't ignore call to undefined method in Sweeper
2012-03-14 12:53:19 -07:00
José Valim
25861e22a1
Merge pull request #5439 from carlosantoniodasilva/rake-test-scaffold
...
Fix scaffold controller template and ensure rake test for scaffold works
2012-03-14 12:42:08 -07:00
Carlos Antonio da Silva
2963ee6b4b
Fix scaffold controller template, ensure rake scaffold test pass by default
2012-03-14 14:47:20 -03:00
Santiago Pastorino
35262b7cd2
Add API apps CHANGELOG entry
2012-03-14 13:02:03 -03:00
José Valim
da07433578
Update railties/guides/source/api_app.textile
2012-03-14 16:53:43 +01:00
Carlos Antonio da Silva
96aea58f22
Do not generate app/views and sprockets entries on http app
...
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:25 -03:00
Carlos Antonio da Silva
570cc89bad
Generate special controller and functional test templates for http apps
...
The main goal is to not generate the format.html block in scaffold
controller, and to generate a different functional test as we don't rely
on redirects anymore, we should test for http responses.
In addition to that, the :edit action is removed from the http
controller and the edit route is not generated by default, as they
usually do not make sense in this scenario.
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:25 -03:00
Carlos Antonio da Silva
3e138df977
Rename http-only app generator option to http
...
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:24 -03:00
Carlos Antonio da Silva
2c0f6b0d8a
Move http only option to AppGenerator
...
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:24 -03:00
Carlos Antonio da Silva
7f3847cc14
Add test to ensure setting config.generators.http_only actually disables the generator options
...
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:24 -03:00
Carlos Antonio da Silva
ff8e9e07b4
Allow generator configs from http_only! to be overriden by app
...
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:24 -03:00
Carlos Antonio da Silva
2b355757d5
Remove duplicated tests from shared generator
...
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:24 -03:00
Carlos Antonio da Silva
858a30e571
Refactor http_only, remove reader method
...
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:24 -03:00
Carlos Antonio da Silva
219ff43639
Disable template, helper and assets options when using http_only!
...
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:24 -03:00
Carlos Antonio da Silva
c825e9a5ea
Create generators http_only! setup and hide some common namespaces for now
...
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-14 12:46:24 -03:00
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