similar to: Need some implementation ideas :-)

Displaying 20 results from an estimated 100 matches similar to: "Need some implementation ideas :-)"

2005 Dec 28
4
Changing encoding on text
Hello, I have a set of templates creating some files for me. All data on my site is encoded using iso-8859-1. Now I want to save the text in the file using utf-8. I have tried using iconv, but whenever I have the require "iconv" statement in my model, there is some error happening in the model and the model doesn''t get loaded (not sure how to debug that). What approches to
2006 Dec 22
3
Zed, you''re a moron :-)
Hi ! My mongrel just starting spitting out these nice lines: The error occured while evaluating nil.accept. TELL ZED HE''S A MORON. !!!!!! UNHANDLED EXCEPTION! You have a nil object when you didn''t expect it! Not sure what happened or why, but just FYI: Zed, you are a moron :-) Happy holidays! Gitte Wange
2006 Jan 06
3
Getting model class by string
Hello, I have an interessting problem, I''m not sure how to solve :-) I have the name of a model in a variable like this: My model is called Article My var contains "Article" Now - How do I get the model class, so I can call Article.find, Article.new etc ... ? Greetings, Gitte Wange
2006 Feb 09
4
Ruby 1.8.4 trouble
Hi! The ruby installation on my FreeBSD-6 box have been upgraded from 1.8.2 to 1.8.4 by accident. And now all my rails have stopped working. I can''t produce any cool debug info since I have none. running script/ server just coredumps. Running the sites through apache isn''t an option since apache won''t start (get lots of these in my log: [Thu Feb 09 10:38:19
2006 Jan 03
2
Using multiple columns as primary key
Hi! I''m trying to use a primary key made up of two columns in my model''s table. But looking at the docs, it looks like ActiveRecord only supports using one field as primary key. Can anyone point me in a direction of this or verify that it''s not supported? Greetings, Gitte Wange
2006 Jan 07
2
Mailing list software
For a project I''m working on I''m hoping to be able to have both discussion and announce-only e-mail lists. Does anybody have any recommendations about good existing mailing list apps that could be integrated with a rails app? Does anybody have any experience using ActionMailer as the basis for a mass mailer? Does it perform well enough to make it feasible? Thanks! -- Dan
2006 Aug 02
1
mongrel to execute ruby script?
Hello, I''ve spent a couple of hours now searching for (what I thought) was pretty straightforward. I''m using mongrel together with RoR and need to execute a .rb file located in my public folder (cgi style). But mongrel just can''t do that out-of-the-box - or am I missing something? I really don''t get how I''m supposed to configure mongrel for this
2013 Apr 25
2
installing package
Hi I am trying to install a package (bioconductor) but every time I try to install it I get this message: source("http://bioconductor.org/biocLite.R") Warning in install.packages("BiocInstaller", repos = a["BioCsoft", "URL"]) : 'lib = "C:/Program Files/R/R-3.0.0/library"' is not writable Error in
2013 Apr 24
1
R cannot find the path on my mac
Hi I am really sorry for this probably quite simple question. I am new to R, and I am running a pipeline that has already been made. All I have to do is give the paths for different folders, where the pipeline can find the files with my data. But every time I try to run the pipeline it returns with the message, that it cannot find the file. And I really don't know why. I have found the path
2010 Aug 13
10
:limit text mysql
I have a rails 3.rc app that I''m developing. I have a text entry in one my models that can sometimes be quite big. I tried setting :limit => 4294967296 on the text column in my migration file but this doesn''t seem to have any effect. The column is till created as a TEXT column rather than MEDIUMTEXT or LONGTEXT. Does anyone have any idea why this might be happening? Is there
2008 Jan 29
6
Weird DB Session error, "Mysql::Error: Lost connection to MySQL server during query"
I''ve discovered something really weird in rails 1.2.3 (It could be fixed in 2.0? but I don''t know). Recently I started getting the error "Mysql::Error: Lost connection to MySQL server during query" in my application. It seemed like it had popped up almost without relation to anything. There was a page in the RoR wiki with possible solutions but none of them had worked
2006 Aug 14
0
MediumText with Rails Migrations
Hi, I''m trying to figure out how to reliably define a column as mediumtext type through a migration. First I tried this: change_column( :entries, :lines, :text, :limit => 2.megabytes ) It worked fine for my development box on MySQL 5.0, but when I tried it on my production box with MySQL 4.0, it gave the following error: MysqlError: You have an error in your SQL syntax. Check the
2006 Jul 16
0
in_place_edit-like functionality in my controller
Hello, I''m trying to extend the functionality of in_place_edit and would like to have a function in my controller that populates methods for requested object/methods (just like in_place_edit does). Here''s some test code I tried to make work (from my controller): def do_some_edit(object, field) logger.info("We are editing") end do_some_edit(:item,
2006 Feb 12
0
Setting html breaks when using textile (redcloth)
Hello, I would like to enable html breaks when having newlines in my text rendered using textile/redcloth. I have found that a property names hard_breaks should be enabled but I''m not sure where (in which file). Anyone with a hint? :-) Greetings, Gitte Wange
2006 Jan 08
1
Using many-to-many relations in tests
Hello, I have some many-to-many relations, I would like to use in my tests. But I''m not sure what I should put in the fixtures for it? How do I add those relations in the testing environment? Greetings, Gitte Wange
2005 Dec 30
11
Losing my mind with Ajax link_to_remote
I''m playing around with Rails, and I can''t get this to work. I just can''t seem to wrap my brain around it. I''m having some trouble doing an Ajax navigation column. Here''s what I have: view layout: <div id="navigation"> <%= render(:partial => "navigation", :collection => @categories) %> </div> My
2013 May 24
6
Puppet/Nagios/PuppetDB slow performance
Hi all, For months now I''ve been using Puppet with PuppetDB backend to manage my Nagios configs. We now have 1200+ services being checked and including servicedependency, host, hostdependency, command and other Nagios resources being managed, that''s about 3000 resources in total. Unfortunately this means the monitoring server takes about 8 minutes to perform a Puppet run.
2011 Sep 21
11
Software inventory
Howdy, Before I go about writing one myself, anyone out there written a software inventory module/fact for gathering a list of all installed rpms/debs on a system? Got a few ideas floating around in my head, but wanted to see if/what other folks have done .. -- I''ve seen things you people wouldn''t believe. Attack ships on fire off the shoulder of Orion. I watched C-beams
2002 Nov 11
1
Printer driver downloads...?
I've been googling around for quite some time, and haven't managed to find anything useful. Is there some moderately up-to-date information on how to set up the automatic print-driver download in Samba 2.2.x? I know about the "old way" of doing things, but it doesn't seem to fly with Win2K drivers. Any and all help, and pointers to FD so I can RTFD (again, haven't had
2002 Nov 19
1
Driver download problem (still)...
I've gotten driver-downloads to work from WinNT/2K clients, but I still can't seem to figure out how to get things to work with Win9x clients. Here's a copy of my smb.conf file: *********** [global] printing = lprng printcap name = /etc/printcap log level = 1 load printers = no guest account = nobody security = domain workgroup =