2011-02-01から1ヶ月間の記事一覧
以下参照。 http://threeone.blog93.fc2.com/blog-entry-13.html
細かいことは後日記載。。。 参考URL Emacs で Ruby 開発環境 - どんならんな anything導入のeverything 〜3分で使えるanything.el〜 - http://rubikitch.com/に移転しました Rubyのメソッドの補完を行うanything-rcodetools.elをリリース - http://rubikitc…
【コード1】 class Parent < ActiveRecord::Base has_many :children end class Child < ActiveRecord::Base belongs_to :parent # その他、自分自身のvalidationコードを以下に記載・・・ validates :hoge, :presence => true validates :fuga, :presence =…