similar to: Re: Rails Digest, Vol 21, Issue 195

Displaying 20 results from an estimated 2000 matches similar to: "Re: Rails Digest, Vol 21, Issue 195"

2006 Jun 09
2
blank division after update
Hello all, Im having a slight problem with my website. I have a division that is updated using a link_to_remote call. Now, inside the view I can put plain text and everything is fine. However, if I try to pass a variable from the controller to the view it does not work. For example I can have this as the controller: def show_news @testvariable = "shizzlenitboo" end And
2006 Jun 09
3
using a variable as substitute for a method
That probably isn''t the right title for this topic, but I''m not sure how else to explain in succintly. I''m sorry if this is obvious but I couldn''t find the answer in the Ruby/Rails docs. How do I use a variable as a substitute for a method/field, so that I can call the object with the variable that contains the method name. For example, say I have the
2006 Aug 07
3
Rails and MSDE
Has anyone worked with Rails on Microsoft''s MSDE database server? (Not SQL 2005 Express, but the older MSDE) I''m curious on the performance and stability of the SQL Driver for Rails. I have a client needing a new web app, but I have to pull and store the data from MSDE (I have no choice on changing this). -- Posted via http://www.ruby-forum.com/.
2009 Aug 07
2
create separate plots by factors
Hello, I am attempting to create several plots based on "site" (~300 total) and am having trouble with the code. I simply want to create a plot using the code, plot(year, peak), for the following dataset. I would like for each site to be plotted on a separate page and the plots saved in a directory. Would a "foreach" loop work? I tried a "by" statement, but
2019 Dec 27
2
AGI: "Get variable" returns variable VALUE vs "Get full variable" returns variable NAME - bug or my misunderstanding?
Just trying out a node agi package (https://github.com/sergey12313/ts-agi/ , and it wasn't behaving as I expected, but when turning on agi debug, it looks like it might be Asterisk (using 17.1.0) This works as expected <Local/1000 at default-00000020;2>AGI Rx << SET VARIABLE myVar "Hello World!!!" <Local/1000 at default-00000020;2>AGI Tx >> 200 result=1
2006 Jun 16
0
[ATTN] To all users of unicode_hacks
TO everyone who is making use of unicode_hacks! I have made irreversible changes to the plugin so that the routings are no longer overloaded. To call the character-bound routines, you need to use the "chars" or "u" accessors, as outlined in the docs http://julik.nl/code/unicode-hacks/index.html and in this blog post by Thijs:
2008 Aug 13
0
Solatech Window Covering Software, MSDE, and Wine
I am trying to convince my office to move to Linux desktops. I have a workstation installed with Ubuntu 8.04: Code: mis at mis-desktop:~$ uname -a Linux mis-desktop 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux mis at mis-desktop:~$ wine --version wine-1.0 We currently use a *nix-based production software called PIC, but will be moving to another provider called
2006 Jun 04
3
Absolutize URLs in a string
I wonder - do we have some helper/processor/gem to automatically convert all URLs in a passed string to their canonical equivalent - i.e. with the protocol, host and such prepended based on the Rails environment. Super-duper infty for RSS feeds (I hate their requirement for canonical URLs everywhere). -- Julian ''Julik'' Tarkhanov please send all personal mail to me at
2007 Mar 01
2
How can I use the "GET VARIABLE variablename" in AGI
Hi,All, I wang to use AGI in asterisk1.4. AGI file / myperl.agi #!/usr/bin/perl use strict; ...... print STDERR "7. Testing GET VARIABLE..."; print "GET VARIABLE EXTEN \"\"\n"; my $result = <STDIN>; &checkresult($result); ...... when the agi execute; asterisk conosle show that : AGI Rx << GET VARIABLE EXTEN "" AGI Tx >>
2008 Nov 24
3
MSSQL on linux
Dear all, I'm running CentOS 5.1. Is there any way to run MSDE or MSSQL on Linux? Please help. Thanks, Chaminda Mendis
2006 Apr 27
6
OrderedHash
Looks like I have skipped on this, but still - a couple of questions: 1) Why there suddenly is an OrderedHash in ActiveSupport? (this glaring omission from ruby core is present in many apps already) 2) Why it doesn''t match the semantics of Hash respectively? 3) Why it''s #nodoc ? -- Julian ''Julik'' Tarkhanov please send all personal mail to me at julik.nl
2006 Jun 18
1
Put an arbitary hash into ActiveRecord
Did someone encountered a problem of putting a hash of values into AR, into a certain field? Essentially I need some denormalized, freeform serializable hash to which the user can add keys and values, and handle accessors from there would be lovely too. I remember that AR has "serialize" but did someone actually use it? I heard nothing but complaints about rich objects in AR
2008 Oct 23
3
high cpu load
I think I have narrowed down the problem why smbd processes are soaking up so much CPU on our file server. Here are some selected samples from strace output as I attached to the offending smbd process: Culprit #1 I took three sample snapshots, each lasted for several seconds, and I took them minutes apart from each other. I noticed many lines involved stat'ing the a single file in the
2006 Mar 15
1
file_column imagemagick strangeness
Hi, I''m using the basic magick features of file_column, and while files are uploading fine without the magick options, as soon as I do something like :magick => { :size => "400x600" } I get an ''invalid file'' error. Further investigation reveals that the file is in fact invalid because something somewhere is truncating the file path:
2006 Jun 04
8
Remove item from session
Hi there, when i do this: session[:myItem] = ''foo'' session[:myItem] = nil the item :myItem is removed from the session. But this: session[''myItem''] = ''foo'' session[''myItem''] = nil doesn''t remove ''myItem'', it''s empty but still in the session. Any suggestion ? Thanks in advance. mic
2009 Mar 18
3
Getting a proprietary Win32 application running on Wine
Hello there! I'm trying to get a proprietary business application running. It is basically a kind of a special small business accounting app which can be used in a distributed manner. If it is configured this way, the server installation is running an MSSQL server instance locally to store the data, while a client installation just uses the remote server installation (apparently directly
2007 Sep 25
13
Session cookies not passed on first redirect
Hello Campers! Is it just me or does Camping init the session twice on a redirect? If I have an app and when the user visits it for the first time, a session is generated. Afterwards I redirect the user in a service (that basically does auth) and he gets bounced to the login page - but when I arrive at the login page my SID somehow has changed :-( so there is a stale session dangling
2006 Jul 22
2
How to SELECT from multiple talbes with AR#find and associations?
So I want to SELECT from multiple tables, so as to be able to do "SELECT FROM foo, bar WHERE foo.id=bar.id AND bar.baz=23". How do I do it with AR#find? Also, I need this for associations. has_many et. al. have :finder_sql, which is nice, but feels like a Pyrrhic: it''s basically doing the association in pure SQL, defeating the purpose of AR. -- -Alder
2005 Dec 17
0
[OT] Unicode tokenization for Ferret
I wonder, do we (eventually) have a working Ruby implementation of this http://www.unicode.org/reports/tr29/ This might come bloody useful not only for Ferret but for the "excerpt" helper as well -- Julian ''Julik'' Tarkhanov me at julik.nl
2006 Aug 26
0
Re: Prag Programmers style PDF personalization
On 22-aug-2006, at 22:26, Austin Ziegler wrote: > Not really. The Unicode problem for PDF support is wholly unrelated to > my stance on Unicode vs. m17n Strings. The Unicode problem for PDF > support is mostly that the PDF standards doc is a stinking pile that > is almost impossible to understand without your eyes bleeding and even > harder to implement. ;) I just