Issue with Active Admin implementation
See original GitHub issueI’m not sure if this an issue with integration with Active Admin, Formtasitc (which is used by AA by default for forms) or with Rails 4, but I can’t seem to get around it.
form do |f|
f.inputs "Town" do
f.input :town
f.input :name
f.filepicker_field :filepicker_url
end
f.actions
end
I get the following error on the page where I submit the form:
Showing /Users/***/.rvm/gems/ruby-2.0.0-p0@Guides/bundler/gems/active_admin-72a9c30cef47/app/views/active_admin/resource/edit.html.arb where line #1 raised:
Set config.filepicker_rails.api_key
Extracted source (around line #1):
1: insert_tag renderer_for(:edit)
I have followed the instructions from the github docs and have my API key in config/application.rb. Has anyone else run into this error? I use Filepicker in another php app and love it, so I’d rather not have to use Paperclip for my Rails apps.
Here’s a gist to the full trace Gist
Issue Analytics
- State:
- Created 10 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Issues · activeadmin/activeadmin - GitHub
The administration framework for Ruby on Rails applications. - Issues · activeadmin/activeadmin.
Read more >Active Admin | The administration framework for Ruby on Rails
Active Admin is a Ruby on Rails plugin for generating administration style interfaces. It abstracts common business application patterns to make it simple...
Read more >General Configuration - Active Admin | The administration
When registering resources in Active Admin, they are loaded into a namespace. The default namespace is “admin”. # app/admin/posts.rb ActiveAdmin.register ...
Read more >Working with Resources - Active Admin
Working with Resources · Create a Resource · Setting up Strong Parameters · Disabling Actions on a Resource · Renaming Action Items ·...
Read more >Installation - Active Admin
Active Admin is a Ruby Gem. ... More accurately, it's a Rails Engine that can be injected into your existing Ruby on Rails...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nileshtrivedi how did you ended up adding the js include tags
from https://github.com/filestack/filestack-rails in activeadmin ?
I’d love to know if you figured this out @geoffrey. I’m having the same difficulty: no access to ActiveAdmin’s layout, and adding
to my
_form.html.erb
raisesundefined local variable or method 'filestack_js_include_tag'