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
Aaron Patterson
a11dd8ac87
specific number of spaces should not be enforced
2010-09-10 11:51:32 -07:00
Xavier Noria
2e2ac863d8
append asset IDs to the examples of the RDoc of #javascript_include_tag, and quick edit pass
2010-09-10 20:12:00 +02:00
Aaron Patterson
a8b4bdb3d6
avoid method_missing and reduce method calls
2010-09-10 10:22:22 -07:00
Piotr Sarnacki
497b6af881
Set default asset_path only for engine
2010-09-10 17:20:16 +02:00
Marcelo Giorgi
a513f8f8bb
intersection between a relation and an array works in both directions
...
Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com >
2010-09-10 21:14:07 +10:00
kane
1c283765b6
added a test for relation which checks intersection between a relation and an array works in both directions
...
Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com >
2010-09-10 21:13:57 +10:00
Raimonds Simanovskis
af2a011df2
fixed Subject model after_initialize callback for test_oracle_synonym test
2010-09-09 18:27:53 -07:00
Simon Jefford
7fae0aa4ac
Add configuration option for tld length
2010-09-09 18:26:35 -07:00
Brian Cardarella
5949e705f4
Let YARD document the railties gem
2010-09-09 18:24:34 -07:00
wycats
74b49e87bb
Simplify form_for by removing *args and extract_options! (at asakusa.rb)
2010-09-09 18:24:33 -07:00