02 Jun '12, 10pm

Ruby on Rails Guides: Configuring Rails Applications:

configures Rails itself to serve static assets. Defaults to true, but in the production environment is turned off as the server software (e.g. Nginx or Apache) used to run the application should serve static assets instead. Unlike the default setting set this to true when running (absolutely not recommended!) or testing your app in production mode using WEBrick. Otherwise you won´t be able use page caching and requests for files that exist regularly under the public directory will anyway hit your Rails app.

Full article: http://edgeguides.rubyonrails.org/configuring.html

Tweets

“Ruby on Railsで複合キーを扱う(1) - Rails 雑感 - Ruby on ...

oiax.jp 03 Jun '12, 9pm

Ruby on Railsでは、データベーステーブルの主キーとしてidというカラムを使うのがデフォルトです。 誤解される方も多いのですが、もちろん主キーの名前は変更できます。たとえば、User モデルに対応するusers テーブルの主キーがui...

#Rails find of the day: #link_to_if and #link_t...

api.rubyonrails.org 04 Jun '12, 7pm

<%= button_to "New", :action => "new" %> # => "<form method="post" action="/controller/new" class="button_to"> # <div><inp...

ruby1.9 + rails3 なら ruby-debug よりも debugger

guides.rubyonrails.org 05 Jun '12, 11pm

Processing PostsController#create (for 127.0.0.1 at 2008-09-08 11:52:54) [POST] Session ID: BAh7BzoMY3NyZl9pZCIlMDY5MWU1M2...

Including Other Files in Ruby: Ruby Study Notes...

rubylearning.com 03 Jun '12, 6am

When writing your first few Ruby programs, you tend to place all of your code in a single file. But as you grow as a Ruby ...

why there is no excuse for @linkedin: tldr for ...

api.rubyonrails.org 07 Jun '12, 2am

for presence of password, confirmation of password (using a "password_confirmation" attribute) are automatically added. Yo...

@maryloulenhart what about them?

guides.rubyonrails.org 27 May '12, 5pm

Forms in web applications are an essential interface for user input. However, form markup can quickly become tedious to wr...

@wayoutmind @nlsmith I usually refer to but tho...

guides.rubyonrails.org 05 Jun '12, 1am

Ruby on Rails is not “someone else’s framework.” Over the years, hundreds of people have contributed to Ruby on Rails rang...

『はじめる! Rails3』読者サポートページ - Ruby on Rails with OIAX

oiax.jp 03 Jun '12, 9pm

hinagiku-volume1.zip (145.6 KB) -- サンプルアプリケーションHinagikuのソースコード。第1巻終了時の形。 hinagiku-volume2.zip (164.5 KB) -- サンプルアプリケーションHi...

What’s New in Edge Rails #23: Week of May 28 -J...

afreshcup.com 04 Jun '12, 4pm

It was a fairly quiet week on the Rails front. Well, if you don't count multiple non-edge dot releases for security fixes....

Good news everyone! Rails 3.2.4, 3.1.5, and 3.0...

weblog.rubyonrails.org 31 May '12, 6pm

Good news everyone! Rails version 3.2.4 has been released. This release of Rails contains two important security fixes: CV...

Good news everyone! Rails 3.2.4, 3.1.5, and 3.0...

weblog.rubyonrails.org 31 May '12, 6pm

Good news everyone! Rails version 3.1.5 has been released. This release of Rails contains two important security fixes: CV...

Good news everyone! Rails 3.2.4, 3.1.5, and 3.0...

weblog.rubyonrails.org 31 May '12, 6pm

Good news everyone! Rails version 3.0.13 has been released. This release of Rails contains two important security fixes: C...

Bookmarked: "Layouts and Rendering in Rails"

guides.rubyonrails.org 27 May '12, 6pm

To find the current layout, Rails first looks for a file in app/views/layouts with the same base name as the controller. F...

Rails 3.1: has_secure_passwordメソッド - Rails 雑感 -...

oiax.jp 06 Jun '12, 10am

この前のエントリー では、Rails 3.1で登場した assign_attributes という渋いメソッドについて書きました。 今回紹介するのも渋い新仕様です。その名も has_secure_password 。 いま、User というモデ...

Congrats @oscardelben Fantastic job making the ...

edgeguides.rubyonrails.org 23 May '12, 6pm

Vijay Dev Vijayakumar, found as Vijay Dev on the web, is a web applications developer and an open source enthusiast who li...