Class: StructureCenter

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
CoreBase
Defined in:
app/models/structure_center.rb

Overview

Attributes:

Associations:

Class Method Summary (collapse)

Class Method Details

+ (Object) by_reference_space(reference_space_id)

Parameters:

  • reference_space_id (Integer)

    a reference space id



15
16
17
# File 'app/models/structure_center.rb', line 15

def self.by_reference_space(reference_space_id)
  where(:reference_space_id => reference_space_id)
end