思惑はずれる

ruby-amazonAPIがカッチリしていてアイマイモコな検索が出来ないっぽい。
こりゃ自分用にライブラリ作らないとだめか。


しょうがないので、取りあえず検索結果をしまうモデルを作っておく。

class CreateWidgetItems < ActiveRecord::Migration
  def self.up
    create_table :widget_items do |t|
      t.column  :widget_id, :integer, :null => false
      t.column  :releasedate, :string,  :null => false
      t.column  :genre_id,  :integer, :null => false
      t.column  :title, :string,  :null => false
    end
  end

  def self.down
    drop_table :widget_items
  end
end

続きは明日・・・は田舎に立つから、またそのうちに。