We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I configured rich just as shown on wiki page to work with rails_admin, however when I try to edit a resource which should use rich I get:
rich
rails_admin
ActionView::Template::Error (undefined method `html_default_value' for #<RailsAdmin::Config::Fields::Types::RichEditor:0x00000005583b08>): 1: = form.send 'text_area', field.method_name, field.html_attributes.reverse_merge((hdv = field.html_default_value).nil? ? {} : { :value => hdv }) 2: 3: = javascript_include_tag "rich/base.js" 4: :javascript rich (1.4.6) app/views/rails_admin/main/_form_rich_text.html.haml:1
Is rich compatible with rails_admin 0.6.5?
rails_admin 0.6.5
The text was updated successfully, but these errors were encountered:
I solve this with following step
replace
gem 'rich'
to
gem 'rich', github: 'bastiaanterhorst/rich'
and if you are using heroku do this too
https://github.com/bastiaanterhorst/rich/wiki/Troubleshooting
Sorry, something went wrong.
I had the same problem with rails_admin 0.7.0. Sourcing the directly from github solved it.
Can this be done without specifying the repo?
The same problem fixed using the answer of @zackexplosion, thanks.
@zackexplosion how did you fix this problem? I still fight with it ;(
No branches or pull requests
I configured
rich
just as shown on wiki page to work withrails_admin
, however when I try to edit a resource which should use rich I get:Is
rich
compatible withrails_admin 0.6.5
?The text was updated successfully, but these errors were encountered: