Commit 60d565fa by ivan Lan

Add instance method :series_with_spec to Product

parent 2e9e9af9
......@@ -74,6 +74,10 @@ module Shotengai
Shotengai::Series.alive.find_by_id(default_series_id) || series.alive.first
end
def series_with_spec val
series_class.query_spec_value_with_product(val, self)
end
def meta
super || {}
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment