similar to: dynamic constant assignment

Displaying 20 results from an estimated 500 matches similar to: "dynamic constant assignment"

2010 Sep 22
3
sou novato por aqui,
o grupo de RoR é em português? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at
2010 Feb 16
7
YAML, UTF-8, TextMate, Notepad
This is not a question but a report on the difficulties I had and the solution I found with respect to UTF-8, YAML::load, and Ruby/Rails. Comments are appreciated. - - - I had been struggling for two days to get UTF-8 working in my Rails app. I had/have a localization file, lib\locale\de.yml, that had iso-8859-1 encoding. I could not get that to display properly. Marnen, quite correctly,
2011 Feb 27
10
How to store the same key multi times in a Hash ?
given an Arra tags[] I need to produce a resulting Hash as following .. { "$in" => [tags[0]], "$in" =>[tags[1], ...} in which the key should be always the same and the value being an Array I tried this : myHash = {} tags.each do |tag| h = {"$in" => [tag]} myHash.merge!(h) end but the merge! is only
2004 Aug 06
2
IceS compiling problems
I have serious problems to compile IceS on a debian (woody), kernel 2.4.18. I have to say the configure script does not find anything... - I installed libshout and libshout-dev downloaded drom the icecast site. I have shout.h : 0:33 root@radiopi2 /usr/include/shout# ls shout.h Yet configure gives me this : ~/sources/ices-0.2.2% ./configure --with-libshout=/usr/include checking for
2009 Jan 23
7
Quote, dollar and pipe
Hi All, By working on our bootstrap puppet scripts (executed wih standalone puppet), I found a difference between pipe and file parsing : A simple file with a content : $ cat withdollar.pp file { "/tmp/withdoller.txt": content => ''something like echo $1'' } When puppet parses the file : $ puppet withdollar.pp notice:
2004 Oct 10
1
Fw: Souscription - Newsletter Ogg Vorbis en français !
----- Original Message ----- From: Claude de Limelette de Belgique To: tarkin-dev-request@lists.xiph.org Cc: vorbis-dev-request@lists.xiph.org Sent: Thursday, October 07, 2004 9:15 AM Subject: Fw: Souscription - Newsletter Ogg Vorbis en fran?ais ! ----- Original Message ----- From: Claude de Limelette de Belgique To: tremor-request@xiph.org Sent: Thursday, October 07, 2004 9:13 AM
2006 Jul 22
1
R shutdown
Dear R Users, I run simulation that takes very long time (R 2.2.1, Win XP pro., Rgui SDI mode, editor Tinn-R). It's happened that R shuts down and Windows display the message: Rgui.exe makes an error and the application will shut down. Unfortunately everything I lost. Below I paste the message that is created when error appear. Maybe You as an expert will figure out what is happening to me.
2005 May 13
1
Aiii cpu is toast
Hy!     I''ve been trying to make Xen 2.0 work on a compac evo N800C laptop. But I am getting an error that say, that there is no more memory for the kernel and then the message Aiii cpu is toast, then re reboots in 5 sec. I looked into the archives and didn''t found a clue that helped me much on this one. >From what I can see from the output is that he dont see the
2007 Feb 08
3
Get categories where forum-user posted in
I''m developing a system similar to the ForumExample (http:// wiki.rubyonrails.org/rails/pages/ForumExample), and stumbled upon the following. Let''s say I wanted to get all the categories a certain user posted in. How do I get that information withouth using a custom query through :finder_sql (and thus losing the find_in_collection ownage)? It would also be great to see how many
2003 Jul 07
2
Limiting bandwidth usage - where to begin
Hi, I am very new in this list.. I want each of my internet users to be limited in his/her usage of bandwidth. The limitation will be done in my squid (linux) box, as they all have to be authenticated by squid before going to the internet jungle.. Then anybody here could tell me where to begin to do such thing ? Any idea/solution would be very appreciated TIA regards, aqil
2010 Nov 18
2
i18n_routes
Hello i have an domain in .рф (РФ is the first TLD, where domain names are put in Cyrillic script only.) (see also http://teimos.ru/x/punycode/) i''m trying to get working routes in cyrillic like http://теймос.рф/привет (XN--E1AIJIPB.XN--P1AI/XN--B1AGH1AFP) to welcome#index (for example) i tryed different ways but no luck with them all... in Gemfile ---------------\ gem
2009 Mar 27
17
Cluster (VPC), Eucalyptus and preferred distribution to it.
In english: Buddies, The Eucalyptus is a system to build a cluster and provide a service such as Amazon EC2 on its own structure. It is very promising, flexible, stable and well documented. The team of Eucalyptus just created an Internet election to choose which distributions will be officialy supported by it. I would ask everyone for voting in Debian! Let me explain why. I have
2009 Mar 27
17
Cluster (VPC), Eucalyptus and preferred distribution to it.
In english: Buddies, The Eucalyptus is a system to build a cluster and provide a service such as Amazon EC2 on its own structure. It is very promising, flexible, stable and well documented. The team of Eucalyptus just created an Internet election to choose which distributions will be officialy supported by it. I would ask everyone for voting in Debian! Let me explain why. I have
2009 Feb 04
2
More complex Xen Networking, with VLANs and maybe with VDE 2... but how?!
--- In english --- Hello! I am to implement a new architecture of the network in my company but I do not know right where to start ... need help! Currently 90% of my servers are virtual machines under Xen. I have many valid IP networks and all Hypervisors are configured in bridge mode, to simplify. We have 3 VMWare ESX Hypervisor also in bridge mode. Some networks are exclusive to certain
2004 Dec 20
1
groups of hostnames
Hello, I am using shorewall for about a day now :) and so far so good (it looks like a really great software). I have a question though I could not answer from the docs. I have a large set of hosts which will be used to limit access to SSH. Is there a way to ''group'' these under an alias and use it afterwards for setting rules? I thought about using an action.something for
2007 Oct 26
1
Fwd: Ajuda em R
An embedded and charset-unspecified text was scrubbed... Name: n?o dispon?vel Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071026/5710517e/attachment.pl
2011 Nov 03
2
data frame to workspace
Is there a way to import a data frame into a workspace? I created a data frame and from my understanding, a data frame is a type of object, and that the workspace stores the current session's objects. Wondering why my data frame is not showing up... Any thoughts/suggestions? -- View this message in context: http://r.789695.n4.nabble.com/data-frame-to-workspace-tp3986415p3986415.html Sent
2003 Dec 25
1
blacklist and not working dhcp
Return-Path: <viuwier@wp.pl> X-Original-To: shorewall-announce@lists.shorewall.net Delivered-To: shorewall-announce@lists.shorewall.net Received: from smtp.wp.pl (smtp.wp.pl [212.77.101.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.shorewall.net (Postfix) with ESMTP id E3D8F33DB3 for
2011 Feb 15
7
Hide/Show Div and link_to_remote
Hi I want to show some info and provided an ''edit'' button next to it. This will change the display info to an editable form. I''ve seen this done before, but what I can''t figure out is whether I have to use an actual remote action to the rails server? I think I should be able to render both the edit box and the display info as seperate divs, and then show/hide
2011 Feb 23
7
rails & sqlserver collation problems
Boa tarde pessoal. Estou utilizando o intant rails com ruby v.1.8.6 e rails 2.0.2 com um servidor sqlserver2000, minha base de dados usa o collation SQL_latin1_general_CP1_CI_AS, quando tragos strings com acentuação e cedilha não consigo visualizar os carateres corretos, sei que para exibir corretamente o texto no ruby tenho que usar UTF-8. Como posso fazer pra mudar o collation da minha base ou