Commit Graph

18413 Commits

Author SHA1 Message Date
Joost Baaij
b39dfd5936 Document form_for behaviour when using file_field inside the block 2010-09-21 15:11:04 +02:00
Simone Carletti
f1fdc4ff0a Remove mention of Rails 3 deprecated option config.action_controller.use_accept_header.
See http://github.com/rails/rails/blob/v3.0.0/actionpack/lib/action_controller/deprecated/base.rb#L108-111
2010-09-20 17:27:26 +02:00
Diego Carrion
aa654ab065 updated instructions on how to change the default session store 2010-09-18 12:46:21 -03:00
Diego Carrion
a63749483c updated instructions to generate the migration for the ActiveRecord session store table 2010-09-18 12:46:21 -03:00
Andrew Ferk
7329ceb1b9 Updated yaffle_test.rb from 2.2 to require 'test_helper' and extend ActiveSupport::TestCase 2010-09-18 09:53:08 -05:00
Andrew Ferk
8050d94907 Removed leading : from database.yml file 2010-09-18 09:46:32 -05:00
Andrew Ferk
a2fddff035 Updated output that should be seen from the initial rake 2010-09-18 09:45:12 -05:00
Andrew Ferk
97350eea03 Updated test_helper.rb to require the init.rb file from the correct folder 2010-09-18 09:40:14 -05:00
Andrew Ferk
8a045e3c82 removed leading : from database.yml file. dbfile has been updated to database in database.yml 2010-09-18 09:37:54 -05:00
Andrew Ferk
1b2b5a7055 rails/init.rb is deprecated, so keep init.rb in root of plugin. updated for 1.3 Organized Your Files 2010-09-18 08:58:24 -05:00
Andrew Ferk
89eef55fb3 'rails generate plugin' --with-generator option has changed to --generator. Updated the output that is seen after executing 'rails generate plugin yaffle --generator' 2010-09-18 00:41:38 -05:00
Andrew Ferk
0c6ac67d2f added 'bundle install' command to h4. Create the Basic Application 2010-09-18 00:26:49 -05:00
Alexey Mahotkin
dfebdb1b03 Tiny fixes to rdoc 2010-09-16 17:10:36 +04:00
rspeicher
6f3ac42550 Typos 2010-09-15 19:19:48 -04:00
oamblet
bda6de2722 Updated old fashion form_for samples.
when 'form_for :resource, @resource ...' is found, remove the first argument (there is no need to use the :as option when the name is the same).
2010-09-15 10:11:07 +02:00
Fred Wu
cedc49dbd3 Updated the Cache Money repo link to one that works with Rails 3. 2010-09-15 14:22:43 +10:00
Jamison Dance
50b175030a fixed an unclear description in Sigular Resources. 2010-09-14 17:14:16 -06:00
Xavier Noria
dd6efe98b6 Merge remote branch 'docrails/master' 2010-09-14 20:07:29 +02:00
Carl Lerche
9362ef6e21 Require lazy_load_hooks.rb with the correct path. 2010-09-14 10:40:05 -07:00
Jack Dempsey
a427876606 require i18n in transliterate so it can run in isolated situations 2010-09-14 10:25:33 -07:00
rohit
b59a8d42c3 Application settings are specified in application.rb and not environment.rb 2010-09-14 10:07:34 +05:30
Xavier Noria
0207bc7cc9 get csrf_meta_tag back to the generated layout in deference to existing printed material, chomp also the generated HTML to be faithful to the output before the refactor 2010-09-14 01:35:44 +02:00
Carlhuda
d8d8334a0b Update changelog 2010-09-13 16:06:40 -07:00
Carlhuda
0fe99e87c0 Add tests for Rack::Cache 2010-09-13 16:06:03 -07:00
wycats
254ab7d916 First pass at Rack::Cache 2010-09-13 16:06:03 -07:00
W. Andrew Loe III
9cd094b8da Only send secure cookies over SSL. 2010-09-13 15:11:46 -07:00
Xavier Noria
0522b26cdf reviews 02656ac 2010-09-13 23:10:43 +02:00
Xavier Noria
2eb5476d22 copy-edits 4eb8987 2010-09-13 22:54:42 +02:00
Marcelo Giorgi
d5ef502d2a Reference watch_namespaces in comments instead of watch_modules 2010-09-13 17:53:39 -03:00
Carl Lerche
84d0c30cea Allow view helper's #initialize method to be called. [#5061 state:resolved] 2010-09-13 12:51:42 -07:00
Rohit Arondekar
3683745cbc Guides: Add test directory to load path to run individual test files. 2010-09-12 21:05:10 -07:00
Prem Sichanugrist
4eb89873c9 Add documentation for :spacer_template in Rails 3
This setting was existed since Rails 2.3.x, and seems like it have been left out when we rewriting the documentation.
2010-09-13 10:04:39 +07:00
Collin Miller
02656ac397 added documentation for :as and :object in PartialRenderer
Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
2010-09-13 11:48:01 +10:00
Mikel Lindsaar
bca9b84a4a Fixing documentation to reflect deprecated add_to_base 2010-09-12 14:19:38 +10:00
Aaron Patterson
8c6de675e4 Remove dummy method definition in favor of RDoc hints:
http://rdoc.rubyforge.org/RDoc/Parser/Ruby.html
2010-09-11 20:51:02 -07:00
Xavier Noria
9a8861f2e4 removes /i from the TRUSTED_PROXIES regexp, adds /x and comments for readability, adds a pointer to a Wikipedia section that documents the matched IPs 2010-09-12 01:37:07 +02:00
Collin Miller
96650f704a added block arguments to ActionController::Metal#use
Useful for cases such as warden, where a block configuration is taken.

    class SomeController < ApplicationController
      use RailsWarden::Manager do |manager|
        manager.default_strategies :facebook_oauth
        manager.failure_app = SomeController.action(:authorize)
      end
    end
2010-09-12 07:35:54 +08:00
Xavier Noria
0aa66f04e4 gets rid of a double negation, no need to force exactly true/false in a predicate 2010-09-12 00:58:29 +02:00
Piotr Sarnacki
11710c0d7d Fix routing test
Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
2010-09-11 23:26:17 +10:00
Piotr Sarnacki
b3f6c41e16 Change singular to param_key in form_helper, param_key is now used for generating field names
Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
2010-09-11 23:26:07 +10:00
Mikel Lindsaar
8b66c91c51 Partial revert of commit #7fae0aa4ac116 removing action_dispatch.prepare_dispatcher per commit #48bf667a8b1
See line note:
7fae0aa4ac (commitcomment-145148)
2010-09-11 20:45:40 +10:00
Xavier Noria
a87b92db7b revises implementation and documentation of csrf_meta_tags, and aliases csrf_meta_tag to it for backwards compatibilty 2010-09-11 11:05:00 +02:00
wycats
f6153f74da Merge remote branch 'drogus/engines' 2010-09-11 03:24:50 -05:00
Mikel Lindsaar
477df63433 Updating ActionMailer dependency to 2.2.6 2010-09-11 15:45:28 +10:00
Aaron Patterson
ac9c715947 passing the quoted id to arel if the object has a quoted id 2010-09-10 15:28:57 -07:00
Aaron Patterson
13aa1e11a0 converting an inject to a map + Hash[] 2010-09-10 15:28:57 -07:00
Emilio Tagua
61bacc4ada Add more examples in performance script.
[#5610 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-09-10 13:15:13 -07:00
Jeremy Kemper
68a4b1eac9 Ruby 1.9 compat: convert Pathname to string 2010-09-10 12:16:56 -07:00
Jeremy Kemper
2a820f3d1f Include addressable for AR perf bench 2010-09-10 12:16:56 -07:00
Jeremy Kemper
be9831ceb1 Switch back to mysql for easier comparison 2010-09-10 12:16:56 -07:00