Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
98a5188f
R
rails
项目概览
张重言
/
rails
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rails
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
98a5188f
编写于
6月 19, 2010
作者:
C
Chris Griego
提交者:
José Valim
6月 20, 2010
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Strip trailing whitespace from generated applications [#4905 state:resolved]
Signed-off-by:
N
José Valim
<
jose.valim@gmail.com
>
上级
86002a0d
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
8 addition
and
8 deletion
+8
-8
railties/lib/rails/generators/rails/app/templates/README
railties/lib/rails/generators/rails/app/templates/README
+4
-4
railties/lib/rails/generators/rails/app/templates/config/databases/mysql.yml
...generators/rails/app/templates/config/databases/mysql.yml
+1
-1
railties/lib/rails/generators/rails/app/templates/config/databases/oracle.yml
...enerators/rails/app/templates/config/databases/oracle.yml
+1
-1
railties/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb
...rs/rails/app/templates/config/initializers/inflections.rb
+1
-1
railties/lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt
...ails/app/templates/config/initializers/secret_token.rb.tt
+1
-1
未找到文件。
railties/lib/rails/generators/rails/app/templates/README
浏览文件 @
98a5188f
...
...
@@ -37,7 +37,7 @@ link:files/vendor/rails/actionpack/README.html.
3. Go to http://localhost:3000/ and you'll see:
"Welcome aboard: You're riding the Rails!"
4. Follow the guidelines to start developing your application. You can find
4. Follow the guidelines to start developing your application. You can find
the following resources handy:
* The Getting Started Guide: http://guides.rubyonrails.org/getting_started.html
...
...
@@ -71,13 +71,13 @@ The result will be a message in your log file along the lines of:
More information on how to use the logger is at http://www.ruby-doc.org/core/
Also, Ruby documentation can be found at http://www.ruby-lang.org/. There are
Also, Ruby documentation can be found at http://www.ruby-lang.org/. There are
several books available online as well:
* Programming Ruby: http://www.ruby-doc.org/docs/ProgrammingRuby/ (Pickaxe)
* Learn to Program: http://pine.fm/LearnToProgram/ (a beginners guide)
These two books will bring you up to speed on the Ruby language and also on
These two books will bring you up to speed on the Ruby language and also on
programming in general.
...
...
@@ -199,7 +199,7 @@ app/controllers
ApplicationController which itself descends from ActionController::Base.
app/models
Holds models that should be named like post.rb. Models descend from
Holds models that should be named like post.rb. Models descend from
ActiveRecord::Base by default.
app/views
...
...
railties/lib/rails/generators/rails/app/templates/config/databases/mysql.yml
浏览文件 @
98a5188f
...
...
@@ -52,7 +52,7 @@ production:
database
:
<%= app_name %>_production
pool
:
5
username
:
root
password
:
password
:
<% if mysql_socket -%>
socket
:
<%= mysql_socket %>
<% else -%>
...
...
railties/lib/rails/generators/rails/app/templates/config/databases/oracle.yml
浏览文件 @
98a5188f
...
...
@@ -36,4 +36,4 @@ production:
adapter
:
oracle
database
:
<%= app_name %>_production
username
:
<%= app_name %>
password
:
password
:
railties/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb
浏览文件 @
98a5188f
# Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format
# Add new inflection rules using the following format
# (all these examples are active by default):
# ActiveSupport::Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, '\1en'
...
...
railties/lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt
浏览文件 @
98a5188f
...
...
@@ -2,6 +2,6 @@
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
Rails.application.config.secret_token = '<%= app_secret %>'
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录