lib/rasti/db/computed_attribute.rb in rasti-db-4.0.0 vs lib/rasti/db/computed_attribute.rb in rasti-db-4.1.0
- old
+ new
@@ -7,11 +7,11 @@
def initialize(identifier, &join)
@identifier = identifier
@join = join
end
- def apply_join(dataset)
- join ? join.call(dataset) : dataset
+ def apply_join(dataset, environment)
+ join ? join.call(dataset, environment) : dataset
end
private
attr_reader :join
\ No newline at end of file