1 2 3 4 5
class GatewaySetting < ActiveRecord::Base attr_accessible :gateway_id, :name, :value, :class_type, :description belongs_to :gateway end