railties 3.1.3 → 3.1.4.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +17 -2
- data/guides/source/3_1_release_notes.textile +107 -0
- data/guides/source/active_record_querying.textile +1 -1
- data/guides/source/asset_pipeline.textile +3 -11
- data/guides/source/configuring.textile +3 -1
- data/guides/source/i18n.textile +1 -1
- data/guides/source/performance_testing.textile +1 -1
- data/guides/source/routing.textile +1 -1
- data/lib/rails/application.rb +21 -1
- data/lib/rails/application/configuration.rb +3 -1
- data/lib/rails/generators/app_base.rb +19 -5
- data/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +2 -0
- data/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +4 -0
- data/lib/rails/tasks/documentation.rake +1 -1
- data/lib/rails/version.rb +2 -2
- metadata +335 -491
- data/guides/output/2_2_release_notes.html +0 -565
- data/guides/output/2_3_release_notes.html +0 -713
- data/guides/output/3_0_release_notes.html +0 -652
- data/guides/output/3_1_release_notes.html +0 -670
- data/guides/output/action_controller_overview.html +0 -925
- data/guides/output/action_mailer_basics.html +0 -658
- data/guides/output/action_view_overview.html +0 -1471
- data/guides/output/active_model_basics.html +0 -349
- data/guides/output/active_record_basics.html +0 -364
- data/guides/output/active_record_querying.html +0 -1272
- data/guides/output/active_record_validations_callbacks.html +0 -1292
- data/guides/output/active_resource_basics.html +0 -252
- data/guides/output/active_support_core_extensions.html +0 -3374
- data/guides/output/ajax_on_rails.html +0 -412
- data/guides/output/api_documentation_guidelines.html +0 -317
- data/guides/output/asset_pipeline.html +0 -691
- data/guides/output/association_basics.html +0 -1742
- data/guides/output/caching_with_rails.html +0 -533
- data/guides/output/command_line.html +0 -662
- data/guides/output/configuring.html +0 -811
- data/guides/output/contribute.html +0 -216
- data/guides/output/contributing_to_ruby_on_rails.html +0 -465
- data/guides/output/credits.html +0 -210
- data/guides/output/debugging_rails_applications.html +0 -791
- data/guides/output/engines.html +0 -673
- data/guides/output/form_helpers.html +0 -850
- data/guides/output/generators.html +0 -725
- data/guides/output/getting_started.html +0 -1980
- data/guides/output/i18n.html +0 -1054
- data/guides/output/images/belongs_to.png +0 -0
- data/guides/output/images/book_icon.gif +0 -0
- data/guides/output/images/bullet.gif +0 -0
- data/guides/output/images/challenge.png +0 -0
- data/guides/output/images/chapters_icon.gif +0 -0
- data/guides/output/images/check_bullet.gif +0 -0
- data/guides/output/images/credits_pic_blank.gif +0 -0
- data/guides/output/images/csrf.png +0 -0
- data/guides/output/images/customized_error_messages.png +0 -0
- data/guides/output/images/edge_badge.png +0 -0
- data/guides/output/images/error_messages.png +0 -0
- data/guides/output/images/feature_tile.gif +0 -0
- data/guides/output/images/footer_tile.gif +0 -0
- data/guides/output/images/fxn.png +0 -0
- data/guides/output/images/grey_bullet.gif +0 -0
- data/guides/output/images/habtm.png +0 -0
- data/guides/output/images/has_many.png +0 -0
- data/guides/output/images/has_many_through.png +0 -0
- data/guides/output/images/has_one.png +0 -0
- data/guides/output/images/has_one_through.png +0 -0
- data/guides/output/images/header_backdrop.png +0 -0
- data/guides/output/images/header_tile.gif +0 -0
- data/guides/output/images/i18n/demo_html_safe.png +0 -0
- data/guides/output/images/i18n/demo_localized_pirate.png +0 -0
- data/guides/output/images/i18n/demo_translated_en.png +0 -0
- data/guides/output/images/i18n/demo_translated_pirate.png +0 -0
- data/guides/output/images/i18n/demo_translation_missing.png +0 -0
- data/guides/output/images/i18n/demo_untranslated.png +0 -0
- data/guides/output/images/icons/README +0 -5
- data/guides/output/images/icons/callouts/1.png +0 -0
- data/guides/output/images/icons/callouts/10.png +0 -0
- data/guides/output/images/icons/callouts/11.png +0 -0
- data/guides/output/images/icons/callouts/12.png +0 -0
- data/guides/output/images/icons/callouts/13.png +0 -0
- data/guides/output/images/icons/callouts/14.png +0 -0
- data/guides/output/images/icons/callouts/15.png +0 -0
- data/guides/output/images/icons/callouts/2.png +0 -0
- data/guides/output/images/icons/callouts/3.png +0 -0
- data/guides/output/images/icons/callouts/4.png +0 -0
- data/guides/output/images/icons/callouts/5.png +0 -0
- data/guides/output/images/icons/callouts/6.png +0 -0
- data/guides/output/images/icons/callouts/7.png +0 -0
- data/guides/output/images/icons/callouts/8.png +0 -0
- data/guides/output/images/icons/callouts/9.png +0 -0
- data/guides/output/images/icons/caution.png +0 -0
- data/guides/output/images/icons/example.png +0 -0
- data/guides/output/images/icons/home.png +0 -0
- data/guides/output/images/icons/important.png +0 -0
- data/guides/output/images/icons/next.png +0 -0
- data/guides/output/images/icons/note.png +0 -0
- data/guides/output/images/icons/prev.png +0 -0
- data/guides/output/images/icons/tip.png +0 -0
- data/guides/output/images/icons/up.png +0 -0
- data/guides/output/images/icons/warning.png +0 -0
- data/guides/output/images/jaimeiniesta.jpg +0 -0
- data/guides/output/images/nav_arrow.gif +0 -0
- data/guides/output/images/polymorphic.png +0 -0
- data/guides/output/images/posts_index.png +0 -0
- data/guides/output/images/radar.png +0 -0
- data/guides/output/images/rails_guides_logo.gif +0 -0
- data/guides/output/images/rails_logo_remix.gif +0 -0
- data/guides/output/images/rails_welcome.png +0 -0
- data/guides/output/images/session_fixation.png +0 -0
- data/guides/output/images/tab_grey.gif +0 -0
- data/guides/output/images/tab_info.gif +0 -0
- data/guides/output/images/tab_note.gif +0 -0
- data/guides/output/images/tab_red.gif +0 -0
- data/guides/output/images/tab_yellow.gif +0 -0
- data/guides/output/images/tab_yellow.png +0 -0
- data/guides/output/images/validation_error_messages.png +0 -0
- data/guides/output/images/vijaydev.jpg +0 -0
- data/guides/output/index.html +0 -300
- data/guides/output/initialization.html +0 -1087
- data/guides/output/javascripts/guides.js +0 -7
- data/guides/output/javascripts/syntaxhighlighter/shBrushAS3.js +0 -59
- data/guides/output/javascripts/syntaxhighlighter/shBrushAppleScript.js +0 -75
- data/guides/output/javascripts/syntaxhighlighter/shBrushBash.js +0 -59
- data/guides/output/javascripts/syntaxhighlighter/shBrushCSharp.js +0 -65
- data/guides/output/javascripts/syntaxhighlighter/shBrushColdFusion.js +0 -100
- data/guides/output/javascripts/syntaxhighlighter/shBrushCpp.js +0 -97
- data/guides/output/javascripts/syntaxhighlighter/shBrushCss.js +0 -91
- data/guides/output/javascripts/syntaxhighlighter/shBrushDelphi.js +0 -55
- data/guides/output/javascripts/syntaxhighlighter/shBrushDiff.js +0 -41
- data/guides/output/javascripts/syntaxhighlighter/shBrushErlang.js +0 -52
- data/guides/output/javascripts/syntaxhighlighter/shBrushGroovy.js +0 -67
- data/guides/output/javascripts/syntaxhighlighter/shBrushJScript.js +0 -52
- data/guides/output/javascripts/syntaxhighlighter/shBrushJava.js +0 -57
- data/guides/output/javascripts/syntaxhighlighter/shBrushJavaFX.js +0 -58
- data/guides/output/javascripts/syntaxhighlighter/shBrushPerl.js +0 -72
- data/guides/output/javascripts/syntaxhighlighter/shBrushPhp.js +0 -88
- data/guides/output/javascripts/syntaxhighlighter/shBrushPlain.js +0 -33
- data/guides/output/javascripts/syntaxhighlighter/shBrushPowerShell.js +0 -74
- data/guides/output/javascripts/syntaxhighlighter/shBrushPython.js +0 -64
- data/guides/output/javascripts/syntaxhighlighter/shBrushRuby.js +0 -55
- data/guides/output/javascripts/syntaxhighlighter/shBrushSass.js +0 -94
- data/guides/output/javascripts/syntaxhighlighter/shBrushScala.js +0 -51
- data/guides/output/javascripts/syntaxhighlighter/shBrushSql.js +0 -66
- data/guides/output/javascripts/syntaxhighlighter/shBrushVb.js +0 -56
- data/guides/output/javascripts/syntaxhighlighter/shBrushXml.js +0 -69
- data/guides/output/javascripts/syntaxhighlighter/shCore.js +0 -17
- data/guides/output/layout.html +0 -312
- data/guides/output/layouts_and_rendering.html +0 -1257
- data/guides/output/migrations.html +0 -751
- data/guides/output/nested_model_forms.html +0 -350
- data/guides/output/performance_testing.html +0 -858
- data/guides/output/plugins.html +0 -590
- data/guides/output/rails_application_templates.html +0 -368
- data/guides/output/rails_on_rack.html +0 -408
- data/guides/output/routing.html +0 -1246
- data/guides/output/ruby_on_rails_guides_guidelines.html +0 -218
- data/guides/output/security.html +0 -968
- data/guides/output/stylesheets/fixes.css +0 -16
- data/guides/output/stylesheets/main.css +0 -445
- data/guides/output/stylesheets/print.css +0 -52
- data/guides/output/stylesheets/reset.css +0 -43
- data/guides/output/stylesheets/style.css +0 -13
- data/guides/output/stylesheets/syntaxhighlighter/shCore.css +0 -226
- data/guides/output/stylesheets/syntaxhighlighter/shCoreDefault.css +0 -328
- data/guides/output/stylesheets/syntaxhighlighter/shCoreDjango.css +0 -331
- data/guides/output/stylesheets/syntaxhighlighter/shCoreEclipse.css +0 -339
- data/guides/output/stylesheets/syntaxhighlighter/shCoreEmacs.css +0 -324
- data/guides/output/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +0 -328
- data/guides/output/stylesheets/syntaxhighlighter/shCoreMDUltra.css +0 -324
- data/guides/output/stylesheets/syntaxhighlighter/shCoreMidnight.css +0 -324
- data/guides/output/stylesheets/syntaxhighlighter/shCoreRDark.css +0 -324
- data/guides/output/stylesheets/syntaxhighlighter/shThemeDefault.css +0 -117
- data/guides/output/stylesheets/syntaxhighlighter/shThemeDjango.css +0 -120
- data/guides/output/stylesheets/syntaxhighlighter/shThemeEclipse.css +0 -128
- data/guides/output/stylesheets/syntaxhighlighter/shThemeEmacs.css +0 -113
- data/guides/output/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +0 -117
- data/guides/output/stylesheets/syntaxhighlighter/shThemeMDUltra.css +0 -113
- data/guides/output/stylesheets/syntaxhighlighter/shThemeMidnight.css +0 -113
- data/guides/output/stylesheets/syntaxhighlighter/shThemeRDark.css +0 -113
- data/guides/output/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +0 -116
- data/guides/output/testing.html +0 -1182
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
## Rails 3.1.
|
|
1
|
+
## Rails 3.1.4 (unreleased) ##
|
|
2
|
+
|
|
3
|
+
* Setting config.force_ssl also marks the session cookie as secure.
|
|
4
|
+
|
|
5
|
+
*José Valim*
|
|
6
|
+
|
|
7
|
+
* Add therubyrhino to Gemfile in new applications when running under JRuby.
|
|
8
|
+
|
|
9
|
+
*Guillermo Iguaran*
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Rails 3.1.3 (November 20, 2011) ##
|
|
2
13
|
|
|
3
14
|
* New apps should be generated with a sass-rails dependency of 3.1.5, not 3.1.5.rc.2
|
|
4
15
|
|
|
5
|
-
|
|
16
|
+
|
|
17
|
+
## Rails 3.1.2 (November 18, 2011) ##
|
|
6
18
|
|
|
7
19
|
* Engines: don't blow up if db/seeds.rb is missing.
|
|
8
20
|
|
|
@@ -13,6 +25,7 @@
|
|
|
13
25
|
|
|
14
26
|
*José Valim*
|
|
15
27
|
|
|
28
|
+
|
|
16
29
|
## Rails 3.1.1 (October 7, 2011) ##
|
|
17
30
|
|
|
18
31
|
* Add jquery-rails to Gemfile of plugins, test/dummy app needs it. Closes #3091. *Santiago Pastorino*
|
|
@@ -26,6 +39,8 @@
|
|
|
26
39
|
Plugins developers need to special case their initializers that are
|
|
27
40
|
meant to be run in the assets group by adding :group => :assets.
|
|
28
41
|
|
|
42
|
+
*José Valim*
|
|
43
|
+
|
|
29
44
|
|
|
30
45
|
## Rails 3.1.0 (August 30, 2011) ##
|
|
31
46
|
|
|
@@ -21,6 +21,113 @@ Rails 3.1 requires Ruby 1.8.7 or higher. Support for all of the previous Ruby ve
|
|
|
21
21
|
|
|
22
22
|
TIP: Note that Ruby 1.8.7 p248 and p249 have marshaling bugs that crash Rails. Ruby Enterprise Edition have these fixed since release 1.8.7-2010.02 though. On the 1.9 front, Ruby 1.9.1 is not usable because it outright segfaults, so if you want to use 1.9.x jump on 1.9.2 for smooth sailing.
|
|
23
23
|
|
|
24
|
+
h4. What to update in your apps
|
|
25
|
+
|
|
26
|
+
The following changes are meant for upgrading your application to Rails 3.1.3, the latest 3.1.x version of Rails.
|
|
27
|
+
|
|
28
|
+
h5. Gemfile
|
|
29
|
+
|
|
30
|
+
Make the following changes to your +Gemfile+.
|
|
31
|
+
|
|
32
|
+
<ruby>
|
|
33
|
+
gem 'rails', '= 3.1.3'
|
|
34
|
+
gem 'mysql2'
|
|
35
|
+
|
|
36
|
+
# Needed for the new asset pipeline
|
|
37
|
+
group :assets do
|
|
38
|
+
gem 'sass-rails', "~> 3.1.5"
|
|
39
|
+
gem 'coffee-rails', "~> 3.1.1"
|
|
40
|
+
gem 'uglifier', ">= 1.0.3"
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# jQuery is the default JavaScript library in Rails 3.1
|
|
44
|
+
gem 'jquery-rails'
|
|
45
|
+
</ruby>
|
|
46
|
+
|
|
47
|
+
h5. config/application.rb
|
|
48
|
+
|
|
49
|
+
* The asset pipeline requires the following additions:
|
|
50
|
+
|
|
51
|
+
<ruby>
|
|
52
|
+
config.assets.enabled = true
|
|
53
|
+
config.assets.version = '1.0'
|
|
54
|
+
</ruby>
|
|
55
|
+
|
|
56
|
+
* If your application is using the "/assets" route for a resource you may want change the prefix used for assets to avoid conflicts:
|
|
57
|
+
|
|
58
|
+
<ruby>
|
|
59
|
+
# Defaults to '/assets'
|
|
60
|
+
config.assets.prefix = '/asset-files'
|
|
61
|
+
</ruby>
|
|
62
|
+
|
|
63
|
+
h5. config/environments/development.rb
|
|
64
|
+
|
|
65
|
+
* Remove the RJS setting <tt>config.action_view.debug_rjs = true</tt>.
|
|
66
|
+
|
|
67
|
+
* Add the following, if you enable the asset pipeline.
|
|
68
|
+
|
|
69
|
+
<ruby>
|
|
70
|
+
# Do not compress assets
|
|
71
|
+
config.assets.compress = false
|
|
72
|
+
|
|
73
|
+
# Expands the lines which load the assets
|
|
74
|
+
config.assets.debug = true
|
|
75
|
+
</ruby>
|
|
76
|
+
|
|
77
|
+
h5. config/environments/production.rb
|
|
78
|
+
|
|
79
|
+
* Again, most of the changes below are for the asset pipeline. You can read more about these in the "Asset Pipeline":asset_pipeline.html guide.
|
|
80
|
+
|
|
81
|
+
<ruby>
|
|
82
|
+
# Compress JavaScripts and CSS
|
|
83
|
+
config.assets.compress = true
|
|
84
|
+
|
|
85
|
+
# Don't fallback to assets pipeline if a precompiled asset is missed
|
|
86
|
+
config.assets.compile = false
|
|
87
|
+
|
|
88
|
+
# Generate digests for assets URLs
|
|
89
|
+
config.assets.digest = true
|
|
90
|
+
|
|
91
|
+
# Defaults to Rails.root.join("public/assets")
|
|
92
|
+
# config.assets.manifest = YOUR_PATH
|
|
93
|
+
|
|
94
|
+
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
|
95
|
+
# config.assets.precompile += %w( search.js )
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
|
99
|
+
# config.force_ssl = true
|
|
100
|
+
|
|
101
|
+
</ruby>
|
|
102
|
+
|
|
103
|
+
h5. config/environments/test.rb
|
|
104
|
+
|
|
105
|
+
<ruby>
|
|
106
|
+
# Configure static asset server for tests with Cache-Control for performance
|
|
107
|
+
config.serve_static_assets = true
|
|
108
|
+
config.static_cache_control = "public, max-age=3600"
|
|
109
|
+
</ruby>
|
|
110
|
+
|
|
111
|
+
h5. config/initializers/wrap_parameters.rb
|
|
112
|
+
|
|
113
|
+
* Add this file with the following contents, if you wish to wrap parameters into a nested hash. This is on by default in new applications.
|
|
114
|
+
|
|
115
|
+
<ruby>
|
|
116
|
+
# Be sure to restart your server when you modify this file.
|
|
117
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
|
118
|
+
# is enabled by default.
|
|
119
|
+
|
|
120
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
|
121
|
+
ActiveSupport.on_load(:action_controller) do
|
|
122
|
+
wrap_parameters :format => [:json]
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# Disable root element in JSON by default.
|
|
126
|
+
ActiveSupport.on_load(:active_record) do
|
|
127
|
+
self.include_root_in_json = false
|
|
128
|
+
end
|
|
129
|
+
</ruby>
|
|
130
|
+
|
|
24
131
|
h3. Creating a Rails 3.1 application
|
|
25
132
|
|
|
26
133
|
<shell>
|
|
@@ -939,7 +939,7 @@ When a +lambda+ is used for a +scope+, it can take arguments:
|
|
|
939
939
|
|
|
940
940
|
<ruby>
|
|
941
941
|
class Post < ActiveRecord::Base
|
|
942
|
-
scope :1_week_before, lambda { |time| where("created_at < ?", time)
|
|
942
|
+
scope :1_week_before, lambda { |time| where("created_at < ?", time) }
|
|
943
943
|
end
|
|
944
944
|
</ruby>
|
|
945
945
|
|
|
@@ -369,10 +369,10 @@ It is important that this folder is shared between deployments so that remotely
|
|
|
369
369
|
|
|
370
370
|
NOTE. If you are precompiling your assets locally, you can use +bundle install --without assets+ on the server to avoid installing the assets gems (the gems in the assets group in the Gemfile).
|
|
371
371
|
|
|
372
|
-
The default matcher for compiling files includes +application.js+, +application.css+ and all files
|
|
372
|
+
The default matcher for compiling files includes +application.js+, +application.css+ and all non-JS/CSS files (ie. +.coffee+ and +.scss+ files are *not* automatically included as they compile to JS/CSS):
|
|
373
373
|
|
|
374
374
|
<ruby>
|
|
375
|
-
[
|
|
375
|
+
[ Proc.new{ |path| !File.extname(path).in?(['.js', '.css']) }, /application.(css|js)$/ ]
|
|
376
376
|
</ruby>
|
|
377
377
|
|
|
378
378
|
If you have other manifests or individual stylesheets and JavaScript files to include, you can add them to the +precompile+ array:
|
|
@@ -410,10 +410,6 @@ For Apache:
|
|
|
410
410
|
|
|
411
411
|
<plain>
|
|
412
412
|
<LocationMatch "^/assets/.*$">
|
|
413
|
-
# Some browsers still send conditional-GET requests if there's a
|
|
414
|
-
# Last-Modified header or an ETag header even if they haven't
|
|
415
|
-
# reached the expiry date sent in the Expires header.
|
|
416
|
-
Header unset Last-Modified
|
|
417
413
|
Header unset ETag
|
|
418
414
|
FileETag None
|
|
419
415
|
# RFC says only cache for 1 year
|
|
@@ -429,10 +425,6 @@ location ~ ^/assets/ {
|
|
|
429
425
|
expires 1y;
|
|
430
426
|
add_header Cache-Control public;
|
|
431
427
|
|
|
432
|
-
# Some browsers still send conditional-GET requests if there's a
|
|
433
|
-
# Last-Modified header or an ETag header even if they haven't
|
|
434
|
-
# reached the expiry date sent in the Expires header.
|
|
435
|
-
add_header Last-Modified "";
|
|
436
428
|
add_header ETag "";
|
|
437
429
|
break;
|
|
438
430
|
}
|
|
@@ -577,7 +569,7 @@ TODO: Registering gems on "Tilt":https://github.com/rtomayko/tilt enabling Sproc
|
|
|
577
569
|
|
|
578
570
|
h3. Upgrading from Old Versions of Rails
|
|
579
571
|
|
|
580
|
-
There are two issues when upgrading. The first is moving the files to the new locations. See
|
|
572
|
+
There are two issues when upgrading. The first is moving the files to the new locations. See "Asset Organization":#asset-organization above for guidance on the correct locations for different file types.
|
|
581
573
|
|
|
582
574
|
The second is updating the various environment files with the correct default options. The following changes reflect the defaults in version 3.1.0.
|
|
583
575
|
|
|
@@ -181,7 +181,7 @@ h4. Configuring Middleware
|
|
|
181
181
|
|
|
182
182
|
Every Rails application comes with a standard set of middleware which it uses in this order in the development environment:
|
|
183
183
|
|
|
184
|
-
* +Rack::SSL+ Will force every request to be under HTTPS protocol. Will be available if +config.force_ssl+ is set to +true+.
|
|
184
|
+
* +Rack::SSL+ Will force every request to be under HTTPS protocol. Will be available if +config.force_ssl+ is set to +true+. Options passed to this can be configured by using +config.ssl_options+.
|
|
185
185
|
* +ActionDispatch::Static+ is used to serve static assets. Disabled if +config.serve_static_assets+ is +true+.
|
|
186
186
|
* +Rack::Lock+ Will wrap the app in mutex so it can only be called by a single thread at a time. Only enabled if +config.action_controller.allow_concurrency+ is set to +false+, which it is by default.
|
|
187
187
|
* +ActiveSupport::Cache::Strategy::LocalCache+ Serves as a basic memory backed cache. This cache is not thread safe and is intended only for serving as a temporary memory cache for a single thread.
|
|
@@ -263,6 +263,8 @@ h4. Configuring Active Record
|
|
|
263
263
|
|
|
264
264
|
* +config.active_record.whitelist_attributes+ will create an empty whitelist of attributes available for mass-assignment security for all models in your app.
|
|
265
265
|
|
|
266
|
+
* +config.active_record.identity_map+ controls whether the identity map is enabled, and is false by default.
|
|
267
|
+
|
|
266
268
|
The MySQL adapter adds one additional configuration option:
|
|
267
269
|
|
|
268
270
|
* +ActiveRecord::ConnectionAdapters::MysqlAdapter.emulate_booleans+ controls whether Active Record will consider all +tinyint(1)+ columns in a MySQL database to be booleans and is true by default.
|
data/guides/source/i18n.textile
CHANGED
|
@@ -825,7 +825,7 @@ h5. Active Record Methods
|
|
|
825
825
|
|
|
826
826
|
* +ActiveRecord::Errors#generate_message+ (which is used by Active Record validations but may also be used manually) uses +model_name.human+ and +human_attribute_name+ (see above). It also translates the error message and supports translations for inherited class names as explained above in "Error message scopes".
|
|
827
827
|
|
|
828
|
-
|
|
828
|
+
* +ActiveRecord::Errors#full_messages+ prepends the attribute name to the error message using a separator that will be looked up from "activerecord.errors.format.separator":https://github.com/rails/rails/blob/master/actionpack/lib/action_view/locale/en.yml#L91 (and which defaults to +' '+).
|
|
829
829
|
|
|
830
830
|
h5. Active Support Methods
|
|
831
831
|
|
|
@@ -151,7 +151,7 @@ Performance tests can be run in two modes: Benchmarking and Profiling.
|
|
|
151
151
|
|
|
152
152
|
h5. Benchmarking
|
|
153
153
|
|
|
154
|
-
Benchmarking makes it easy to quickly gather a few metrics about each test
|
|
154
|
+
Benchmarking makes it easy to quickly gather a few metrics about each test run. By default, each test case is run *4 times* in benchmarking mode.
|
|
155
155
|
|
|
156
156
|
To run performance tests in benchmarking mode:
|
|
157
157
|
|
|
@@ -653,7 +653,7 @@ You can use the +:constraints+ option to specify a required format on the implic
|
|
|
653
653
|
resources :photos, :constraints => {:id => /[A-Z][A-Z][0-9]+/}
|
|
654
654
|
</ruby>
|
|
655
655
|
|
|
656
|
-
This declaration
|
|
656
|
+
This declaration constrains the +:id+ parameter to match the supplied regular expression. So, in this case, the router would no longer match +/photos/1+ to this route. Instead, +/photos/RR27+ would match.
|
|
657
657
|
|
|
658
658
|
You can specify a single constraint to apply to a number of routes by using the block form:
|
|
659
659
|
|
data/lib/rails/application.rb
CHANGED
|
@@ -138,6 +138,11 @@ module Rails
|
|
|
138
138
|
self
|
|
139
139
|
end
|
|
140
140
|
|
|
141
|
+
def call(env)
|
|
142
|
+
env["ORIGINAL_FULLPATH"] = build_original_fullpath(env)
|
|
143
|
+
super(env)
|
|
144
|
+
end
|
|
145
|
+
|
|
141
146
|
protected
|
|
142
147
|
|
|
143
148
|
alias :build_middleware_stack :app
|
|
@@ -151,7 +156,7 @@ module Rails
|
|
|
151
156
|
|
|
152
157
|
if config.force_ssl
|
|
153
158
|
require "rack/ssl"
|
|
154
|
-
middleware.use ::Rack::SSL
|
|
159
|
+
middleware.use ::Rack::SSL, config.ssl_options
|
|
155
160
|
end
|
|
156
161
|
|
|
157
162
|
if config.serve_static_assets
|
|
@@ -170,6 +175,9 @@ module Rails
|
|
|
170
175
|
middleware.use ::ActionDispatch::Cookies
|
|
171
176
|
|
|
172
177
|
if config.session_store
|
|
178
|
+
if config.force_ssl && !config.session_options.key?(:secure)
|
|
179
|
+
config.session_options[:secure] = true
|
|
180
|
+
end
|
|
173
181
|
middleware.use config.session_store, config.session_options
|
|
174
182
|
middleware.use ::ActionDispatch::Flash
|
|
175
183
|
end
|
|
@@ -204,5 +212,17 @@ module Rails
|
|
|
204
212
|
require "rails/console/app"
|
|
205
213
|
require "rails/console/helpers"
|
|
206
214
|
end
|
|
215
|
+
|
|
216
|
+
def build_original_fullpath(env)
|
|
217
|
+
path_info = env["PATH_INFO"]
|
|
218
|
+
query_string = env["QUERY_STRING"]
|
|
219
|
+
script_name = env["SCRIPT_NAME"]
|
|
220
|
+
|
|
221
|
+
if query_string.present?
|
|
222
|
+
"#{script_name}#{path_info}?#{query_string}"
|
|
223
|
+
else
|
|
224
|
+
"#{script_name}#{path_info}"
|
|
225
|
+
end
|
|
226
|
+
end
|
|
207
227
|
end
|
|
208
228
|
end
|
|
@@ -10,7 +10,8 @@ module Rails
|
|
|
10
10
|
:dependency_loading, :filter_parameters,
|
|
11
11
|
:force_ssl, :helpers_paths, :logger, :preload_frameworks,
|
|
12
12
|
:reload_plugins, :secret_token, :serve_static_assets,
|
|
13
|
-
:
|
|
13
|
+
:ssl_options, :static_cache_control, :session_options,
|
|
14
|
+
:time_zone, :whiny_nils
|
|
14
15
|
|
|
15
16
|
attr_writer :log_level
|
|
16
17
|
attr_reader :encoding
|
|
@@ -26,6 +27,7 @@ module Rails
|
|
|
26
27
|
@serve_static_assets = true
|
|
27
28
|
@static_cache_control = nil
|
|
28
29
|
@force_ssl = false
|
|
30
|
+
@ssl_options = {}
|
|
29
31
|
@session_store = :cookie_store
|
|
30
32
|
@session_options = {}
|
|
31
33
|
@time_zone = "UTC"
|
|
@@ -200,20 +200,34 @@ module Rails
|
|
|
200
200
|
end
|
|
201
201
|
end
|
|
202
202
|
|
|
203
|
-
def javascript_gemfile_entry
|
|
204
|
-
"gem '#{options[:javascript]}-rails'" unless options[:skip_javascript]
|
|
205
|
-
end
|
|
206
|
-
|
|
207
203
|
def assets_gemfile_entry
|
|
208
|
-
|
|
204
|
+
return if options[:skip_sprockets]
|
|
205
|
+
gemfile = <<-GEMFILE.strip_heredoc
|
|
209
206
|
# Gems used only for assets and not required
|
|
210
207
|
# in production environments by default.
|
|
211
208
|
group :assets do
|
|
212
209
|
gem 'sass-rails', #{options.dev? || options.edge? ? " :git => 'git://github.com/rails/sass-rails.git', :branch => '3-1-stable'" : " '~> 3.1.5'"}
|
|
213
210
|
gem 'coffee-rails', #{options.dev? || options.edge? ? ":git => 'git://github.com/rails/coffee-rails.git', :branch => '3-1-stable'" : "'~> 3.1.1'"}
|
|
211
|
+
|
|
212
|
+
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
|
213
|
+
#{javascript_runtime_gemfile_entry}
|
|
214
214
|
gem 'uglifier', '>= 1.0.3'
|
|
215
215
|
end
|
|
216
216
|
GEMFILE
|
|
217
|
+
|
|
218
|
+
gemfile.strip_heredoc.gsub(/^[ \t]*$/, '')
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
def javascript_gemfile_entry
|
|
222
|
+
"gem '#{options[:javascript]}-rails'" unless options[:skip_javascript]
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
def javascript_runtime_gemfile_entry
|
|
226
|
+
if defined?(JRUBY_VERSION)
|
|
227
|
+
"gem 'therubyrhino'\n"
|
|
228
|
+
else
|
|
229
|
+
"# gem 'therubyracer'\n"
|
|
230
|
+
end
|
|
217
231
|
end
|
|
218
232
|
|
|
219
233
|
def bundle_command(command)
|
|
@@ -22,9 +22,11 @@
|
|
|
22
22
|
# Only use best-standards-support built into browsers
|
|
23
23
|
config.action_dispatch.best_standards_support = :builtin
|
|
24
24
|
|
|
25
|
+
<%- unless options.skip_sprockets? -%>
|
|
25
26
|
# Do not compress assets
|
|
26
27
|
config.assets.compress = false
|
|
27
28
|
|
|
28
29
|
# Expands the lines which load the assets
|
|
29
30
|
config.assets.debug = true
|
|
31
|
+
<%- end -%>
|
|
30
32
|
end
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
# Disable Rails's static asset server (Apache or nginx will already do this)
|
|
12
12
|
config.serve_static_assets = false
|
|
13
13
|
|
|
14
|
+
<%- unless options.skip_sprockets? -%>
|
|
14
15
|
# Compress JavaScripts and CSS
|
|
15
16
|
config.assets.compress = true
|
|
16
17
|
|
|
@@ -22,6 +23,7 @@
|
|
|
22
23
|
|
|
23
24
|
# Defaults to Rails.root.join("public/assets")
|
|
24
25
|
# config.assets.manifest = YOUR_PATH
|
|
26
|
+
<%- end -%>
|
|
25
27
|
|
|
26
28
|
# Specifies the header that your server uses for sending files
|
|
27
29
|
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
|
@@ -42,8 +44,10 @@
|
|
|
42
44
|
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
|
43
45
|
# config.action_controller.asset_host = "http://assets.example.com"
|
|
44
46
|
|
|
47
|
+
<%- unless options.skip_sprockets? -%>
|
|
45
48
|
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
|
46
49
|
# config.assets.precompile += %w( search.js )
|
|
50
|
+
<%- end -%>
|
|
47
51
|
|
|
48
52
|
# Disable delivery errors, bad email addresses will be ignored
|
|
49
53
|
# config.action_mailer.raise_delivery_errors = false
|
|
@@ -61,7 +61,7 @@ namespace :doc do
|
|
|
61
61
|
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
|
|
62
62
|
rdoc.title = "Rails Framework Documentation"
|
|
63
63
|
rdoc.options << '--line-numbers'
|
|
64
|
-
rdoc.rdoc_files.include('README')
|
|
64
|
+
rdoc.rdoc_files.include('README.rdoc')
|
|
65
65
|
|
|
66
66
|
gem_path('actionmailer') do |actionmailer|
|
|
67
67
|
%w(README.rdoc CHANGELOG.md MIT-LICENSE lib/action_mailer/base.rb).each do |file|
|
data/lib/rails/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: railties
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 15424071
|
|
5
|
+
prerelease: 6
|
|
6
6
|
segments:
|
|
7
7
|
- 3
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
|
|
9
|
+
- 4
|
|
10
|
+
- rc
|
|
11
|
+
- 1
|
|
12
|
+
version: 3.1.4.rc1
|
|
11
13
|
platform: ruby
|
|
12
14
|
authors:
|
|
13
15
|
- David Heinemeier Hansson
|
|
@@ -15,13 +17,12 @@ autorequire:
|
|
|
15
17
|
bindir: bin
|
|
16
18
|
cert_chain: []
|
|
17
19
|
|
|
18
|
-
date:
|
|
20
|
+
date: 2012-02-22 00:00:00 Z
|
|
19
21
|
dependencies:
|
|
20
22
|
- !ruby/object:Gem::Dependency
|
|
21
23
|
name: rake
|
|
22
|
-
type: :runtime
|
|
23
24
|
prerelease: false
|
|
24
|
-
|
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
25
26
|
none: false
|
|
26
27
|
requirements:
|
|
27
28
|
- - ">="
|
|
@@ -32,12 +33,12 @@ dependencies:
|
|
|
32
33
|
- 8
|
|
33
34
|
- 7
|
|
34
35
|
version: 0.8.7
|
|
35
|
-
|
|
36
|
+
type: :runtime
|
|
37
|
+
version_requirements: *id001
|
|
36
38
|
- !ruby/object:Gem::Dependency
|
|
37
39
|
name: thor
|
|
38
|
-
type: :runtime
|
|
39
40
|
prerelease: false
|
|
40
|
-
|
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
41
42
|
none: false
|
|
42
43
|
requirements:
|
|
43
44
|
- - ~>
|
|
@@ -48,12 +49,12 @@ dependencies:
|
|
|
48
49
|
- 14
|
|
49
50
|
- 6
|
|
50
51
|
version: 0.14.6
|
|
51
|
-
|
|
52
|
+
type: :runtime
|
|
53
|
+
version_requirements: *id002
|
|
52
54
|
- !ruby/object:Gem::Dependency
|
|
53
55
|
name: rack-ssl
|
|
54
|
-
type: :runtime
|
|
55
56
|
prerelease: false
|
|
56
|
-
|
|
57
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
57
58
|
none: false
|
|
58
59
|
requirements:
|
|
59
60
|
- - ~>
|
|
@@ -64,12 +65,12 @@ dependencies:
|
|
|
64
65
|
- 3
|
|
65
66
|
- 2
|
|
66
67
|
version: 1.3.2
|
|
67
|
-
|
|
68
|
+
type: :runtime
|
|
69
|
+
version_requirements: *id003
|
|
68
70
|
- !ruby/object:Gem::Dependency
|
|
69
71
|
name: rdoc
|
|
70
|
-
type: :runtime
|
|
71
72
|
prerelease: false
|
|
72
|
-
|
|
73
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
73
74
|
none: false
|
|
74
75
|
requirements:
|
|
75
76
|
- - ~>
|
|
@@ -79,39 +80,44 @@ dependencies:
|
|
|
79
80
|
- 3
|
|
80
81
|
- 4
|
|
81
82
|
version: "3.4"
|
|
82
|
-
|
|
83
|
+
type: :runtime
|
|
84
|
+
version_requirements: *id004
|
|
83
85
|
- !ruby/object:Gem::Dependency
|
|
84
86
|
name: activesupport
|
|
85
|
-
type: :runtime
|
|
86
87
|
prerelease: false
|
|
87
|
-
|
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
|
88
89
|
none: false
|
|
89
90
|
requirements:
|
|
90
91
|
- - "="
|
|
91
92
|
- !ruby/object:Gem::Version
|
|
92
|
-
hash:
|
|
93
|
+
hash: 15424071
|
|
93
94
|
segments:
|
|
94
95
|
- 3
|
|
95
96
|
- 1
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
- 4
|
|
98
|
+
- rc
|
|
99
|
+
- 1
|
|
100
|
+
version: 3.1.4.rc1
|
|
101
|
+
type: :runtime
|
|
102
|
+
version_requirements: *id005
|
|
99
103
|
- !ruby/object:Gem::Dependency
|
|
100
104
|
name: actionpack
|
|
101
|
-
type: :runtime
|
|
102
105
|
prerelease: false
|
|
103
|
-
|
|
106
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
|
104
107
|
none: false
|
|
105
108
|
requirements:
|
|
106
109
|
- - "="
|
|
107
110
|
- !ruby/object:Gem::Version
|
|
108
|
-
hash:
|
|
111
|
+
hash: 15424071
|
|
109
112
|
segments:
|
|
110
113
|
- 3
|
|
111
114
|
- 1
|
|
112
|
-
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
- 4
|
|
116
|
+
- rc
|
|
117
|
+
- 1
|
|
118
|
+
version: 3.1.4.rc1
|
|
119
|
+
type: :runtime
|
|
120
|
+
version_requirements: *id006
|
|
115
121
|
description: "Rails internals: application bootup, plugins, generators, and rake tasks."
|
|
116
122
|
email: david@loudthinking.com
|
|
117
123
|
executables: []
|
|
@@ -123,572 +129,408 @@ extra_rdoc_files: []
|
|
|
123
129
|
files:
|
|
124
130
|
- CHANGELOG.md
|
|
125
131
|
- README.rdoc
|
|
126
|
-
- guides/assets/
|
|
127
|
-
- guides/assets/
|
|
128
|
-
- guides/assets/
|
|
129
|
-
- guides/assets/
|
|
130
|
-
- guides/assets/
|
|
131
|
-
- guides/assets/
|
|
132
|
-
- guides/assets/
|
|
133
|
-
- guides/assets/
|
|
134
|
-
- guides/assets/
|
|
135
|
-
- guides/assets/
|
|
136
|
-
- guides/assets/
|
|
137
|
-
- guides/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css
|
|
138
|
-
- guides/assets/stylesheets/syntaxhighlighter/shCoreDefault.css
|
|
139
|
-
- guides/assets/stylesheets/syntaxhighlighter/shCoreRDark.css
|
|
140
|
-
- guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css
|
|
141
|
-
- guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css
|
|
142
|
-
- guides/assets/stylesheets/syntaxhighlighter/shThemeDjango.css
|
|
143
|
-
- guides/assets/stylesheets/syntaxhighlighter/shCore.css
|
|
144
|
-
- guides/assets/stylesheets/fixes.css
|
|
145
|
-
- guides/assets/stylesheets/print.css
|
|
146
|
-
- guides/assets/stylesheets/reset.css
|
|
147
|
-
- guides/assets/stylesheets/style.css
|
|
148
|
-
- guides/assets/stylesheets/main.css
|
|
149
|
-
- guides/assets/images/validation_error_messages.png
|
|
150
|
-
- guides/assets/images/grey_bullet.gif
|
|
151
|
-
- guides/assets/images/rails_welcome.png
|
|
152
|
-
- guides/assets/images/has_one_through.png
|
|
153
|
-
- guides/assets/images/rails_guides_logo.gif
|
|
154
|
-
- guides/assets/images/posts_index.png
|
|
155
|
-
- guides/assets/images/header_backdrop.png
|
|
156
|
-
- guides/assets/images/session_fixation.png
|
|
132
|
+
- guides/assets/images/belongs_to.png
|
|
133
|
+
- guides/assets/images/book_icon.gif
|
|
134
|
+
- guides/assets/images/bullet.gif
|
|
135
|
+
- guides/assets/images/challenge.png
|
|
136
|
+
- guides/assets/images/chapters_icon.gif
|
|
137
|
+
- guides/assets/images/check_bullet.gif
|
|
138
|
+
- guides/assets/images/credits_pic_blank.gif
|
|
139
|
+
- guides/assets/images/csrf.png
|
|
140
|
+
- guides/assets/images/customized_error_messages.png
|
|
141
|
+
- guides/assets/images/edge_badge.png
|
|
142
|
+
- guides/assets/images/error_messages.png
|
|
157
143
|
- guides/assets/images/feature_tile.gif
|
|
144
|
+
- guides/assets/images/footer_tile.gif
|
|
145
|
+
- guides/assets/images/fxn.png
|
|
146
|
+
- guides/assets/images/grey_bullet.gif
|
|
158
147
|
- guides/assets/images/habtm.png
|
|
159
|
-
- guides/assets/images/
|
|
160
|
-
- guides/assets/images/
|
|
148
|
+
- guides/assets/images/has_many.png
|
|
149
|
+
- guides/assets/images/has_many_through.png
|
|
161
150
|
- guides/assets/images/has_one.png
|
|
162
|
-
- guides/assets/images/
|
|
163
|
-
- guides/assets/images/
|
|
164
|
-
- guides/assets/images/
|
|
165
|
-
- guides/assets/images/
|
|
166
|
-
- guides/assets/images/
|
|
167
|
-
- guides/assets/images/
|
|
168
|
-
- guides/assets/images/
|
|
169
|
-
- guides/assets/images/
|
|
170
|
-
- guides/assets/images/
|
|
171
|
-
- guides/assets/images/icons/important.png
|
|
172
|
-
- guides/assets/images/icons/callouts/3.png
|
|
173
|
-
- guides/assets/images/icons/callouts/4.png
|
|
174
|
-
- guides/assets/images/icons/callouts/8.png
|
|
175
|
-
- guides/assets/images/icons/callouts/7.png
|
|
176
|
-
- guides/assets/images/icons/callouts/6.png
|
|
177
|
-
- guides/assets/images/icons/callouts/10.png
|
|
178
|
-
- guides/assets/images/icons/callouts/2.png
|
|
179
|
-
- guides/assets/images/icons/callouts/15.png
|
|
180
|
-
- guides/assets/images/icons/callouts/14.png
|
|
151
|
+
- guides/assets/images/has_one_through.png
|
|
152
|
+
- guides/assets/images/header_backdrop.png
|
|
153
|
+
- guides/assets/images/header_tile.gif
|
|
154
|
+
- guides/assets/images/i18n/demo_html_safe.png
|
|
155
|
+
- guides/assets/images/i18n/demo_localized_pirate.png
|
|
156
|
+
- guides/assets/images/i18n/demo_translated_en.png
|
|
157
|
+
- guides/assets/images/i18n/demo_translated_pirate.png
|
|
158
|
+
- guides/assets/images/i18n/demo_translation_missing.png
|
|
159
|
+
- guides/assets/images/i18n/demo_untranslated.png
|
|
181
160
|
- guides/assets/images/icons/callouts/1.png
|
|
161
|
+
- guides/assets/images/icons/callouts/10.png
|
|
162
|
+
- guides/assets/images/icons/callouts/11.png
|
|
182
163
|
- guides/assets/images/icons/callouts/12.png
|
|
164
|
+
- guides/assets/images/icons/callouts/13.png
|
|
165
|
+
- guides/assets/images/icons/callouts/14.png
|
|
166
|
+
- guides/assets/images/icons/callouts/15.png
|
|
167
|
+
- guides/assets/images/icons/callouts/2.png
|
|
168
|
+
- guides/assets/images/icons/callouts/3.png
|
|
169
|
+
- guides/assets/images/icons/callouts/4.png
|
|
183
170
|
- guides/assets/images/icons/callouts/5.png
|
|
171
|
+
- guides/assets/images/icons/callouts/6.png
|
|
172
|
+
- guides/assets/images/icons/callouts/7.png
|
|
173
|
+
- guides/assets/images/icons/callouts/8.png
|
|
184
174
|
- guides/assets/images/icons/callouts/9.png
|
|
185
|
-
- guides/assets/images/icons/
|
|
186
|
-
- guides/assets/images/icons/
|
|
187
|
-
- guides/assets/images/icons/note.png
|
|
175
|
+
- guides/assets/images/icons/caution.png
|
|
176
|
+
- guides/assets/images/icons/example.png
|
|
188
177
|
- guides/assets/images/icons/home.png
|
|
178
|
+
- guides/assets/images/icons/important.png
|
|
179
|
+
- guides/assets/images/icons/next.png
|
|
180
|
+
- guides/assets/images/icons/note.png
|
|
181
|
+
- guides/assets/images/icons/prev.png
|
|
189
182
|
- guides/assets/images/icons/README
|
|
183
|
+
- guides/assets/images/icons/tip.png
|
|
190
184
|
- guides/assets/images/icons/up.png
|
|
191
|
-
- guides/assets/images/icons/
|
|
192
|
-
- guides/assets/images/
|
|
193
|
-
- guides/assets/images/
|
|
194
|
-
- guides/assets/images/has_many_through.png
|
|
195
|
-
- guides/assets/images/header_tile.gif
|
|
196
|
-
- guides/assets/images/i18n/demo_translation_missing.png
|
|
197
|
-
- guides/assets/images/i18n/demo_untranslated.png
|
|
198
|
-
- guides/assets/images/i18n/demo_localized_pirate.png
|
|
199
|
-
- guides/assets/images/i18n/demo_translated_pirate.png
|
|
200
|
-
- guides/assets/images/i18n/demo_translated_en.png
|
|
201
|
-
- guides/assets/images/i18n/demo_html_safe.png
|
|
185
|
+
- guides/assets/images/icons/warning.png
|
|
186
|
+
- guides/assets/images/jaimeiniesta.jpg
|
|
187
|
+
- guides/assets/images/nav_arrow.gif
|
|
202
188
|
- guides/assets/images/polymorphic.png
|
|
203
|
-
- guides/assets/images/
|
|
204
|
-
- guides/assets/images/
|
|
189
|
+
- guides/assets/images/posts_index.png
|
|
190
|
+
- guides/assets/images/radar.png
|
|
191
|
+
- guides/assets/images/rails_guides_logo.gif
|
|
192
|
+
- guides/assets/images/rails_logo_remix.gif
|
|
193
|
+
- guides/assets/images/rails_welcome.png
|
|
194
|
+
- guides/assets/images/session_fixation.png
|
|
195
|
+
- guides/assets/images/tab_grey.gif
|
|
196
|
+
- guides/assets/images/tab_info.gif
|
|
205
197
|
- guides/assets/images/tab_note.gif
|
|
206
|
-
- guides/assets/images/error_messages.png
|
|
207
|
-
- guides/assets/images/vijaydev.jpg
|
|
208
|
-
- guides/assets/images/tab_yellow.gif
|
|
209
|
-
- guides/assets/images/challenge.png
|
|
210
|
-
- guides/assets/images/belongs_to.png
|
|
211
|
-
- guides/assets/images/credits_pic_blank.gif
|
|
212
198
|
- guides/assets/images/tab_red.gif
|
|
213
|
-
- guides/assets/images/
|
|
214
|
-
- guides/assets/images/
|
|
215
|
-
- guides/assets/images/
|
|
216
|
-
- guides/assets/images/
|
|
217
|
-
- guides/assets/
|
|
218
|
-
- guides/assets/
|
|
219
|
-
- guides/assets/images/check_bullet.gif
|
|
220
|
-
- guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js
|
|
221
|
-
- guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js
|
|
199
|
+
- guides/assets/images/tab_yellow.gif
|
|
200
|
+
- guides/assets/images/tab_yellow.png
|
|
201
|
+
- guides/assets/images/validation_error_messages.png
|
|
202
|
+
- guides/assets/images/vijaydev.jpg
|
|
203
|
+
- guides/assets/javascripts/guides.js
|
|
204
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js
|
|
222
205
|
- guides/assets/javascripts/syntaxhighlighter/shBrushAS3.js
|
|
223
|
-
- guides/assets/javascripts/syntaxhighlighter/
|
|
224
|
-
- guides/assets/javascripts/syntaxhighlighter/
|
|
206
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushBash.js
|
|
207
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js
|
|
208
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js
|
|
209
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js
|
|
210
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushCss.js
|
|
211
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushDelphi.js
|
|
225
212
|
- guides/assets/javascripts/syntaxhighlighter/shBrushDiff.js
|
|
226
213
|
- guides/assets/javascripts/syntaxhighlighter/shBrushErlang.js
|
|
227
|
-
- guides/assets/javascripts/syntaxhighlighter/shBrushScala.js
|
|
228
214
|
- guides/assets/javascripts/syntaxhighlighter/shBrushGroovy.js
|
|
215
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushJava.js
|
|
216
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js
|
|
217
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js
|
|
218
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js
|
|
229
219
|
- guides/assets/javascripts/syntaxhighlighter/shBrushPhp.js
|
|
230
220
|
- guides/assets/javascripts/syntaxhighlighter/shBrushPlain.js
|
|
231
|
-
- guides/assets/javascripts/syntaxhighlighter/
|
|
232
|
-
- guides/assets/javascripts/syntaxhighlighter/
|
|
221
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js
|
|
222
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushPython.js
|
|
233
223
|
- guides/assets/javascripts/syntaxhighlighter/shBrushRuby.js
|
|
234
|
-
- guides/assets/javascripts/syntaxhighlighter/shBrushVb.js
|
|
235
|
-
- guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js
|
|
236
|
-
- guides/assets/javascripts/syntaxhighlighter/shBrushJava.js
|
|
237
|
-
- guides/assets/javascripts/syntaxhighlighter/shBrushBash.js
|
|
238
224
|
- guides/assets/javascripts/syntaxhighlighter/shBrushSass.js
|
|
239
|
-
- guides/assets/javascripts/syntaxhighlighter/
|
|
240
|
-
- guides/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js
|
|
225
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushScala.js
|
|
241
226
|
- guides/assets/javascripts/syntaxhighlighter/shBrushSql.js
|
|
242
|
-
- guides/assets/javascripts/syntaxhighlighter/
|
|
243
|
-
- guides/assets/javascripts/syntaxhighlighter/
|
|
244
|
-
- guides/assets/javascripts/syntaxhighlighter/
|
|
245
|
-
- guides/assets/
|
|
246
|
-
- guides/assets/
|
|
247
|
-
- guides/
|
|
248
|
-
- guides/
|
|
249
|
-
- guides/
|
|
250
|
-
- guides/
|
|
251
|
-
- guides/
|
|
252
|
-
- guides/
|
|
253
|
-
- guides/
|
|
254
|
-
- guides/
|
|
255
|
-
- guides/
|
|
256
|
-
- guides/
|
|
257
|
-
- guides/
|
|
258
|
-
- guides/
|
|
259
|
-
- guides/
|
|
260
|
-
- guides/
|
|
261
|
-
- guides/
|
|
262
|
-
- guides/
|
|
263
|
-
- guides/
|
|
264
|
-
- guides/
|
|
265
|
-
- guides/
|
|
266
|
-
- guides/
|
|
267
|
-
- guides/
|
|
268
|
-
- guides/output/stylesheets/syntaxhighlighter/shThemeMidnight.css
|
|
269
|
-
- guides/output/stylesheets/syntaxhighlighter/shThemeEclipse.css
|
|
270
|
-
- guides/output/stylesheets/syntaxhighlighter/shCoreDjango.css
|
|
271
|
-
- guides/output/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css
|
|
272
|
-
- guides/output/stylesheets/syntaxhighlighter/shCoreDefault.css
|
|
273
|
-
- guides/output/stylesheets/syntaxhighlighter/shCoreRDark.css
|
|
274
|
-
- guides/output/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css
|
|
275
|
-
- guides/output/stylesheets/syntaxhighlighter/shThemeRDark.css
|
|
276
|
-
- guides/output/stylesheets/syntaxhighlighter/shThemeDjango.css
|
|
277
|
-
- guides/output/stylesheets/syntaxhighlighter/shCore.css
|
|
278
|
-
- guides/output/stylesheets/fixes.css
|
|
279
|
-
- guides/output/stylesheets/print.css
|
|
280
|
-
- guides/output/stylesheets/reset.css
|
|
281
|
-
- guides/output/stylesheets/style.css
|
|
282
|
-
- guides/output/stylesheets/main.css
|
|
283
|
-
- guides/output/routing.html
|
|
284
|
-
- guides/output/generators.html
|
|
285
|
-
- guides/output/layout.html
|
|
286
|
-
- guides/output/action_mailer_basics.html
|
|
287
|
-
- guides/output/active_record_basics.html
|
|
288
|
-
- guides/output/index.html
|
|
289
|
-
- guides/output/action_controller_overview.html
|
|
290
|
-
- guides/output/images/validation_error_messages.png
|
|
291
|
-
- guides/output/images/grey_bullet.gif
|
|
292
|
-
- guides/output/images/rails_welcome.png
|
|
293
|
-
- guides/output/images/has_one_through.png
|
|
294
|
-
- guides/output/images/rails_guides_logo.gif
|
|
295
|
-
- guides/output/images/posts_index.png
|
|
296
|
-
- guides/output/images/header_backdrop.png
|
|
297
|
-
- guides/output/images/session_fixation.png
|
|
298
|
-
- guides/output/images/feature_tile.gif
|
|
299
|
-
- guides/output/images/habtm.png
|
|
300
|
-
- guides/output/images/edge_badge.png
|
|
301
|
-
- guides/output/images/rails_logo_remix.gif
|
|
302
|
-
- guides/output/images/has_one.png
|
|
303
|
-
- guides/output/images/tab_grey.gif
|
|
304
|
-
- guides/output/images/book_icon.gif
|
|
305
|
-
- guides/output/images/footer_tile.gif
|
|
306
|
-
- guides/output/images/jaimeiniesta.jpg
|
|
307
|
-
- guides/output/images/nav_arrow.gif
|
|
308
|
-
- guides/output/images/bullet.gif
|
|
309
|
-
- guides/output/images/icons/warning.png
|
|
310
|
-
- guides/output/images/icons/caution.png
|
|
311
|
-
- guides/output/images/icons/tip.png
|
|
312
|
-
- guides/output/images/icons/important.png
|
|
313
|
-
- guides/output/images/icons/callouts/3.png
|
|
314
|
-
- guides/output/images/icons/callouts/4.png
|
|
315
|
-
- guides/output/images/icons/callouts/8.png
|
|
316
|
-
- guides/output/images/icons/callouts/7.png
|
|
317
|
-
- guides/output/images/icons/callouts/6.png
|
|
318
|
-
- guides/output/images/icons/callouts/10.png
|
|
319
|
-
- guides/output/images/icons/callouts/2.png
|
|
320
|
-
- guides/output/images/icons/callouts/15.png
|
|
321
|
-
- guides/output/images/icons/callouts/14.png
|
|
322
|
-
- guides/output/images/icons/callouts/1.png
|
|
323
|
-
- guides/output/images/icons/callouts/12.png
|
|
324
|
-
- guides/output/images/icons/callouts/5.png
|
|
325
|
-
- guides/output/images/icons/callouts/9.png
|
|
326
|
-
- guides/output/images/icons/callouts/13.png
|
|
327
|
-
- guides/output/images/icons/callouts/11.png
|
|
328
|
-
- guides/output/images/icons/note.png
|
|
329
|
-
- guides/output/images/icons/home.png
|
|
330
|
-
- guides/output/images/icons/README
|
|
331
|
-
- guides/output/images/icons/up.png
|
|
332
|
-
- guides/output/images/icons/prev.png
|
|
333
|
-
- guides/output/images/icons/example.png
|
|
334
|
-
- guides/output/images/icons/next.png
|
|
335
|
-
- guides/output/images/has_many_through.png
|
|
336
|
-
- guides/output/images/header_tile.gif
|
|
337
|
-
- guides/output/images/i18n/demo_translation_missing.png
|
|
338
|
-
- guides/output/images/i18n/demo_untranslated.png
|
|
339
|
-
- guides/output/images/i18n/demo_localized_pirate.png
|
|
340
|
-
- guides/output/images/i18n/demo_translated_pirate.png
|
|
341
|
-
- guides/output/images/i18n/demo_translated_en.png
|
|
342
|
-
- guides/output/images/i18n/demo_html_safe.png
|
|
343
|
-
- guides/output/images/polymorphic.png
|
|
344
|
-
- guides/output/images/tab_yellow.png
|
|
345
|
-
- guides/output/images/fxn.png
|
|
346
|
-
- guides/output/images/tab_note.gif
|
|
347
|
-
- guides/output/images/error_messages.png
|
|
348
|
-
- guides/output/images/vijaydev.jpg
|
|
349
|
-
- guides/output/images/tab_yellow.gif
|
|
350
|
-
- guides/output/images/challenge.png
|
|
351
|
-
- guides/output/images/belongs_to.png
|
|
352
|
-
- guides/output/images/credits_pic_blank.gif
|
|
353
|
-
- guides/output/images/tab_red.gif
|
|
354
|
-
- guides/output/images/tab_info.gif
|
|
355
|
-
- guides/output/images/csrf.png
|
|
356
|
-
- guides/output/images/chapters_icon.gif
|
|
357
|
-
- guides/output/images/radar.png
|
|
358
|
-
- guides/output/images/has_many.png
|
|
359
|
-
- guides/output/images/customized_error_messages.png
|
|
360
|
-
- guides/output/images/check_bullet.gif
|
|
361
|
-
- guides/output/initialization.html
|
|
362
|
-
- guides/output/plugins.html
|
|
363
|
-
- guides/output/caching_with_rails.html
|
|
364
|
-
- guides/output/form_helpers.html
|
|
365
|
-
- guides/output/asset_pipeline.html
|
|
366
|
-
- guides/output/testing.html
|
|
367
|
-
- guides/output/active_record_querying.html
|
|
368
|
-
- guides/output/i18n.html
|
|
369
|
-
- guides/output/migrations.html
|
|
370
|
-
- guides/output/active_resource_basics.html
|
|
371
|
-
- guides/output/credits.html
|
|
372
|
-
- guides/output/rails_on_rack.html
|
|
373
|
-
- guides/output/contribute.html
|
|
374
|
-
- guides/output/rails_application_templates.html
|
|
375
|
-
- guides/output/layouts_and_rendering.html
|
|
376
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushPerl.js
|
|
377
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushCpp.js
|
|
378
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushAS3.js
|
|
379
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushPython.js
|
|
380
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushJavaFX.js
|
|
381
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushDiff.js
|
|
382
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushErlang.js
|
|
383
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushScala.js
|
|
384
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushGroovy.js
|
|
385
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushPhp.js
|
|
386
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushPlain.js
|
|
387
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushXml.js
|
|
388
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushAppleScript.js
|
|
389
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushRuby.js
|
|
390
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushVb.js
|
|
391
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushCSharp.js
|
|
392
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushJava.js
|
|
393
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushBash.js
|
|
394
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushSass.js
|
|
395
|
-
- guides/output/javascripts/syntaxhighlighter/shCore.js
|
|
396
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushPowerShell.js
|
|
397
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushSql.js
|
|
398
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushCss.js
|
|
399
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushColdFusion.js
|
|
400
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushDelphi.js
|
|
401
|
-
- guides/output/javascripts/syntaxhighlighter/shBrushJScript.js
|
|
402
|
-
- guides/output/javascripts/guides.js
|
|
403
|
-
- guides/output/ajax_on_rails.html
|
|
404
|
-
- guides/output/getting_started.html
|
|
405
|
-
- guides/output/command_line.html
|
|
406
|
-
- guides/output/3_0_release_notes.html
|
|
407
|
-
- guides/output/nested_model_forms.html
|
|
408
|
-
- guides/output/active_model_basics.html
|
|
409
|
-
- guides/output/active_support_core_extensions.html
|
|
410
|
-
- guides/output/2_2_release_notes.html
|
|
411
|
-
- guides/rails_guides/indexer.rb
|
|
412
|
-
- guides/rails_guides/textile_extensions.rb
|
|
227
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushVb.js
|
|
228
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushXml.js
|
|
229
|
+
- guides/assets/javascripts/syntaxhighlighter/shCore.js
|
|
230
|
+
- guides/assets/stylesheets/fixes.css
|
|
231
|
+
- guides/assets/stylesheets/main.css
|
|
232
|
+
- guides/assets/stylesheets/print.css
|
|
233
|
+
- guides/assets/stylesheets/reset.css
|
|
234
|
+
- guides/assets/stylesheets/style.css
|
|
235
|
+
- guides/assets/stylesheets/syntaxhighlighter/shCore.css
|
|
236
|
+
- guides/assets/stylesheets/syntaxhighlighter/shCoreDefault.css
|
|
237
|
+
- guides/assets/stylesheets/syntaxhighlighter/shCoreDjango.css
|
|
238
|
+
- guides/assets/stylesheets/syntaxhighlighter/shCoreEclipse.css
|
|
239
|
+
- guides/assets/stylesheets/syntaxhighlighter/shCoreEmacs.css
|
|
240
|
+
- guides/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css
|
|
241
|
+
- guides/assets/stylesheets/syntaxhighlighter/shCoreMDUltra.css
|
|
242
|
+
- guides/assets/stylesheets/syntaxhighlighter/shCoreMidnight.css
|
|
243
|
+
- guides/assets/stylesheets/syntaxhighlighter/shCoreRDark.css
|
|
244
|
+
- guides/assets/stylesheets/syntaxhighlighter/shThemeDefault.css
|
|
245
|
+
- guides/assets/stylesheets/syntaxhighlighter/shThemeDjango.css
|
|
246
|
+
- guides/assets/stylesheets/syntaxhighlighter/shThemeEclipse.css
|
|
247
|
+
- guides/assets/stylesheets/syntaxhighlighter/shThemeEmacs.css
|
|
248
|
+
- guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css
|
|
249
|
+
- guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css
|
|
250
|
+
- guides/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css
|
|
251
|
+
- guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css
|
|
252
|
+
- guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css
|
|
413
253
|
- guides/rails_guides/generator.rb
|
|
414
|
-
- guides/rails_guides/levenshtein.rb
|
|
415
254
|
- guides/rails_guides/helpers.rb
|
|
416
|
-
- guides/
|
|
255
|
+
- guides/rails_guides/indexer.rb
|
|
256
|
+
- guides/rails_guides/levenshtein.rb
|
|
257
|
+
- guides/rails_guides/textile_extensions.rb
|
|
417
258
|
- guides/rails_guides.rb
|
|
418
|
-
- guides/source/
|
|
259
|
+
- guides/source/2_2_release_notes.textile
|
|
419
260
|
- guides/source/2_3_release_notes.textile
|
|
420
|
-
- guides/source/ruby_on_rails_guides_guidelines.textile
|
|
421
|
-
- guides/source/api_documentation_guidelines.textile
|
|
422
|
-
- guides/source/i18n.textile
|
|
423
261
|
- guides/source/3_0_release_notes.textile
|
|
424
|
-
- guides/source/
|
|
425
|
-
- guides/source/
|
|
426
|
-
- guides/source/association_basics.textile
|
|
262
|
+
- guides/source/3_1_release_notes.textile
|
|
263
|
+
- guides/source/action_controller_overview.textile
|
|
427
264
|
- guides/source/action_mailer_basics.textile
|
|
428
|
-
- guides/source/
|
|
265
|
+
- guides/source/action_view_overview.textile
|
|
429
266
|
- guides/source/active_record_basics.textile
|
|
430
267
|
- guides/source/active_record_querying.textile
|
|
431
|
-
- guides/source/configuring.textile
|
|
432
|
-
- guides/source/layouts_and_rendering.textile
|
|
433
|
-
- guides/source/index.html.erb
|
|
434
|
-
- guides/source/action_view_overview.textile
|
|
435
|
-
- guides/source/migrations.textile
|
|
436
|
-
- guides/source/getting_started.textile
|
|
437
|
-
- guides/source/generators.textile
|
|
438
|
-
- guides/source/layout.html.erb
|
|
439
|
-
- guides/source/testing.textile
|
|
440
|
-
- guides/source/nested_model_forms.textile
|
|
441
|
-
- guides/source/performance_testing.textile
|
|
442
|
-
- guides/source/asset_pipeline.textile
|
|
443
|
-
- guides/source/ajax_on_rails.textile
|
|
444
|
-
- guides/source/rails_application_templates.textile
|
|
445
268
|
- guides/source/active_record_validations_callbacks.textile
|
|
446
269
|
- guides/source/active_resource_basics.textile
|
|
447
|
-
- guides/source/
|
|
448
|
-
- guides/source/
|
|
449
|
-
- guides/source/
|
|
450
|
-
- guides/source/
|
|
451
|
-
- guides/source/
|
|
452
|
-
- guides/source/
|
|
453
|
-
- guides/source/initialization.textile
|
|
454
|
-
- guides/source/3_1_release_notes.textile
|
|
455
|
-
- guides/source/2_2_release_notes.textile
|
|
270
|
+
- guides/source/active_support_core_extensions.textile
|
|
271
|
+
- guides/source/ajax_on_rails.textile
|
|
272
|
+
- guides/source/api_documentation_guidelines.textile
|
|
273
|
+
- guides/source/asset_pipeline.textile
|
|
274
|
+
- guides/source/association_basics.textile
|
|
275
|
+
- guides/source/caching_with_rails.textile
|
|
456
276
|
- guides/source/command_line.textile
|
|
277
|
+
- guides/source/configuring.textile
|
|
278
|
+
- guides/source/contributing_to_ruby_on_rails.textile
|
|
279
|
+
- guides/source/credits.html.erb
|
|
280
|
+
- guides/source/debugging_rails_applications.textile
|
|
281
|
+
- guides/source/form_helpers.textile
|
|
282
|
+
- guides/source/generators.textile
|
|
283
|
+
- guides/source/getting_started.textile
|
|
284
|
+
- guides/source/i18n.textile
|
|
285
|
+
- guides/source/index.html.erb
|
|
286
|
+
- guides/source/initialization.textile
|
|
287
|
+
- guides/source/layout.html.erb
|
|
288
|
+
- guides/source/layouts_and_rendering.textile
|
|
289
|
+
- guides/source/migrations.textile
|
|
290
|
+
- guides/source/nested_model_forms.textile
|
|
291
|
+
- guides/source/performance_testing.textile
|
|
292
|
+
- guides/source/plugins.textile
|
|
293
|
+
- guides/source/rails_application_templates.textile
|
|
294
|
+
- guides/source/rails_on_rack.textile
|
|
457
295
|
- guides/source/routing.textile
|
|
458
|
-
-
|
|
296
|
+
- guides/source/ruby_on_rails_guides_guidelines.textile
|
|
297
|
+
- guides/source/security.textile
|
|
298
|
+
- guides/source/testing.textile
|
|
299
|
+
- guides/w3c_validator.rb
|
|
459
300
|
- lib/rails/all.rb
|
|
460
|
-
- lib/rails/
|
|
461
|
-
- lib/rails/
|
|
462
|
-
- lib/rails/
|
|
463
|
-
- lib/rails/
|
|
464
|
-
- lib/rails/
|
|
465
|
-
- lib/rails/tasks.rb
|
|
466
|
-
- lib/rails/initializable.rb
|
|
467
|
-
- lib/rails/plugin.rb
|
|
301
|
+
- lib/rails/application/bootstrap.rb
|
|
302
|
+
- lib/rails/application/configuration.rb
|
|
303
|
+
- lib/rails/application/finisher.rb
|
|
304
|
+
- lib/rails/application/railties.rb
|
|
305
|
+
- lib/rails/application/routes_reloader.rb
|
|
468
306
|
- lib/rails/application.rb
|
|
469
|
-
- lib/rails/
|
|
470
|
-
- lib/rails/
|
|
471
|
-
- lib/rails/
|
|
307
|
+
- lib/rails/backtrace_cleaner.rb
|
|
308
|
+
- lib/rails/cli.rb
|
|
309
|
+
- lib/rails/code_statistics.rb
|
|
310
|
+
- lib/rails/commands/application.rb
|
|
472
311
|
- lib/rails/commands/benchmarker.rb
|
|
312
|
+
- lib/rails/commands/console.rb
|
|
313
|
+
- lib/rails/commands/dbconsole.rb
|
|
314
|
+
- lib/rails/commands/destroy.rb
|
|
315
|
+
- lib/rails/commands/generate.rb
|
|
473
316
|
- lib/rails/commands/plugin.rb
|
|
474
|
-
- lib/rails/commands/application.rb
|
|
475
317
|
- lib/rails/commands/plugin_new.rb
|
|
476
318
|
- lib/rails/commands/profiler.rb
|
|
477
319
|
- lib/rails/commands/runner.rb
|
|
478
|
-
- lib/rails/commands/
|
|
479
|
-
- lib/rails/commands/
|
|
480
|
-
- lib/rails/commands
|
|
481
|
-
- lib/rails/
|
|
482
|
-
- lib/rails/info_controller.rb
|
|
320
|
+
- lib/rails/commands/server.rb
|
|
321
|
+
- lib/rails/commands/update.rb
|
|
322
|
+
- lib/rails/commands.rb
|
|
323
|
+
- lib/rails/configuration.rb
|
|
483
324
|
- lib/rails/console/app.rb
|
|
484
325
|
- lib/rails/console/helpers.rb
|
|
485
|
-
- lib/rails/
|
|
326
|
+
- lib/rails/engine/configuration.rb
|
|
327
|
+
- lib/rails/engine/railties.rb
|
|
486
328
|
- lib/rails/engine.rb
|
|
487
|
-
- lib/rails/
|
|
488
|
-
- lib/rails/test_help.rb
|
|
329
|
+
- lib/rails/generators/actions.rb
|
|
489
330
|
- lib/rails/generators/active_model.rb
|
|
490
|
-
- lib/rails/generators/migration.rb
|
|
491
|
-
- lib/rails/generators/generated_attribute.rb
|
|
492
331
|
- lib/rails/generators/app_base.rb
|
|
493
|
-
- lib/rails/generators/
|
|
494
|
-
- lib/rails/generators/
|
|
495
|
-
- lib/rails/generators/
|
|
496
|
-
- lib/rails/generators/
|
|
497
|
-
- lib/rails/generators/
|
|
498
|
-
- lib/rails/generators/
|
|
499
|
-
- lib/rails/generators/erb/mailer/templates/view.text.erb
|
|
332
|
+
- lib/rails/generators/base.rb
|
|
333
|
+
- lib/rails/generators/css/assets/assets_generator.rb
|
|
334
|
+
- lib/rails/generators/css/assets/templates/stylesheet.css
|
|
335
|
+
- lib/rails/generators/css/scaffold/scaffold_generator.rb
|
|
336
|
+
- lib/rails/generators/erb/controller/controller_generator.rb
|
|
337
|
+
- lib/rails/generators/erb/controller/templates/view.html.erb
|
|
500
338
|
- lib/rails/generators/erb/mailer/mailer_generator.rb
|
|
501
|
-
- lib/rails/generators/erb/
|
|
339
|
+
- lib/rails/generators/erb/mailer/templates/view.text.erb
|
|
340
|
+
- lib/rails/generators/erb/scaffold/scaffold_generator.rb
|
|
502
341
|
- lib/rails/generators/erb/scaffold/templates/_form.html.erb
|
|
342
|
+
- lib/rails/generators/erb/scaffold/templates/edit.html.erb
|
|
503
343
|
- lib/rails/generators/erb/scaffold/templates/index.html.erb
|
|
504
344
|
- lib/rails/generators/erb/scaffold/templates/new.html.erb
|
|
505
345
|
- lib/rails/generators/erb/scaffold/templates/show.html.erb
|
|
506
|
-
- lib/rails/generators/erb
|
|
507
|
-
- lib/rails/generators/
|
|
508
|
-
- lib/rails/generators/
|
|
509
|
-
- lib/rails/generators/
|
|
510
|
-
- lib/rails/generators/
|
|
511
|
-
- lib/rails/generators/
|
|
512
|
-
- lib/rails/generators/rails/performance_test/USAGE
|
|
513
|
-
- lib/rails/generators/rails/integration_test/integration_test_generator.rb
|
|
514
|
-
- lib/rails/generators/rails/integration_test/USAGE
|
|
515
|
-
- lib/rails/generators/rails/session_migration/session_migration_generator.rb
|
|
516
|
-
- lib/rails/generators/rails/session_migration/USAGE
|
|
517
|
-
- lib/rails/generators/rails/assets/assets_generator.rb
|
|
518
|
-
- lib/rails/generators/rails/assets/templates/javascript.js
|
|
519
|
-
- lib/rails/generators/rails/assets/templates/stylesheet.css
|
|
520
|
-
- lib/rails/generators/rails/assets/USAGE
|
|
521
|
-
- lib/rails/generators/rails/helper/templates/helper.rb
|
|
522
|
-
- lib/rails/generators/rails/helper/USAGE
|
|
523
|
-
- lib/rails/generators/rails/helper/helper_generator.rb
|
|
524
|
-
- lib/rails/generators/rails/scaffold_controller/templates/controller.rb
|
|
525
|
-
- lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb
|
|
526
|
-
- lib/rails/generators/rails/scaffold_controller/USAGE
|
|
527
|
-
- lib/rails/generators/rails/scaffold/templates/scaffold.css
|
|
528
|
-
- lib/rails/generators/rails/scaffold/scaffold_generator.rb
|
|
529
|
-
- lib/rails/generators/rails/scaffold/USAGE
|
|
530
|
-
- lib/rails/generators/rails/migration/migration_generator.rb
|
|
531
|
-
- lib/rails/generators/rails/migration/USAGE
|
|
532
|
-
- lib/rails/generators/rails/controller/controller_generator.rb
|
|
533
|
-
- lib/rails/generators/rails/controller/templates/controller.rb
|
|
534
|
-
- lib/rails/generators/rails/controller/USAGE
|
|
346
|
+
- lib/rails/generators/erb.rb
|
|
347
|
+
- lib/rails/generators/generated_attribute.rb
|
|
348
|
+
- lib/rails/generators/js/assets/assets_generator.rb
|
|
349
|
+
- lib/rails/generators/js/assets/templates/javascript.js
|
|
350
|
+
- lib/rails/generators/migration.rb
|
|
351
|
+
- lib/rails/generators/named_base.rb
|
|
535
352
|
- lib/rails/generators/rails/app/app_generator.rb
|
|
536
|
-
- lib/rails/generators/rails/app/templates/db/seeds.rb.tt
|
|
537
|
-
- lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt
|
|
538
|
-
- lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css
|
|
539
353
|
- lib/rails/generators/rails/app/templates/app/assets/images/rails.png
|
|
540
354
|
- lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt
|
|
355
|
+
- lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css
|
|
541
356
|
- lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb
|
|
542
357
|
- lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb
|
|
543
|
-
- lib/rails/generators/rails/app/templates/
|
|
544
|
-
- lib/rails/generators/rails/app/templates/gitignore
|
|
545
|
-
- lib/rails/generators/rails/app/templates/config/environment.rb
|
|
546
|
-
- lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt
|
|
547
|
-
- lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb
|
|
548
|
-
- lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt
|
|
549
|
-
- lib/rails/generators/rails/app/templates/config/initializers/inflections.rb
|
|
550
|
-
- lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb
|
|
551
|
-
- lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
|
|
358
|
+
- lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt
|
|
552
359
|
- lib/rails/generators/rails/app/templates/config/application.rb
|
|
553
360
|
- lib/rails/generators/rails/app/templates/config/boot.rb
|
|
554
|
-
- lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml
|
|
555
|
-
- lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
|
|
556
|
-
- lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml
|
|
557
|
-
- lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml
|
|
558
361
|
- lib/rails/generators/rails/app/templates/config/databases/frontbase.yml
|
|
559
|
-
- lib/rails/generators/rails/app/templates/config/databases/
|
|
362
|
+
- lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml
|
|
363
|
+
- lib/rails/generators/rails/app/templates/config/databases/jdbc.yml
|
|
560
364
|
- lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml
|
|
561
|
-
- lib/rails/generators/rails/app/templates/config/databases/
|
|
365
|
+
- lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml
|
|
562
366
|
- lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml
|
|
563
|
-
- lib/rails/generators/rails/app/templates/config/databases/
|
|
564
|
-
- lib/rails/generators/rails/app/templates/config/
|
|
367
|
+
- lib/rails/generators/rails/app/templates/config/databases/mysql.yml
|
|
368
|
+
- lib/rails/generators/rails/app/templates/config/databases/oracle.yml
|
|
369
|
+
- lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
|
|
370
|
+
- lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml
|
|
371
|
+
- lib/rails/generators/rails/app/templates/config/environment.rb
|
|
565
372
|
- lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
|
|
566
|
-
- lib/rails/generators/rails/app/templates/config/environments/test.rb.tt
|
|
567
373
|
- lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
|
|
374
|
+
- lib/rails/generators/rails/app/templates/config/environments/test.rb.tt
|
|
375
|
+
- lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb
|
|
376
|
+
- lib/rails/generators/rails/app/templates/config/initializers/inflections.rb
|
|
377
|
+
- lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb
|
|
378
|
+
- lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt
|
|
379
|
+
- lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt
|
|
380
|
+
- lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
|
|
568
381
|
- lib/rails/generators/rails/app/templates/config/locales/en.yml
|
|
569
|
-
- lib/rails/generators/rails/app/templates/
|
|
570
|
-
- lib/rails/generators/rails/app/templates/
|
|
382
|
+
- lib/rails/generators/rails/app/templates/config/routes.rb
|
|
383
|
+
- lib/rails/generators/rails/app/templates/config.ru
|
|
384
|
+
- lib/rails/generators/rails/app/templates/db/seeds.rb.tt
|
|
385
|
+
- lib/rails/generators/rails/app/templates/doc/README_FOR_APP
|
|
386
|
+
- lib/rails/generators/rails/app/templates/Gemfile
|
|
387
|
+
- lib/rails/generators/rails/app/templates/gitignore
|
|
388
|
+
- lib/rails/generators/rails/app/templates/public/404.html
|
|
571
389
|
- lib/rails/generators/rails/app/templates/public/422.html
|
|
572
|
-
- lib/rails/generators/rails/app/templates/public/index.html
|
|
573
|
-
- lib/rails/generators/rails/app/templates/public/favicon.ico
|
|
574
390
|
- lib/rails/generators/rails/app/templates/public/500.html
|
|
575
|
-
- lib/rails/generators/rails/app/templates/public/
|
|
391
|
+
- lib/rails/generators/rails/app/templates/public/favicon.ico
|
|
392
|
+
- lib/rails/generators/rails/app/templates/public/index.html
|
|
576
393
|
- lib/rails/generators/rails/app/templates/public/robots.txt
|
|
577
|
-
- lib/rails/generators/rails/app/templates/doc/README_FOR_APP
|
|
578
|
-
- lib/rails/generators/rails/app/templates/config.ru
|
|
579
|
-
- lib/rails/generators/rails/app/templates/script/rails
|
|
580
|
-
- lib/rails/generators/rails/app/templates/Gemfile
|
|
581
394
|
- lib/rails/generators/rails/app/templates/Rakefile
|
|
395
|
+
- lib/rails/generators/rails/app/templates/README
|
|
396
|
+
- lib/rails/generators/rails/app/templates/script/rails
|
|
397
|
+
- lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb
|
|
398
|
+
- lib/rails/generators/rails/app/templates/test/test_helper.rb
|
|
582
399
|
- lib/rails/generators/rails/app/USAGE
|
|
583
|
-
- lib/rails/generators/rails/
|
|
584
|
-
- lib/rails/generators/rails/
|
|
400
|
+
- lib/rails/generators/rails/assets/assets_generator.rb
|
|
401
|
+
- lib/rails/generators/rails/assets/templates/javascript.js
|
|
402
|
+
- lib/rails/generators/rails/assets/templates/stylesheet.css
|
|
403
|
+
- lib/rails/generators/rails/assets/USAGE
|
|
404
|
+
- lib/rails/generators/rails/controller/controller_generator.rb
|
|
405
|
+
- lib/rails/generators/rails/controller/templates/controller.rb
|
|
406
|
+
- lib/rails/generators/rails/controller/USAGE
|
|
407
|
+
- lib/rails/generators/rails/generator/generator_generator.rb
|
|
408
|
+
- lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt
|
|
409
|
+
- lib/rails/generators/rails/generator/templates/USAGE.tt
|
|
410
|
+
- lib/rails/generators/rails/generator/USAGE
|
|
411
|
+
- lib/rails/generators/rails/helper/helper_generator.rb
|
|
412
|
+
- lib/rails/generators/rails/helper/templates/helper.rb
|
|
413
|
+
- lib/rails/generators/rails/helper/USAGE
|
|
414
|
+
- lib/rails/generators/rails/integration_test/integration_test_generator.rb
|
|
415
|
+
- lib/rails/generators/rails/integration_test/USAGE
|
|
416
|
+
- lib/rails/generators/rails/migration/migration_generator.rb
|
|
417
|
+
- lib/rails/generators/rails/migration/USAGE
|
|
418
|
+
- lib/rails/generators/rails/model/model_generator.rb
|
|
419
|
+
- lib/rails/generators/rails/model/USAGE
|
|
420
|
+
- lib/rails/generators/rails/observer/observer_generator.rb
|
|
421
|
+
- lib/rails/generators/rails/observer/USAGE
|
|
422
|
+
- lib/rails/generators/rails/performance_test/performance_test_generator.rb
|
|
423
|
+
- lib/rails/generators/rails/performance_test/USAGE
|
|
424
|
+
- lib/rails/generators/rails/plugin/plugin_generator.rb
|
|
425
|
+
- lib/rails/generators/rails/plugin/templates/init.rb
|
|
585
426
|
- lib/rails/generators/rails/plugin/templates/install.rb
|
|
586
|
-
- lib/rails/generators/rails/plugin/templates/lib/tasks/%file_name%_tasks.rake.tt
|
|
587
427
|
- lib/rails/generators/rails/plugin/templates/lib/%file_name%.rb.tt
|
|
588
|
-
- lib/rails/generators/rails/plugin/templates/
|
|
428
|
+
- lib/rails/generators/rails/plugin/templates/lib/tasks/%file_name%_tasks.rake.tt
|
|
589
429
|
- lib/rails/generators/rails/plugin/templates/MIT-LICENSE.tt
|
|
430
|
+
- lib/rails/generators/rails/plugin/templates/Rakefile.tt
|
|
431
|
+
- lib/rails/generators/rails/plugin/templates/README.tt
|
|
590
432
|
- lib/rails/generators/rails/plugin/templates/uninstall.rb
|
|
591
|
-
- lib/rails/generators/rails/plugin/plugin_generator.rb
|
|
592
433
|
- lib/rails/generators/rails/plugin/USAGE
|
|
434
|
+
- lib/rails/generators/rails/plugin_new/plugin_new_generator.rb
|
|
593
435
|
- lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
|
|
594
|
-
- lib/rails/generators/rails/plugin_new/templates/README.rdoc
|
|
595
|
-
- lib/rails/generators/rails/plugin_new/templates/app/views/layouts/%name%/application.html.erb.tt
|
|
596
436
|
- lib/rails/generators/rails/plugin_new/templates/app/controllers/%name%/application_controller.rb.tt
|
|
597
437
|
- lib/rails/generators/rails/plugin_new/templates/app/helpers/%name%/application_helper.rb.tt
|
|
598
|
-
- lib/rails/generators/rails/plugin_new/templates/
|
|
438
|
+
- lib/rails/generators/rails/plugin_new/templates/app/views/layouts/%name%/application.html.erb.tt
|
|
599
439
|
- lib/rails/generators/rails/plugin_new/templates/config/routes.rb
|
|
600
|
-
- lib/rails/generators/rails/plugin_new/templates/
|
|
601
|
-
- lib/rails/generators/rails/plugin_new/templates/
|
|
440
|
+
- lib/rails/generators/rails/plugin_new/templates/Gemfile
|
|
441
|
+
- lib/rails/generators/rails/plugin_new/templates/gitignore
|
|
602
442
|
- lib/rails/generators/rails/plugin_new/templates/lib/%name%/engine.rb
|
|
603
443
|
- lib/rails/generators/rails/plugin_new/templates/lib/%name%/version.rb
|
|
604
|
-
- lib/rails/generators/rails/plugin_new/templates/
|
|
605
|
-
- lib/rails/generators/rails/plugin_new/templates/
|
|
606
|
-
- lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb
|
|
444
|
+
- lib/rails/generators/rails/plugin_new/templates/lib/%name%.rb
|
|
445
|
+
- lib/rails/generators/rails/plugin_new/templates/lib/tasks/%name%_tasks.rake
|
|
607
446
|
- lib/rails/generators/rails/plugin_new/templates/MIT-LICENSE
|
|
608
|
-
- lib/rails/generators/rails/plugin_new/templates/script/rails.tt
|
|
609
|
-
- lib/rails/generators/rails/plugin_new/templates/Gemfile
|
|
610
447
|
- lib/rails/generators/rails/plugin_new/templates/rails/application.rb
|
|
611
448
|
- lib/rails/generators/rails/plugin_new/templates/rails/boot.rb
|
|
612
449
|
- lib/rails/generators/rails/plugin_new/templates/rails/routes.rb
|
|
613
450
|
- lib/rails/generators/rails/plugin_new/templates/Rakefile
|
|
614
|
-
- lib/rails/generators/rails/plugin_new/
|
|
451
|
+
- lib/rails/generators/rails/plugin_new/templates/README.rdoc
|
|
452
|
+
- lib/rails/generators/rails/plugin_new/templates/script/rails.tt
|
|
453
|
+
- lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb
|
|
454
|
+
- lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb
|
|
455
|
+
- lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb
|
|
615
456
|
- lib/rails/generators/rails/plugin_new/USAGE
|
|
616
|
-
- lib/rails/generators/rails/model/model_generator.rb
|
|
617
|
-
- lib/rails/generators/rails/model/USAGE
|
|
618
457
|
- lib/rails/generators/rails/resource/resource_generator.rb
|
|
619
458
|
- lib/rails/generators/rails/resource/USAGE
|
|
620
|
-
- lib/rails/generators/rails/
|
|
621
|
-
- lib/rails/generators/rails/
|
|
622
|
-
- lib/rails/generators/rails/
|
|
623
|
-
- lib/rails/generators/rails/
|
|
624
|
-
- lib/rails/generators/rails/
|
|
625
|
-
- lib/rails/generators/rails/
|
|
459
|
+
- lib/rails/generators/rails/scaffold/scaffold_generator.rb
|
|
460
|
+
- lib/rails/generators/rails/scaffold/templates/scaffold.css
|
|
461
|
+
- lib/rails/generators/rails/scaffold/USAGE
|
|
462
|
+
- lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb
|
|
463
|
+
- lib/rails/generators/rails/scaffold_controller/templates/controller.rb
|
|
464
|
+
- lib/rails/generators/rails/scaffold_controller/USAGE
|
|
465
|
+
- lib/rails/generators/rails/session_migration/session_migration_generator.rb
|
|
466
|
+
- lib/rails/generators/rails/session_migration/USAGE
|
|
626
467
|
- lib/rails/generators/resource_helpers.rb
|
|
627
|
-
- lib/rails/generators/
|
|
628
|
-
- lib/rails/generators/test_unit/mailer/mailer_generator.rb
|
|
629
|
-
- lib/rails/generators/test_unit/performance/templates/performance_test.rb
|
|
630
|
-
- lib/rails/generators/test_unit/performance/performance_generator.rb
|
|
631
|
-
- lib/rails/generators/test_unit/helper/templates/helper_test.rb
|
|
632
|
-
- lib/rails/generators/test_unit/helper/helper_generator.rb
|
|
633
|
-
- lib/rails/generators/test_unit/scaffold/templates/functional_test.rb
|
|
634
|
-
- lib/rails/generators/test_unit/scaffold/scaffold_generator.rb
|
|
468
|
+
- lib/rails/generators/test_case.rb
|
|
635
469
|
- lib/rails/generators/test_unit/controller/controller_generator.rb
|
|
636
470
|
- lib/rails/generators/test_unit/controller/templates/functional_test.rb
|
|
637
|
-
- lib/rails/generators/test_unit/
|
|
638
|
-
- lib/rails/generators/test_unit/
|
|
639
|
-
- lib/rails/generators/test_unit/
|
|
471
|
+
- lib/rails/generators/test_unit/helper/helper_generator.rb
|
|
472
|
+
- lib/rails/generators/test_unit/helper/templates/helper_test.rb
|
|
473
|
+
- lib/rails/generators/test_unit/integration/integration_generator.rb
|
|
474
|
+
- lib/rails/generators/test_unit/integration/templates/integration_test.rb
|
|
475
|
+
- lib/rails/generators/test_unit/mailer/mailer_generator.rb
|
|
476
|
+
- lib/rails/generators/test_unit/mailer/templates/functional_test.rb
|
|
640
477
|
- lib/rails/generators/test_unit/model/model_generator.rb
|
|
641
|
-
- lib/rails/generators/test_unit/model/templates/unit_test.rb
|
|
642
478
|
- lib/rails/generators/test_unit/model/templates/fixtures.yml
|
|
643
|
-
- lib/rails/generators/test_unit/
|
|
479
|
+
- lib/rails/generators/test_unit/model/templates/unit_test.rb
|
|
644
480
|
- lib/rails/generators/test_unit/observer/observer_generator.rb
|
|
645
|
-
- lib/rails/generators/test_unit/
|
|
646
|
-
- lib/rails/generators/test_unit/
|
|
647
|
-
- lib/rails/generators/
|
|
648
|
-
- lib/rails/generators/
|
|
649
|
-
- lib/rails/generators/
|
|
650
|
-
- lib/rails/
|
|
651
|
-
- lib/rails/
|
|
652
|
-
- lib/rails/
|
|
653
|
-
- lib/rails/
|
|
654
|
-
- lib/rails/application/finisher.rb
|
|
655
|
-
- lib/rails/version.rb
|
|
481
|
+
- lib/rails/generators/test_unit/observer/templates/unit_test.rb
|
|
482
|
+
- lib/rails/generators/test_unit/performance/performance_generator.rb
|
|
483
|
+
- lib/rails/generators/test_unit/performance/templates/performance_test.rb
|
|
484
|
+
- lib/rails/generators/test_unit/plugin/plugin_generator.rb
|
|
485
|
+
- lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt
|
|
486
|
+
- lib/rails/generators/test_unit/plugin/templates/test_helper.rb
|
|
487
|
+
- lib/rails/generators/test_unit/scaffold/scaffold_generator.rb
|
|
488
|
+
- lib/rails/generators/test_unit/scaffold/templates/functional_test.rb
|
|
489
|
+
- lib/rails/generators/test_unit.rb
|
|
656
490
|
- lib/rails/generators.rb
|
|
491
|
+
- lib/rails/info.rb
|
|
492
|
+
- lib/rails/info_controller.rb
|
|
493
|
+
- lib/rails/initializable.rb
|
|
494
|
+
- lib/rails/paths.rb
|
|
495
|
+
- lib/rails/performance_test_help.rb
|
|
496
|
+
- lib/rails/plugin.rb
|
|
497
|
+
- lib/rails/rack/debugger.rb
|
|
498
|
+
- lib/rails/rack/log_tailer.rb
|
|
499
|
+
- lib/rails/rack/logger.rb
|
|
500
|
+
- lib/rails/rack.rb
|
|
501
|
+
- lib/rails/railtie/configurable.rb
|
|
502
|
+
- lib/rails/railtie/configuration.rb
|
|
657
503
|
- lib/rails/railtie.rb
|
|
658
|
-
- lib/rails/rubyprof_ext.rb
|
|
659
504
|
- lib/rails/ruby_version_check.rb
|
|
660
|
-
- lib/rails/
|
|
661
|
-
- lib/rails/
|
|
662
|
-
- lib/rails/
|
|
663
|
-
- lib/rails/tasks/misc.rake
|
|
664
|
-
- lib/rails/tasks/tmp.rake
|
|
505
|
+
- lib/rails/rubyprof_ext.rb
|
|
506
|
+
- lib/rails/script_rails_loader.rb
|
|
507
|
+
- lib/rails/source_annotation_extractor.rb
|
|
665
508
|
- lib/rails/tasks/annotations.rake
|
|
666
|
-
- lib/rails/tasks/
|
|
509
|
+
- lib/rails/tasks/documentation.rake
|
|
510
|
+
- lib/rails/tasks/engine.rake
|
|
667
511
|
- lib/rails/tasks/framework.rake
|
|
668
512
|
- lib/rails/tasks/log.rake
|
|
669
513
|
- lib/rails/tasks/middleware.rake
|
|
670
|
-
- lib/rails/tasks/
|
|
514
|
+
- lib/rails/tasks/misc.rake
|
|
515
|
+
- lib/rails/tasks/routes.rake
|
|
671
516
|
- lib/rails/tasks/statistics.rake
|
|
672
|
-
- lib/rails/
|
|
673
|
-
- lib/rails/
|
|
674
|
-
- lib/rails/
|
|
675
|
-
- lib/rails/railtie/configurable.rb
|
|
676
|
-
- lib/rails/source_annotation_extractor.rb
|
|
677
|
-
- lib/rails/cli.rb
|
|
678
|
-
- lib/rails/test_unit/testing.rake
|
|
517
|
+
- lib/rails/tasks/tmp.rake
|
|
518
|
+
- lib/rails/tasks.rb
|
|
519
|
+
- lib/rails/test_help.rb
|
|
679
520
|
- lib/rails/test_unit/railtie.rb
|
|
680
|
-
- lib/rails/
|
|
521
|
+
- lib/rails/test_unit/testing.rake
|
|
522
|
+
- lib/rails/version.rb
|
|
681
523
|
- lib/rails.rb
|
|
682
|
-
- lib/rails/generators/rails/app/templates/app/models/.empty_directory
|
|
683
524
|
- lib/rails/generators/rails/app/templates/app/mailers/.empty_directory
|
|
525
|
+
- lib/rails/generators/rails/app/templates/app/models/.empty_directory
|
|
526
|
+
- lib/rails/generators/rails/app/templates/public/stylesheets/.empty_directory
|
|
684
527
|
- lib/rails/generators/rails/app/templates/test/fixtures/.empty_directory
|
|
685
|
-
- lib/rails/generators/rails/app/templates/test/integration/.empty_directory
|
|
686
528
|
- lib/rails/generators/rails/app/templates/test/functional/.empty_directory
|
|
529
|
+
- lib/rails/generators/rails/app/templates/test/integration/.empty_directory
|
|
687
530
|
- lib/rails/generators/rails/app/templates/test/unit/.empty_directory
|
|
688
|
-
- lib/rails/generators/rails/app/templates/public/stylesheets/.empty_directory
|
|
689
|
-
- lib/rails/generators/rails/plugin_new/templates/app/models/.empty_directory
|
|
690
|
-
- lib/rails/generators/rails/plugin_new/templates/app/mailers/.empty_directory
|
|
691
531
|
- lib/rails/generators/rails/generator/templates/templates/.empty_directory
|
|
532
|
+
- lib/rails/generators/rails/plugin_new/templates/app/mailers/.empty_directory
|
|
533
|
+
- lib/rails/generators/rails/plugin_new/templates/app/models/.empty_directory
|
|
692
534
|
homepage: http://www.rubyonrails.org
|
|
693
535
|
licenses: []
|
|
694
536
|
|
|
@@ -712,16 +554,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
712
554
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
713
555
|
none: false
|
|
714
556
|
requirements:
|
|
715
|
-
- - "
|
|
557
|
+
- - ">"
|
|
716
558
|
- !ruby/object:Gem::Version
|
|
717
|
-
hash:
|
|
559
|
+
hash: 25
|
|
718
560
|
segments:
|
|
719
|
-
-
|
|
720
|
-
|
|
561
|
+
- 1
|
|
562
|
+
- 3
|
|
563
|
+
- 1
|
|
564
|
+
version: 1.3.1
|
|
721
565
|
requirements: []
|
|
722
566
|
|
|
723
567
|
rubyforge_project:
|
|
724
|
-
rubygems_version: 1.8.
|
|
568
|
+
rubygems_version: 1.8.16
|
|
725
569
|
signing_key:
|
|
726
570
|
specification_version: 3
|
|
727
571
|
summary: Tools for creating, working with, and running Rails applications.
|