mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
We are now rails 4 [skip-ci]
This commit is contained in:
parent
0c850f8dab
commit
988a2a8b6e
3 changed files with 8 additions and 5 deletions
|
@ -10,10 +10,13 @@
|
|||
</p>
|
||||
<% else %>
|
||||
<p>
|
||||
These are the new guides for Rails 3.2 based on <a href="https://github.com/rails/rails/tree/<%= @version %>"><%= @version %></a>.
|
||||
These are the new guides for Rails 4.0 based on <a href="https://github.com/rails/rails/tree/<%= @version %>"><%= @version %></a>.
|
||||
These guides are designed to make you immediately productive with Rails, and to help you understand how all of the pieces fit together.
|
||||
</p>
|
||||
<% end %>
|
||||
<p>
|
||||
The guides for Rails 3.2.x are available at <a href="http://guides.rubyonrails.org/v3.2.13/">http://guides.rubyonrails.org/v3.2.13/</a>.
|
||||
</p>
|
||||
<p>
|
||||
The guides for Rails 2.3.x are available at <a href="http://guides.rubyonrails.org/v2.3.11/">http://guides.rubyonrails.org/v2.3.11/</a>.
|
||||
</p>
|
||||
|
|
|
@ -64,7 +64,7 @@ With no further work, `rails server` will run our new shiny Rails app:
|
|||
$ cd commandsapp
|
||||
$ rails server
|
||||
=> Booting WEBrick
|
||||
=> Rails 3.2.3 application starting in development on http://0.0.0.0:3000
|
||||
=> Rails 4.0.0 application starting in development on http://0.0.0.0:3000
|
||||
=> Call with -d to detach
|
||||
=> Ctrl-C to shutdown server
|
||||
[2012-05-28 00:39:41] INFO WEBrick 1.3.1
|
||||
|
@ -289,7 +289,7 @@ If you wish to test out some code without changing any data, you can do that by
|
|||
|
||||
```bash
|
||||
$ rails console --sandbox
|
||||
Loading development environment in sandbox (Rails 3.2.3)
|
||||
Loading development environment in sandbox (Rails 4.0.0)
|
||||
Any modifications you make will be rolled back on exit
|
||||
irb(main):001:0>
|
||||
```
|
||||
|
|
|
@ -248,7 +248,7 @@ Make sure you have started your web server with the option `--debugger`:
|
|||
```bash
|
||||
$ rails server --debugger
|
||||
=> Booting WEBrick
|
||||
=> Rails 3.2.13 application starting on http://0.0.0.0:3000
|
||||
=> Rails 4.0.0 application starting on http://0.0.0.0:3000
|
||||
=> Debugger enabled
|
||||
...
|
||||
```
|
||||
|
@ -504,7 +504,7 @@ TIP: You can use the debugger while using `rails console`. Just remember to `req
|
|||
|
||||
```
|
||||
$ rails console
|
||||
Loading development environment (Rails 3.2.13)
|
||||
Loading development environment (Rails 4.0.0)
|
||||
>> require "debugger"
|
||||
=> []
|
||||
>> author = Author.first
|
||||
|
|
Loading…
Reference in a new issue