External RSS Extension Error

Can anyone help me out? I’m new to Radiant, and I can’t seem to figure
out how to fix an issue with the External RSS extension. When I try and
add a new RSS feed, I get:


ActiveRecord::DangerousAttributeError in Admin/external_rss_feed#new

Showing admin/external_rss_feed/edit.rhtml where line #10 raised:

valid? is defined by ActiveRecord

Extracted source (around line #10):

7:


8:


9: Name
10: <%= text_field “external_rss_feed”, “name”, :class =>
‘textbox’, :maxlength => 100 %>
11:


12:


13: URL


So I changed valid? in the model to validate but the error still shows
up.

The trace from the edit.rhtml is:

/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.6/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:88:in
instance_method_already_implemented?' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.6/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:76:indefine_attribute_methods’
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.6/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:63:in
each' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.6/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:63:indefine_attribute_methods’
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.6/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:290:in
respond_to?' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.6/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:560:invalue_before_type_cast’
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.6/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:550:in
value_before_type_cast' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.6/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:465:into_input_field_tag’
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.6/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:289:in
`text_field’
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.6/vendor/extensions/external_rss/app/views/admin/external_rss_feed/edit.rhtml:10:in

Thanks for any help in advance!

-Josh

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs