similar to: How to use carrierwave with active admin?

Displaying 20 results from an estimated 6000 matches similar to: "How to use carrierwave with active admin?"

2011 Nov 25
0
Use Carrierwave with Active Admin?
Hey, did any of you guys manage to get Active Admin with Carrierwave working? When I installed AA everything worked fine but the image file upload fields were plain text fields so added following: ActiveAdmin.register Club do form do |f| f.inputs "Club" do f.input :league f.input :name f.input :image, :as => :file f.input :approved end f.buttons
2011 Oct 26
6
Add an index to a form
Hello, I''m having some trouble with forms, my app allows to enter data by using a multi-step form that has 7 steps. There are 3 steps that may let the user to add 1 form, for example there''s a step called "children" and that children has the following fields: * name * age * gender but one father may have more than 1 child and I''m adding another form with
2010 Jan 16
3
Formtastic and Access to Variables of Nested Model
So I''m not even sure if I''ll be able to properly explain what I''m trying to do, but I''ll do my best. Let''s say that I have two models: Document and Option. A Document has many Options (and, by extension, an Option belongs to a Document). Each document may have a different number of options, hence why I made it a separate model. Each document has the
2010 Feb 19
3
Hooking validates
I want to hook the validation routines so that I can flag html labels and change their color to better indicate which fields need to be corrected in a form. Is there a way to do this conveniently and/or conventionally? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2010 Jun 21
9
[BUG] Segmentation fault
First of all, I use RVM and I installed ruby-1.9.2-head, which I used to create a new rails3 gemset. Then I changed to that gemset with rvm use 1.9.2-head@rails3 and I ran bundle install over the following Gemfile: source ''http://rubygems.org'' gem ''rails'', ''3.0.0.beta4'' gem ''sqlite3-ruby'', :require =>
2011 Oct 11
5
Polymorphic association with Active Admin
I have a belongs_to polymorphic association and I don''t know how to create and edit my models of that relationship with active admin. If anyone can help me, please do. Thank you, Rodrigo -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2012 Aug 29
2
Carrierwave Direct and additional form elements
I just switched a project from Dragonfly to Carrierwave, specifically to see if I could take advantage of Carrierwave Direct, which uploads large files directly to S3 or another cloud storage. I was able to make a form containing a single file field that would upload to S3. What I could not work out was how to upload the file to S3 AND other form elements to the model that had Carrierwave
2011 Sep 21
1
Active Admin
Hello comrades Can i use Active Admin on Rails 2.3.5 ? http://activeadmin.info/ Thanks Tsolmon -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2013 Feb 26
1
Store files with carrierwave to remote server (may be via ssh/scp)?
Im setting up production environment where all static content separated from web application server. I need to store all carrierwave powered content to another server, but by default carrierwave include only :file (for local files) and :fog (for cloud CDN) store support. How I can do that? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 May 22
1
How do you crop an image with carrierwave 'after the fact' in rails?
What I''d like to do is upload an image, then take the user to a new page where I will use Jcrop to let the user select the part of the image they want to crop, and then store that image. Essentially, I want to make it a 2-stage process. I know how to do the javascript part, and I understand the basic flow of how to create this functionality. However, I am not aware of the carrierwave
2011 Jul 18
0
rails_admin & carrierwave
Hi to all.... Please help me =( I use rails_admin and I need to upload files with the help of it. I found carrierwave for it and installed it with the help of https://gist.github.com/884835. But It doesn''t work =( when i login in rails_admit? i see default text field instead field for choose a file, but this text field without CSS styles of rails_admin. I think, that my views, which i
2013 May 17
5
Active Admin with Ajax call
Hello everyone. I''m begining with Ruby on Rails, and i''m facing some trouble with "ActiveAdmin with ajax." Here''s the situation: It''s a Kennel''s web site, so, while i''m creating a new dog, i have one select/options for the dog''s father, dog''s mother, and dog''s race. After select the dog''s
2011 Apr 21
2
Rails 2.3.11 and carrierwave, can't find generator
I added carrierwave to a 2.3.11 app that I have updated with Bundler. I just tried to use the following: script/generate uploader Avatar The following error is coming back: NOTE: Gem.cache is deprecated, use Gem::source_index. It will be removed on or after 2011-08-01. Gem.cache called from /Library/Ruby/Gems/1.8/gems/rails-2.3.11/lib/ rails_generator/lookup.rb:234 . Couldn''t find
2011 Aug 05
1
carrierwave tutorial
Is there a tutorial for `carrierwave` other than in RailsCasts that you recommend? Thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email
2011 Aug 11
1
How to secure file access using Carrierwave + S3 hosted on Heroku
My site is hosted on Heroku and I am using Carrierwave to upload files to Amazon. How can i restrict file access based on roles? Is this possible? Using Devise and CanCan. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To
2013 Jun 21
0
Carrierwave large file optimization
Carrierwave documentation includes this tip for uploading large files. Inside your uploader, add these two methods (they say) def move_to_cache true end def move_to_store true end to make the uploads work more efficiently. This is true, it does work -- as long as you aren''t trying to do anything with versions or other processing. If you do, then the upload will only ever
2011 Sep 01
0
Encrypt/Decrypt files using Carrierwave to store in S3
Hi, I need to be able to encrypt files before storing them on S3, and then decrypt them when accessing them. The files will be images, documents, PDF, etc. I am using Carrierwave to handle the file upload and storage. I am storing them in Amazon S3. Has anyone done this, or have any ideas how this would be achieved? Thanks. -- You received this message because you are subscribed to the
2011 Jun 03
0
CKEditor + CarrierWave
someone already used the CarrierWave for do uploads with CKEditor? I''m looking for a tutorial or some information about how do it. Thanks! -- *Fernando Aureliano* -------------------------------------------------------------- [iOSDeveloper] - *ObjectiveC* [WebDesigner] - *CSS3&HTML5* *[WebDeveloper] - RubyOnRails* *-------------------------------------------------------------- *
2011 Jul 07
0
Question of uploading large file using carrierwave, uploadify and nginx upload module
Hey ROR users, I have a small experimental web app which is for uploading files. The web app uses carrierwave, uploadify. It works fine on small size files. However, it can not handle large size files (>1G) efficiently. Then I decided using nginx upload module, it worked well on small size files after modification of codes,. But It fails on uploading large files (>1G) because of http error
2006 Feb 13
2
categories and admin/categories - different controllers and templates?
Is there some way to have these two sets of URLs use totally different controllers and templates? categories/list categories/show/1 admin/categories/list admin/categories/edit/1 admin/categories/destroy/1 admin/categories/update/1 Besides, of course, using different controller names ;). The first URL is publicly accessible, while the second contains admin functions. Also, with the second,