DATE/TIMESTAMPのカラムのscaffoldでViewが作られない
DBはOracleなんですけど、テーブルこれでつくりました
class Cars < ActiveRecord::Migration def self.up create_table :cars do |t| t.column :name, :string t.column :maker_id, :number t.column :arrived_at, :datetime t.column :created_at, :timestamp t.column :updated_at, :date t.column :changed_at, :time end end def self.down drop_table :cars end end
で、scaffoldしてedit画面にアクセスしたら
datetime,timestamp,date,timeのカラムがなんも表示されないんですね。。
SELECTボックスが出てこないんです。
MySQLだと問題ないのになあ。