similar to: STI versus Composition...or the headaches of one big table

Displaying 20 results from an estimated 100 matches similar to: "STI versus Composition...or the headaches of one big table"

2006 May 06
3
Extending Rails plugins?
Gents, I''m using the acts_as_taggable rails plugin (not gem), and would like to add some additional methods to it. For example, the find_tagged_with methods essentially does a find tag in a list (effectively an OR), while I''d like to implement a find_tagged_with_all method that would implement an AND (so if I specified 4 tags, it would only return items that were
2006 Jun 15
11
OT: Anyone have experience with completelydedicated.com?
Guys, I''m in the market for a reliable, trustworthy dedicated server solution. I''ve been running my own servers internally on a Speakeasy Static IP DSL connection, but recent problems with my local loop has caused me to reconsider this solution. completelydedicated.com offers a value Sempron for $59/monthly...a bit higher than I wish to go but I have no choice. Can
2006 May 07
6
Challenging SQL for you...
Gents, My heads been out of the sql game for too long (or it''s simply too early). I''m trying to extend the acts_as_taggable plugin (note: not gem) so that you can specify a list of tags you''re interested in, and the plugin will return only those items that are tagged with *all* these tags. The plugin uses primarily two tables: tags, to keep all the various tag
2006 Jun 04
1
Image links in stylesheets?
Guys, I understand the logic behind using image_tag in rhtml to maintain app portability, but how do you link to images in a stylesheet maintaining that same portability? Thanks for your help! B.A. -- B.A. Baracus: I thought you weren''t crazy no more? Murdock: Only on paper. -- Posted with http://DevLists.com. Sign up and save your mailbox.
2015 May 17
2
[LLVMdev] copy value of a global's data field to another global
Hi all, I can get access to the data stored in globals as follows: GlobalVariable* pGvarAct=_set_a_valid_global_; const_ptr_indicesVec=_the_indexes_ llvm::Constant* pConst; pConst=ConstantExpr::getGetElementPtr(pGvarAct, const_ptr_indicesVec); and e.g. use this to repalece an argumrnt of an instruction like: I->setOperand(someArgumentIndex,pConst); However, getGetElementPtr returns a
2006 Apr 30
13
Programming with designers in mind
Gents, We''re hard at work on a new Rails app. We''re a small group of developers...not a web designer in the bunch. We know CSS enough to be dangerous, but we shy away from the "softer" skills (all the while envious of those with that capability). We intend to grow our application in terms of functionality, but I need to make sure we keep an eye towards
2006 Apr 22
6
STI and type tables?
So by default to get STI, I would have something like: create_table :items do |t| t.column "type", :string t.column "title", :string end But if I want to store those type values in a separate table, such that I have ... create_table :items do |t| t.column "item_type_id", :string t.column "title", :string
2015 May 18
2
[LLVMdev] copy value of a global's data field to another global
getInitializer returns the complete initializer of the global. My globals are complex nested structs, from which I want to extract e.g. one double datafield. Example: >From a struct Stuct having double,array(3xint),float fields, I could extract the second int value using the index sequence 0,1,1 with getGetElementPtr. This gives me a constantPointer, but I would need to get a constInt...
2006 Jul 05
8
Beating the authentication horse (dead yet?)
Guys, I''m frankly overwhelmed by the number of Rails authentication options(?) out there...from ActiveRBAC to acts_as_authenticated to LoginEngine and so on...so many options, yet on resource I''ve found really distinguishes between each. This is sad, as authentication and user management is really an area where some Rails simplicity pixie dust could be a real boon to
2006 Jul 06
17
Linux distros
Is there any particular distro that seems to be most used among RoR developers on Linux? Any that might provide better support somehow for development of RoR apps? -- Posted via http://www.ruby-forum.com/.
2007 Dec 20
4
Ruby on Rails mailer
Today I made a first attempt to make use of ruby mailer. A volunteer fills out a form and the information is then sent to an administrator. I generated a mailer called notifier and added the following: class Notifier < ActionMailer::Base def volunteer_signup(volunteer, sent_at = Time.now) @subject = ''A new volunteer has signed up'' @body = { :title =>
2006 Apr 01
2
Textile headaches
I have the newest version of RedCloth installed (3.0.4). I want the following output: <h1>Header</h1> <p>Some text</p> This is what I tried but no luck: irb(main):002:0> require ''rubygems'' => true irb(main):004:0> require_gem ''RedCloth'' => true irb(main):006:0> RedCloth.new("h1. Header\r\nSome Text").to_html
2006 Oct 04
3
more linux headaches
After creating and installing a gem I get ''unintialized constant Wxruby2'' when trying to run wxRuby. Kevin, can you give me some pointers on getting this thing working? Roy
2004 Apr 12
0
Microsoft Windows Offline Folders headaches
Once working they are great, but getting offline folders to re-synch can sometimes waste many tens of minutes. Right now I have a Windows 2000 laptop with a Samba server's existing public folder share set as offline within network hood on the laptop (\\Emerald\Public). The Windows laptop and the Samba server are in the same workgroup. Other Windows clients can browse to the Samba server, get
2004 Aug 06
1
Admin headaches
Greetings I just migrated from a Debian install to a Gentoo install, and I'm having some issues getting the admin page to work. I have setup the acl policy and hosts.allowed the same way as on the Debian box, but I can't figure out how to use the *.aut files. When I try to connect to the admin page, I get this: [31/Jan/2004:00:12:03] [11:Connection Handler] No mountfile found, refusing
2006 Nov 12
2
Headaches with Video over SIP
Greetings all, I'm playing with asterisk and two Polycom VSX300 videoconferencing units. And I'm having zero luck getting video working over SIP. The two units register fine with asterisk, and with "allow=all" in sip.conf, the two units establish voice. But no video. And no obvious messages as to whats going wrong. The config for each is (they're numbered 201 and
2003 May 11
1
make release headaches
Hi there, When I do a make buildworld and try to do a make release it will fail telling that it needs the CVSROOT directory. I do cvsup /etc/cvs-supfile and receive nothing ; # /etc/cvs-supfile *default host=cvsup3.nl.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4_8 *default delete use-rel-suffix *default compress cvsroot-all If I remove
2004 Sep 11
2
PDC from 2 to 3, SID headaches
Hello, I'm doing a migration of a PDC from Samba 2.2.8a on Mandrake Linux 9.0 to Samba 3.0.6 on Debian Woody (stable), both on the same machine, different partitions, they do not run simultaneously. And I really need help. :-/ I could not find a detailed guide, so after having a look at the migration chapter of the official howto, I adapted my smb.conf keeping the same host and domain
2007 Jan 30
3
Java headaches
I lost my harddrive, and have had to reinstall. This time, I am being a bit smarter on imaging, but still got to get things installed... Installing Freemind. It needs Java JRE. So after lots of pain, and reading past messages, I got jre-1_5_0_09-linux-i586.rpm from sun and installed it. Then I tried to follow Jim Perrin's recommendation to install from jpackage.org the
2005 May 12
3
Sarbanes-Oxley headaches
Hi there, With the new scrutinization by auditors on account policies and auditing, how can Samba be SOX compliant? Using 3.0.14a-sernet on Suse 9.1 - ldapsam Specifically, a couple of things seem to be lacking: 1) Logon/Logoff times are not being recorded The last logon time recorded in my ldap entries are pre-nt4 migration. 2) Do the Audit Policy values in user manager have any effect? Are