Skip to content

Instantly share code, notes, and snippets.

@sprite2005
Created June 26, 2013 18:48
Show Gist options
  • Save sprite2005/5870221 to your computer and use it in GitHub Desktop.
Save sprite2005/5870221 to your computer and use it in GitHub Desktop.
# game_bardo_state.rb
# tile_state.rb is in model directory as well
require 'tile_state'
class GameBoardState < ActiveRecord::Base
belongs_to :game
serialize :board_state
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment