formula 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/formula/version.rb +1 -1
  2. data/lib/formula.rb +1 -0
  3. metadata +1 -1
@@ -1,3 +1,3 @@
1
1
  module Formula
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: formula
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kevin Sylvestre