formula 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/formula/version.rb +1 -1
- data/lib/formula.rb +1 -0
- metadata +1 -1
data/lib/formula/version.rb
CHANGED
data/lib/formula.rb
CHANGED
@@ -237,6 +237,7 @@ module Formula
|
|
237
237
|
def association(method, collection, value, text, options = {})
|
238
238
|
options[:as] ||= :select
|
239
239
|
options[:association] ||= {}
|
240
|
+
options[:association][:html] ||= {}
|
240
241
|
|
241
242
|
self.block(method, options) do
|
242
243
|
@template.content_tag(::Formula.association_tag, :class => [::Formula.association_class, options[:as]]) do
|