“Ruby on Railsで複合キーを扱う(1) - Rails 雑感 - Ruby on ...
Ruby on Railsでは、データベーステーブルの主キーとしてidというカラムを使うのがデフォルトです。 誤解される方も多いのですが、もちろん主キーの名前は変更できます。たとえば、User モデルに対応するusers テーブルの主キーがui...
@wayoutmind @nlsmith I usually refer to but tho...
Ruby on Rails is not “someone else’s framework.” Over the years, hundreds of people have contributed to Ruby on Rails rang...
#Rails find of the day: #link_to_if and #link_t...
<%= button_to "New", :action => "new" %> # => "<form method="post" action="/controller/new" class="button_to"> # <div><inp...
Top Ruby Article: What's New in Edge Rails #24:
Monday, June 11, 2012 at 6:10AM Week of June 4 -June 10, 2012 Not a very busy week. The work merged at b4fb80cb starts red...
Mais 14 vídeos sobre Ruby e Rails | Ruby Brasil:
Atualizando a lista anterior (que tinha 12 screencasts falando sobre Rails ), listamos abaixo mais 14 vídeos abordando vár...
What's New in Edge Rails #22: Week of May 21 - ...
In addition to the features I've called out below, there's still plenty of internal tinkering going on with Rails 4.0. Thi...
Ruby on Rails Guides: Configuring Rails Applica...
configures Rails itself to serve static assets. Defaults to true, but in the production environment is turned off as the s...
why there is no excuse for @linkedin: tldr for ...
for presence of password, confirmation of password (using a "password_confirmation" attribute) are automatically added. Yo...
ruby1.9 + rails3 なら ruby-debug よりも debugger
Processing PostsController#create (for 127.0.0.1 at 2008-09-08 11:52:54) [POST] Session ID: BAh7BzoMY3NyZl9pZCIlMDY5MWU1M2...
『はじめる! Rails3』読者サポートページ - Ruby on Rails with OIAX
hinagiku-volume1.zip (145.6 KB) -- サンプルアプリケーションHinagikuのソースコード。第1巻終了時の形。 hinagiku-volume2.zip (164.5 KB) -- サンプルアプリケーションHi...
Rails 3.1: has_secure_passwordメソッド - Rails 雑感 -...
この前のエントリー では、Rails 3.1で登場した assign_attributes という渋いメソッドについて書きました。 今回紹介するのも渋い新仕様です。その名も has_secure_password 。 いま、User というモデ...
Screencast: Hover Content in Rails and Prototyp...
Screencast: Hover Content in Rails and Prototype from Erik Andrejko on Vimeo . It is often a good idea to show content whe...
Table#index - This method does not work. #rails
When using the index method within a create_table statement, it does not have any side effect - at least not in MySQL. cre...
Good news everyone! Rails 3.2.4, 3.1.5, and 3.0...
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...
Good news everyone! Rails version 3.1.5 has been released. This release of Rails contains two important security fixes: CV...
