Displaying 1 result from an estimated 1 matches for "fb_always_valid_option_key".
Did you mean:
fb_always_valid_option_keys
2008 Sep 12
1
ArgumentError: Unknown key(s): dependant
...y/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:465:in
`const_missing''
from (irb):1
So what I did, I went to line:586 of
vendor/plugins/facebooker/lib/facebooker/rails/helpers.rb:589:in
`assert_valid_keys''
585 # We can allow css attributes.
586 FB_ALWAYS_VALID_OPTION_KEYS = [:class, :style]
and changed it to :
586 FB_ALWAYS_VALID_OPTION_KEYS = [:class, :style, :dependant]
587 def assert_valid_keys(*valid_keys)
588 unknown_keys = keys - [valid_keys +
FB_ALWAYS_VALID_OPTION_KEYS].flatten
589 raise(ArgumentError, "Unknown key(s): #{unknown_keys.join(&q...