similar to: Active Admin with Ajax call

Displaying 20 results from an estimated 3000 matches similar to: "Active Admin with Ajax call"

2012 Oct 17
2
autolog: set_trace_func without all the typing
If it helps anyone developing Rails, apps, or gems, I wrote a shortcut for set_trace_func, so next time you want to just add a line before and after some function you are trying to debug you can have Ruby temporarily output every line, method, etc. executed. Also, it lets you define the format, use other loggers, etc. via a proc/lambda define, since you might not like the default format.
2011 Sep 13
3
Accessing Rails helper method with_output_buffer
Hi all, I cannot figure out how to correctly use the with_output_buffer helper method (located in ActionView::Helpers::CaptureHelper) inside a custom FormBuilder. Below follows a simplified example. I''m trying to achieve the following behavior in an ERB as suggested in the form_for helper docs in the Rails source: ========== <%= form_for @object, :builder => MyFormBuilder do
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
HI All, I have installed the Active Admin successfully, but facing the following error while restarting the server after generating an resource. *rails generate active_admin:resource item* /home/logs/Desktop/training/RAILS/courier/app/admin/items.rb:1:in `<top (required)>'': uninitialized constant Item (NameError) from
2009 Aug 29
2
Users, Roles and Permissions
Hello, I''m currently working on a text-based roleplay browser game, and i''m trying to figure out what the best approach would be in order to create a system that allows me to assign roles to a user, and permissions based upon the role a user has. I''ve been thinking about creating a model User, which has_many :roles, and with the Role model which has_many :permissions.
2008 Feb 01
2
Facebooker interfering with existing application
Hi! I have an existing application, basically a very simple Hobo app. It works... When I install the Facebooker plugin and create the facebooker.yml file (with valid or fake content, doesn''t matter), the original app starts behaving strangely. The controller and view logic keeps working, but several static files stop being served from http://localhost:3000/javascripts and start being
2011 Aug 23
2
Where is WillPaginate::Finders ???
Hi All! It''s been a while since I had to ask for help, but I''m back! I''ve finished beta testing my big app and started the transition to production. Everything went fine and the production version was working till I was asked to add another model :-( (Almost a year of beta testing and they only come up with it after moving to production :-D ) I successfully
2007 Aug 26
4
howto regressions on environment.rb in Rails projects
How would one write a spec on environment.rb in a rails app? I was requiring a gem in environment.rb, but received a "MissingSourceError". Generally, ruby raises a LoadError when it can''t find a gem, but rails overrides this to raise a MissingSourceError (since rails is expecting a required file to be in lib/...). How would I write a spec to override this behavior,
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 Sep 16
1
“Routing Error No route matches {}” when omniauth failed on registration
(Original question was asked here: http://stackoverflow.com/questions/11506734/routing-error-no-route-matches-when-omniauth-failed-on-registration ) I am using omniauth-identity and configure its "fail on registration". My files: config/initializers/omniauth.rb OmniAuth.config.logger = Rails.logger Rails.application.config.middleware.use OmniAuth::Builder do #... provider
2011 Oct 11
1
How to use carrierwave with active admin?
Hi, I''d like to upload images and videos with carrierwave at the active admin interface. Just to make it clear, the admin will change images and video at the website using active admin. if anyone knows how to do this please help me. Thank you, Rodrigo -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2008 Apr 02
18
Setting up PuppetShow - Puppet's Web Interface
Hello puppeters; I want to set/test the PuppetShow "Puppet''s Web Interface" with Ruby on Rails (ROR). If somebody has setup such show, please share your experiece with EXAMPLES...I''m not the programmer.so please share your STEPS....I have setup the ROR environment, currently learning Rails with different frameworks....HOBO (http://hobocentral.net/) is great for starter
2007 Aug 29
2
Klibc 1.5.4 build issues
I'm working with klibc as a part of trying to port LTSP version 5 into Red Hat 4 and 5. Red Hat does not appear to have a very good set of utilities for playing in early userspace like LTSP's boot process requires so I thought I would try klibc since I could then base my port more closely on the Ubuntu/Debian work. Problem is I can't seem to get klibc to build against the RHEL 4
2008 Oct 10
7
How do I see that a xVM is running as paravirtualized
I have followed a combination of instructions from this post and have been able to get an Ubuntu paravirtualized instance running under snv_96. Is there a way to "list" the fact that it is paravirtualized? For example, xm list, virsh list, etc. thanks -- This message posted from opensolaris.org
2009 Nov 13
3
Encoding::UTF_8 missing?
I''ve just done a fresh reinstall of OS X Snow Leopard on my mac, and I''m having all kinds of problems with Rails, but the latest problem has me stumped. Whenever I run rake db:seed to populate my database I hit the following error: ** Invoke db:seed (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:seed rake aborted! uninitialized constant
2019 Jun 14
2
Ejecutar un script de Python con argumentos desde R
Hola, amigos Se me acabo la sapienza. A ver: tengo un sript de Python script.py que neesita sus argumentos arg1 arg2 arg3, si desde la consola del sistema me pongo en la carpeta en la que lo tengo y hago: $ script.py arg1 arg arg3 Funciona perfecto. Pero desde R no lo consigo (entiendo que por no saber) Lo hago así (copio y pego): dir <- getwd() setwd('data/row/directoriocondatos/')
2007 Sep 29
2
Typo3 5.0 Framework
Hi guys, for about one and half a year I am involved in RoR Development. I like the framework very much! But more and more I have my doubts, that this framework will succeed, I think Ruby on Rails succeed only, if some powers from community will be concentrated on a target-oriented development of the Framework. Since the approach of a pragmatic way of programming isn''t new anymore, more
2004 Jun 28
1
specified network name is no longer available
Hi Volker, Jordan Coleman, Murray Taylor, David Kennel, Frederic Corne and Stephen Jones all wrote about the problem of a specified network intermittently reported "no longer available" when writing to a file. It's the same problem which I complained about on April 7. I then assumed it had to do with the presence of a w2k3 server in the domain. The problem disappeared after I
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
2010 May 19
2
Joining two (or more) frequency tables
Hi, I am still new to R and have, in spite of searching all over, found no "understandable" documentation for how to join two (or more) frequency tables. Why would I want to do that and what do I mean by "joining" ? Let me try to explain: I have a diagnosis form that allows registration of up to three diagnosis codes on animals with birth defects, like this: father.id
2018 Jun 07
2
dovecot-pigeonhole Missing sieve_imapsieve Plugin?
Hi Folks, I am having a problem configuring imapsieve via dovecot-pidgeonhole on CentOS7. After following the docs here: https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/IMAPSieve I get: dovecot[22026]: managesieve: Fatal: Plugin 'sieve_imapsieve' not found from directory /usr/lib64/dovecot/sieve dovecot[22026]: doveconf: Error: managesieve-login: dump-capability process returned 89