search for: danielbuus

Displaying 7 results from an estimated 7 matches for "danielbuus".

Did you mean: danielbu
2007 Jan 18
8
How can I find out which attribute is screwing up pluralize/singularize?
Hey there :) I''m creating this app on top of a legacy database, that has a mixture of auto_inc ids, non-''id'' named pks, non-integer-pks, foreign keys that end in _code instead of _id, etc. I have the model working great in the console, where I can create any modeled object and reference other objects without issues. However, I''m running into problems with
2007 Mar 06
0
:dependent => :destroy_unconditionally?
Hey... I have these business_accounts that have a bunch of members through a business_account_membership model. A membership can be a privileged, "managing" one, and a business account should always have one such privileged member, so I have a before_destroy filter on the business_account_membership model to prevent the deletion of the last managing member of a business account.
2007 Mar 21
0
Getting the module name with ObjectSpace...
Hey :) I''m trying to create a method for making a sitemap dynamically. It works great for flat sites where you simply have your controllers in the app/controllers directory. In this case, I can extract the controller names like, @controllers ObjectSpace.subclasses_of(ActionController::Base).each do |obj| @controllers["#{obj.controller_name}"] = obj end However,
2006 Nov 28
0
"Exec format error" (Windows)
Hey again :) I have this weird issue on Windows. I''ve installed mongrel_cluster and friends, and I''m trying to get a cluster up and running. Here''s my mongrel_cluster.yml: ------------ --- port: 8000 environment: production address: 127.0.0.1 pid_file: log/mongrel.pid servers: 10 cwd: c:/railstest docroot: public log_file: log/mongrel.log ------------ I''ve
2007 Jan 17
1
Get "Uninitialized constant" with Globalize
Hey there :) Wondering what''s up with this... I just installed the Globalize plug-in in my current project, ran the rake globalize:setup script, then added "include Globalize" to my config/environment.rb. Now, when I try to start my server, I get: => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails application starting on
2007 Apr 12
5
Ruby-ODBC compiled for Windows... Anything newer than 0.997?
Hey :) We''re doing this large project, based on a legacy MSSQL database. We''ve had some issues, particularly with datetimes, when communicating with the server. These issues dissapeared after updating our ruby-odbc package to a new version (we''re developing on Linux and MacOS X, and connecting to the remote MSSQL server via FreeTDS and UnixODBC/iODBC, and then ruby-odbc
2010 Mar 03
6
Question about multiple RAIDZ vdevs using slices on the same disk
Hi all :) I''ve been wanting to make the switch from XFS over RAID5 to ZFS/RAIDZ2 for some time now, ever since I read about ZFS the first time. Absolutely amazing beast! I''ve built my own little hobby server at home and have a boatload of disks in different sizes that I''ve been using together to build a RAID5 array on Linux using mdadm in two layers; first layer is