similar to: active record, checking for existing records

Displaying 20 results from an estimated 20000 matches similar to: "active record, checking for existing records"

2006 Aug 15
4
escaping html?
Hi I have a wysiwyg html ditor in my app. How do I escape html written to the database and encoding when I display the content> Ty Pieter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060815/d8c50941/attachment.html
2006 Jun 26
0
DBI question. How do I load a database with data parsed from REXML?
I wrote a rexml script that parses rather big xml files (DOM parsing) and builds an object out of them. This is what it looks like after i parse the xml file and display the object: [#<Article:0xb79e7428 @brand="This is a story from ", @id=5337, @fblurb="burb", @ntype="news type here", @copy="Copyright \302\251 2006 ", @source="source",
2008 Jan 10
3
A best practices question
Hey everyone. I''ve got a best practices question. How are you guys rendering newsfeeds? We have a couple of apps where we send newsfeed items from a backend process. As such, we aren''t in the context of a controller and can''t use the rails template rendering. We''ve tried about 3 different ways to make that bearable, but aren''t having much
2006 Aug 09
5
off - subversion
hi guys question on usage of subversion. just set up the repository, removed database settings, logs, tmp etc from being committed. we are two developers and a designer working on the project. do not have the luxury of a separate development and production server. (cost of bandwidth in 3rd world countries!) figured out how to allow everyone involved to checkout latest version and check in
2006 Jun 24
1
Parsing XML with REXML problem
Why can it not find my object? What am i missing here? Here is my code: require ''rexml/document'' include REXML # classes to represent the objects and relationships in the xml file class Article attr_accessor :id, :post, :archive, :ntype, :head, :blurb, :body, :fblurb, :fimage, :att, :source, :copy, :brand end # the base parser class BaseXMLParser def initialize(filename)
2002 Feb 26
1
Include exclude not working
Hi! playing with --include, --exclude, and --exclude-from=file I found these not working: xcnlm00s:/etc/adsm/script # rsync -navx --include="*/" --exclude="*" -e ssh newsfeed:/ receiving file list ... done wrote 29 bytes read 28605 bytes 3014.11 bytes/sec total size is 0 speedup is 0.00 xcnlm00s:/etc/adsm/script # rsync -navx --exclude="*"
2005 Dec 15
2
Checking the existance of a NOT NULL constraint from Active Record
Hi, I'd like to check the existance of a NOT NULL constraint for a given attribute using ActiveRecord. Is this possible or do I have to painstakingly query the information_schema myself? I need this for some reflection in a custom association. Thanks, - Rowan -- Morality is usually taught by the immoral. _______________________________________________ Rails mailing list
2005 Mar 28
0
Active Record: finding records based on :belongs_to values
All -- I''ve got a bunch of different user types, all of whom have an Account. Account holds first and last name, and a few other values; values for the the other types vary considerably. The problem I''m facing is that I want to order results by last, first for all the user types, and I don''t see any way to do that except for diving into SQL. I don''t want to
2001 Oct 29
1
NT command tools
*** post for FREE via your newsreader at post.newsfeeds.com *** I'm using WINE (20010731) with RedHat 7.2. I'm trying to run some Windows NT command tools with WINE such as usrmgr.exe, netsvc.exe, etc. USRMGR.EXE loads fine, but it says on the Windows app window "RPC Protocol error". I'm wondering whether WINE supports RPC apps. Am I missing RPC support on my
2001 Jun 26
1
Why is winemaker output a library & symlink?
Marcus Meissner wrote: > > In article <ax%R6.33895$hV3.53576@newsfeeds.bigpond.com>, > David Rowe <voicet@bigpond.com.au> wrote: > >1) Why does winemaker (after ./configure, make etc) produce a library and > >sym link as the output, e.g. why not an executable. > > This is the usual invokation method of WINE binaries. Do not worry. This is an excellent
2001 Jul 26
2
Installing Smart Suite 97
I get to 53 percent of files copied and I get the message that c:\lotuscomponent/lttsn32.dll is in use by another application and terminates install. Help me? BTW I get a message about contacting Microsoft support about mytab11.c. Well this is a Microsoft clean installation. Took me hours to the point where the installer will load and run. -----= Posted via Newsfeeds.Com, Uncensored Usenet
2006 Aug 11
6
css - location of files.
Hi all. I have the following scenario. http://myapp/site1 is using <%= stylesheet_link_tag ''myapp_standard'' %> to define the stylesheet for layout, I have myapp_standard.css in /public/stylesheets and it works fine. However, in the stylesheet I define a image to use for my site background. eg: html, body{ background-image: url(mysite_background.jpg); padding-top:
2006 Jun 24
0
Best approach for loading a data object into mysql?
I wrote a rexml script that parses rather big xml files (DOM parsing) and builds an object out of them. This is what it looks like after i parse the xml file and display the object: [#<Article:0xb79e7428 @brand="This is a story from ", @id=5337, @fblurb="burb", @ntype="news type here", @copy="Copyright \302\251 2006 ", @source="source",
2001 Nov 18
1
Printing in Wine
I'm using RH 7.1 with 20011108. Wine is running well with the few simple apps that I use with it. The only problem that I'm having is with printing. I've followed the somewhat conflicting instructions that I've found around the web to use the internal PS driver and at least gotten that much to show up in the dialog box on WinSpice3. However, when I attempt to print I get
2006 Jan 09
0
Active Record Attributes using Dot Notation doesn''t work
I have been having some problems with accessing active record attributes using dot notation. Some attributes work, others do not. The attribute exists in the database (it is a smallint). Using breakpointer and IRB I can see it in the active record: irb(#<Transition:0x3900f48>):012:0> self self => #<Transition:0x3900f48
2001 Jun 26
0
launching cygwin using wine.
St?phane Del Pino wrote: > > Hi there ! > > Since I am developing a software which should run on both unices systems and > MS-Windows, I use cygwin. This is quite classical and works fine. > > The problem is just that I would like to be able to run cygwin inside my linux > box avoiding to reboot and why ot allowing me to remove my windows > partition. :-) You could
2001 Jun 22
0
Window will switch wine stand
Hi, I start a game with the name Total Anihilation, this game is running but when i move the mouse out of the window the game will be frozen. Who can i solve this problem? Bye Idefix -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =-----
2001 Feb 25
1
x11drv in debian sid
I am unable to load the xlldrv in wine. When I do so, it complains that it cannot find libOSMesa.so.3 which would make sense since I have not installed xlibosmesa-dev. I haven't installed it because it wants to replace my existing glide+mesa setup. Can wine use the mesa libs that glide does or do I have to use the xlibosmesa-dev package? -----= Posted via Newsfeeds.Com, Uncensored Usenet
2001 Aug 16
0
Subject: WINE, Cinema 4D 6
Has anyone been able to get Maxon Cinema 4D 6 working with wine? I'm running Mandrake 8, and I have been trying to get it running my linux box with no luck Thanks, Linova X -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =-----
2001 Aug 22
0
Trouble installing Smart Suite 97
I am using codeweavers; Here is the debug output: warn:dosfs:DRIVE_Init Drive B: not defined warn:dosfs:DRIVE_Init Drive D: not defined warn:dosfs:DRIVE_Init Drive E: not defined warn:dosfs:DRIVE_Init Drive F: not defined warn:dosfs:DRIVE_Init Drive G: not defined warn:dosfs:DRIVE_Init Drive H: not defined warn:dosfs:DRIVE_Init Drive I: not defined warn:dosfs:DRIVE_Init Drive J: not defined