similar to: introducing acts_as_shellable gem

Displaying 20 results from an estimated 70 matches similar to: "introducing acts_as_shellable gem"

2009 Mar 27
3
ANNOUNCE: Hirb - A gem enhancing your script/console
Hi, I''m announcing Hirb, a mini view framework which enables script/ console to provide custom views. Out of the box your activerecord objects come back as ascii tables. You can also configure your tree-based models to return as ascii trees: Numeric |-- Float |-- Integer | |-- Bignum | `-- Fixnum |-- Date::Infinity `-- Rational I''ve written two tutorials on
2013 Mar 12
2
Mail / Web server guides
Hi, I have spent the last couple of weeks learning all about setting up CentOS as a mailing server, web server, MySQL server (which hasn't been easy because all of your guides are a little out of date). I have also written a few shell scripts to automate the whole process and was wondering if my guides would be useful to have on your wiki site. The guides focus on a base install of Centos
2012 Dec 04
2
403 Forbidden from nginx when unicorn started in debug mode
I am using nginx with unicorn as a reverse proxy. Has been fantastic, but needed to look through some code for first time. Using ruby 1.9.3p194 with rails 3.2.9, development mode with ssl enabled, I start unicorn with -d ...and it does not get served up by nginx. Any ideas, or more information needed? Thanks! Jet Below is my unicorn.rb for developent: # config/unicorn.rb env =
2006 Dec 31
1
How do you use acts_as_ferret without rails?
I am currently using activerecord without rails and I''d like to use the acts_as_ferret plugin as it works well with activerecord. How do I take advantage of the acts_as_ferret without rails installed? Is this possible? If someone could provide me with direction on how this would be done, that would be greatly appreciated. I assume that since active record works without rails that all
2006 Nov 27
2
find_conditions in acts_as_ferret find_by_contents
Hi all, Every time I try to add options for the find_conditions argument of find_by_contents I get the following: a = AnnotatedLink.find_by_contents(''test'', {}, {:conditions => ''category_id IS NOT NULL''}) >> NoMethodError: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while
2012 Apr 05
0
Polymorphism, acts_as_relation gem and nested attributes
I have the following polymorphic association set up with acts_as_relation (https://github.com/hzamani/acts_as_relation) Model code: class Email < ActiveRecord::Base belongs_to :detail validates_presence_of :address end class Detail < ActiveRecord::Base acts_as_superclass has_many :emails accepts_nested_attributes_for :emails, allow_destroy: true
2007 Nov 27
1
Plugin - How to access object from instance method
Quick question: Given a basic plugin... how can I access an object that I instantiated in the acts_as method from an instance method? Probably some sort of accessor... but where? def self.included(base) base.extend ClassMethods end module ClassMethods def acts_as_test object = Object.new ## This object needs to be accessible from the Instance Methods end include
2008 Oct 18
0
Passenger won't allow ActiveRecord to be extended ?
After much tinkering, I have discovered that any module or plugin which extends ActiveRecord causes Passenger to fail (application won''t load at all). Is this a known behavior? I have confirmed that my Passenger installation is working just fine with a simple Rails application that does not modify AR. Passenger 2.0.3 OS X 10.5.4 Built-in Apache 2.2 ruby 1.8.6(114) Rails 1.2.6 In one
2009 Feb 26
2
detecting acts_as_x?
I''m writing an acts_as_x type plugin/gem and I need to know how to detect which other acts_as plugins are installed so I can avoid name conflicts. What''s a simple way to do this? Thanks John Small -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby
2013 Sep 26
2
Login Problem
Hello All, I am getting a problem while login for inactive users. While login I am getting - Processing by Devise::SessionsController#new as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 Redirected to http://localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected. Inactive users
2006 Apr 30
4
acts_as_ordered_tree
I need an ordered (sortable tree) and I just was thinking if somehting like this is possible: class Item< ActiveRecord::Base acts_as_tree :order => "position" acts_as_list :scope => ''parent_id = #{self.id}'' end For my understanding mixing of two acts_as should be p?ssible, at least in this case, right? Unfortunatly the :scope is not working, I am not
2006 Jun 30
0
Three ActiveRecord features we want at work - any comments/suggestions?
Hi I thought I would run this past the Rails list before I start doing any work because I don''t want to re-invent any wheels. Basically the situation I''m in is that I work for a company that is currently working on two big non-Rails projects used for financial purposes (one sells vehicles and vehicle finance, the other is an internal broker management system used by
2008 Jan 22
11
Unable to load Models which reference plugins?
I''m using a plugin which adds a method to ActiveRecord::Base http://similetimelinerailshelper.googlecode.com/svn/trunk/simile_timeline/ This adds an "acts_as" type declaration to the Models, via the file in vendor/plugins/simile_timeline/lib/simile_timeline.rb Rails is working with these declarations, and they are being used successfully in ''regular
2013 Mar 11
1
Suggesed wiki edits: Documentation
http://wiki.centos.org/Documentation on your host, in this wiki, and and the larger web where you should look on your host, in this wiki, and on the larger web, where you should look a full complement of man and info pages. a full complement of manual and info pages. The pinfo documentation reader is available which may be installed via yum The pinfo documentation reader is available,
2012 Oct 29
1
Nut-upsdev Digest, Vol 88, Issue 22
?Hello everybody, just a few notes to the doxygen X man issue: 1/ AFAIK doxygen can generate man pages, so why don't we just generate them and decide then whether they are ill fitted or usable... 2/ I'd definitely use doxygen when possible; I mean I don't know any alternative that's able to do (at least partial) validation of the documentation with the source 3/ I
2004 Nov 09
2
ssh login
sorry - hope this question is not tooo silly, but i needed to "autologin" to a remote machine found out that this works fine for me: sftp -opassword=PASSWORD USER at 192.168.1.1 << EOF cd ANYDIRECTORY get ANYFILE bye EOF why isn't this (sftp -opassword=SECRET USER at 192.168.1.1), setting the password with -opassword=PASSWORD, documentated anywhere? bug or feature? kind
2003 Jun 18
1
ssh-agent protocol
Hi, I don't know if this is the right place for this question, but here goes: I'm building an application for Mac OS X to manage the ssh keychain. I'm planning on building a seperate socket where ssh can connect to, read data from it, and forward it to the wrapped ssh-agent if neccesary. I want to notify the user when ssh is trying to request keys when there aren't any keys
2014 Jun 12
1
Improve ControlPersist documentation
Hi, While testing the ControlPersist option (which is very useful by the way, thank you), I find out that setting it to 0 has the same behaviour as setting it to yes, while I would have expected to exit as soon as the last client exits. I'd like to make this behaviour clear, I think it should be documentated in the man page for example like this: $ cvs diff -u ssh_config.5 Index:
2004 May 30
1
Advanced access control and cause handling
Hi there, I just finished work on my current PBX dialplan configuration. I didn't find anything compareable yet so I think it might be interesting for someone else too. Short overview: - seperation of the numbers in blocks (just definded) - error/cause handling - advanced access control (even vor ISDN Zap clients) - access levels - denylist with national number blocks (for Germany) -
2003 Mar 12
1
documentation project
Greetings from Brazil, I want to know if are there any Brazilians here which want to create a home page with documentation for people who wants to use SAMBA. I've just finished some projects here, and have documentated stuff which i want to share with other users. I want to know if it is possible to add a link in the samba.org home page for a possible site for Brasilians users. Waiting