Difference between attributes and base_attributes in Ruby?

Viewed 95

I've seen several models define a static method

self.base_attributes
 {
    :object => []
 }
end 

and some other models define the static method

self.attributes
  @@attributes = {}
end

What exactly is the difference between attributes and base attributes?

1 Answers
Related