similar to: 3rd member

Displaying 20 results from an estimated 70000 matches similar to: "3rd member"

2006 Mar 28
1
Efficiently convert this SQL statement to ActiveRecord loop
Hey Folks, My app compares the last known set of files located on a series of servers against a current snapshot for auditing purposes. Its working really well, and I''ll open source it when its complete! Here''s my current issue (and forgive me, I started life as a DBA and I constantly want to revert to connection.execute.) The tables to store my objects are
2006 Mar 16
6
File Auditing with rails - File I/O issue
Hey Folks, I''ve written a script to generate a list of all files on a machine, then zip the results. ?I''m going to stick a web front end on it, and use it to audit some file servers. The problem is that the ZIP compression/decompression isn''t working, but its not what you might think. ?The script completes, but seems to not actually write anything. Here is a short
2006 Mar 17
1
Re: Rails SQL Server adapter
Hey Ryan, I asked this question awhile back, but any support planned for table returning functions, or stored procedures? I''m envisioning basically a mutable model class where you have 1 or more instance variables defined (with default values) that are used in the SQL queries as input parameters. When you instantiate the class you can specifically define these parameters or use the
2006 Apr 04
0
Parsing a SQL file directly intoactiverecord::executemethod - Not a vamp I swear
It doesn''t like SET commands, or #Comments, etc. Looks like no way = around this without using forgoing active record. I don''t really want = to do that at this point. --------------------------- Brian Corrigan --------------------------- -----Original Message----- From: rails-bounces@lists.rubyonrails.org = [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Brian
2006 Apr 04
1
Parsing a SQL file directly into activerecord::execute method
Hello folks, I''m trying to do something like: 1. db = ActiveRecord::Base.establish_connection(:adapter => "mysql", :database => "app_development", :username => "root") 2. Cmd = File.read(''commands.sql'') <--- Command.sql contains multiple valid SQL statement. I''ve tested this directly by piping it into MySQL from the
2006 Apr 04
0
Parsing a SQL file directly into activerecord::executemethod - Not a vamp I swear
In an effort to not be a vamp. (Thanks Amy) Here is the error message = I''m getting. Mysql::Error: #42000You have an error in your SQL syntax; check the = manual that corresponds to your MySQL server version for the right = syntax to use near ''=A1=C9=A8[=A9=B4#Globals = (ActiveRecord::StatementInvalid) SET @rightnow =3D current_timestamp; It appears that Active Record is
2006 Mar 09
0
Re: Displaying related tables in forms.. probably an easy qu
Steve - That was the issue.. It seems obvious now, but I needed to reference Property.PropertType.name instead of property.propertytype.name Thanks!! Brian -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Steve Koppelman Sent: Wednesday, March 08, 2006 5:00 PM To: rails@lists.rubyonrails.org Subject: [Rails] Re:
2006 Apr 04
0
New Rails Group - Albany, NY Area
Hello folks, We have started a new rails community in the Albany, Schenectady, Troy, Saratoga (Tech Valley) are of NY. For now, we have a little listserve up and running. To join, go to www.techvalleyonrails.com Best, Brian --------------------------- Brian Corrigan ---------------------------
2006 Mar 20
1
Migrations with multi-column indexes
Hey Folks, I can''t really glean this from the documentation. Is there a way to do: add_index(table_name, column_name, index_type) within my migration for an index that spans multiple columns? Ie: A covering index on FIRST_NAME, LAST_NAME or something like that? Best, Brian --------------------------- Brian Corrigan ---------------------------
2009 Jul 07
1
Workaround: stuttering legs in WoW 3.1.x
Hi there, I recently found a workaround for the "stuttering legs" bug in WoW, which is currently described in AppDB. It should work for everyone using gnome - so, since this is widespread, I thought it would be a good idea to share the workaround with you. I noticed that the running animation is all okay when activating auto-run - and that holding down the "run forward" key
2006 Feb 24
18
I need more bling!
Hello everyone, I just showed a friend a prototype of a site offering a service I''m trying to sell (sorry, not on the Internet yet - he saw it at my house). His comment: "Looks like it does everything, but also looks pretty ugly. You''re not going to wow anybody with that". Sitting back and thinking about it, he''s dead right - it needs some bling to make it
2006 Mar 16
0
ZLIB::GzipWriter - Strange file encoding?
Hey Folks, I have this code: Zlib::GzipWriter.open("file.gz") do |gz| gz.write(File.read("file.csv")) end Unfortunately this file doesn''t want to open correctly in UltimateZip. It shows a file inside, but doesn''t allow you to extract it. Am I missing something here? Seems pretty cut and dry... --------------------------- Brian Corrigan
2006 Mar 08
2
Displaying related tables in forms.. probably an easy question!
Hey All, I have two tables.. One belongs to another. Why can''t I reference table1.table2.attribute? Specifically, using scaffolding: property.rb - has_one :PropertyType property_type.rb - has_many :Properties property_controller - def list @property_pages, @properties = paginate :properties, :per_page => 10 end list.html: 1. <% for property in @properties %> 2.
2006 Mar 20
1
I need some help with OptionsParser
Hey all, I must be doing something wrong here. Im calling the following file this way: ruby script.rb -s 1234 or ruby script.rb -s1111 #Code snip require ''optparse'' opts = OptionParser.new opts.on("-s", "--size VAL", Integer) do |val| puts "-s #{val}" puts val end But..no matter what I do, I don''t get any values out. I must be doing
2006 Mar 17
7
OT: Subversion folder cleanup
How do you clean up your app folder to place onto the server? I want to get rid of all the .svn stuff. Seth Buntin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060317/cc81d9f7/attachment.html
2006 Jun 15
8
Markaby Installation Issues
Ok, So I followed the directions.. I did a ''gem install markaby'' (which sounds like its enough to get me going for rails), but I wasn''t sure, so I tried to install the plugin as well. Plugin installation fails looking for a file: Script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk Outputs this error: + ./trunk/svnindex.xsl
2013 Sep 16
0
b
De la manera que me aconsejas no funciona y da este mansaje Warning message: In wilcox.test.default(x = c(19L, 18L, 17L, 16L, 18L, 19L, 18L, : cannot compute exact p-value with ties como aconsejaste tmp <- read.table("estudiantes1.csv", header=TRUE, sep=",", dec=".", na.strings = "NA") wt <- wilcox.test(IMC ~ a_HTA, data=tmp, paired = FALSE,
2006 Jan 26
2
semi-on topic -- textmate question
Apologies in advance. I have been using textmate and am getting to like it more and more. The feature that is turning my crank and frothing my coffee right now is "snippets". Wow! Is this ever cool! And if you aren''t using Textmate, give it a try. Anyhow, my snippets are saving me so much time and so utterly wonderful that like other things in my life that are in
2013 Feb 07
0
ethtool-like utility for FreeBSD
> There is a posting public about Intel ethernet adapters and their > packets of death: > > http://blog.krisk.org/2013/02/packets-of-death.html > > Now, how can we test the EEPROM from FreeBSD, similar to the > ethtool of Linux ? There is no such tool. If you want to dump EEPROM contents, you can do so via one of the following ways for em(4) NICs or igb(4) NICs, as root:
2011 Sep 19
1
Distorted Graphics in Games.
Hello everyone. I've installed wine in linux mint. and attempted to play some games. I'm getting some weird results with the graphics. An image can explain in the best, so I took a screenshot. When I run the just about any game through wine I get these "fractured" graphics (view attached picture). Fonts are illegible and the graphics themselves are very pointy and have weird