Commit Graph

8103 Commits

Author SHA1 Message Date
Piotr Sarnacki
5520e36e48 [engines guide] Add information about running and reverting specified migrations [skip ci] 2012-03-14 00:29:07 +01: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
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
e8296a0288 The sprockets railtie was moved to sprockets/rails/railtie 2012-03-13 18:06:02 -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
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
919db1bbbb Check for existence of exactly the called fixture_path= method 2012-03-13 21:28:34 +01: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
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
Vijay Dev
25cbe00fbc copy-edit contributing guide [ci skip] 2012-03-13 23:21:41 +05:30
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
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
Philip Arndt
f0ee9e6889 Fixed problem when fixture_path is not always defined (incidentally, only when ActiveRecord is according to test_help.rb). 2012-03-13 23:28:42 +13:00
Philip Arndt
5088f8ce06 Fixes issue #5193 using the instructions provided in the issue. 2012-03-13 23:27:50 +13:00
Ryan Bigg
30b2dd431e [config guide] Add mass_assignment_sanitizer to Active Record config options 2012-03-12 16:01:57 -07:00
Rafael Mendonça França
7ad4c7c881 Do not use the attributes hash in the scaffold functional tests 2012-03-12 19:45:01 -03:00
Aaron Patterson
10e1ce4fb9 use AS::Logger so we are consistent 2012-03-12 14:27:28 -07:00
Aaron Patterson
51aeae91ac allow people to specify custom formatters, use the default formatter in production so that PID and timestamp are logged. fixes #5388 2012-03-12 14:25:41 -07:00
Filipe Moreira
6c93fbc516 Advise to keep secret token private 2012-03-12 21:19:58 +01:00
Filipe Moreira
0b36ad7066 Advise to keep secret token private 2012-03-12 21:13:17 +01:00
Andrew White
ca99beb4a9 Add documentation for find_or_create_by_{attribute}! method. 2012-03-12 15:02:18 +00:00
Avi Tzurel
78954acde7 Merge remote-tracking branch 'original_repo/master' 2012-03-12 12:03:57 +02:00
Ryan Bigg
36bd5c9742 Add engines guide to documents.yaml 2012-03-11 16:20:11 -07:00
Ryan Bigg
507df096f4 [instrumentation] Add further action placeholders 2012-03-11 16:19:09 -07:00
Ryan Bigg
a42eedb3a3 [instrumentation guide] Cover deliver.action_mailer event 2012-03-11 16:19:09 -07:00
Ryan Bigg
4daef7427b [instrumentation guide] Cover receive.action_mailer event 2012-03-11 16:19:09 -07:00
José Valim
6c0d5a19a4 Merge pull request #5366 from parndt/fix_issue_5324
Fixes #5324 by removing default size options from input:text and default cols and rows options from textarea.
2012-03-11 15:04:23 -07:00
Andrew France
625cb12f21 attr_accessor_with_default was deprecated and removed.
Deprecated in 673372152032a886ba9196c69348386834590eab and removed in 9cafc28874a681082f9f7e1e445db91f195a25ae.
2012-03-11 13:28:25 +00:00
Avi Tzurel
8de49fe461 Squash commits into a single commit 2012-03-11 12:34:31 +02:00
Michael Koziarski
411a826583 Merge pull request #5326 from lest/patch-2
configure how unverified request will be handled
2012-03-10 16:16:35 -08:00
Santiago Pastorino
147c20b629 Fix broken tests 2012-03-10 19:15:29 -02:00
Carlos Antonio da Silva
ec40f6cec0 Change api_only to http_only
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-10 10:15:35 -03:00
Carlos Antonio da Silva
6b28c94e20 Add some docs for MiddlewareStackProxy methods and api_only!
[Carlos Antonio da Silva & Santiago Pastorino]
2012-03-10 10:15:35 -03:00
Philip Arndt
3384ee24ad Fixes #5324 by removing default size options from input:text and default cols and rows options from textarea. 2012-03-10 23:30:39 +13:00
Grant McLean
129ba87dc4 fix fragment portion of some links 2012-03-10 20:58:40 +13:00
Abe Voelker
35a0521c3c Fix 'Security#Mass Assignment' URL typo 2012-03-09 15:15:01 -06:00
Sergey Nartimov
245941101b configure how unverified request will be handled
can be configured using `:with` option in `protect_from_forgery` method
or `request_forgery_protection_method` config option

possible values:
- :reset_session (default)
- :exception

new applications are generated with:

    protect_from_forgery :with => :exception
2012-03-09 19:33:06 +03:00
João Britto
3288107d30 Document validations and callbacks Array support for :if and :unless options 2012-03-09 12:13:34 -03:00
João Britto
8761824037 Close string quotes 2012-03-09 12:13:13 -03:00
José Valim
ee0879f6ce Merge pull request #5356 from carlosantoniodasilva/rake-test-system
Use one system call whenever possible, group rake and Dir.chdir calls
2012-03-09 06:25:34 -08:00
Rafael Mendonça França
d804790634 Fix my name in the CHANGELOG to follow the convention
Also add missing entries and use the formating convention
2012-03-09 00:54:21 -03:00