similar to: How can i read a properties file in RoR

Displaying 20 results from an estimated 3000 matches similar to: "How can i read a properties file in RoR"

2006 Aug 08
2
How to implement Tree structures in RoR
Hi, I am a newbie, i wanna know how to implement database driven Tree structures in RoR? Is there any direct support available or should they be implemented in Javascript ? Any tutorial link if provided will be of good help Thanks in advance Sathya -- Posted via http://www.ruby-forum.com/.
2006 Aug 09
3
How to capture the data entered in a web page in RoR
Hi, iam a newbie to rails , i wanna know how can i capture data entered in a web page by a user For example, to obtain the data entered in a text field in a JSP in Java we write request.getParameter("textfieldname") similarly for any form element, we use this method to get the entered data in the web page Like wise what is the code in Ruby to capture this ? and where should i
2009 Jan 28
6
Creating an object from a pp string?
When I use pp on an object in rails, it prints out a nice string representation of the object. I am trying to pass objects from one server to another and I am wondering if I can just pass this string and create an object on the other server. Any libraries/functions out there that can do this? Or any other way to do this (not necessarily using pp). Thanks! -- Posted via
2004 Jan 24
13
Has Nufone gone belly-up
Folks, I've ordered a new account from Nufone last month. Transferred money to Nufone through their paypal account. I had communication with Nufone sales up until two weeks back. Since then there were no replies to my emails. I am afraid with this kind of unresponsiveness how one would run a reliable service with this company. Have no bad feeling with Jeremy as the author of widely used h323
2009 Oct 27
2
fsockopen-method in ROR
Hi, PHP has ''fsockopen''-function to create a socket connection. With what function I can create this connection in ROR? Thanks im Advance -- Posted via http://www.ruby-forum.com/.
2018 Feb 05
2
Dumping the static stack reservation sizes for functions
I would like to be able to emit a list of functions by name and their fixed stack reservation size information, so that a programmer can gauge how much stack they are likely to need in tightly constrained embedded systems. Despite the rich number of options, the only option I can find that is even relatively close is: -warn-stack-size=<uint> Is there some existing way of getting this
2004 Aug 08
3
iconnect inbound - so do we know how to fix it
Just wondering whether we have a resolution to iconnect incoming problem, which started few days ago. Cheers SW -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040808/ecc99c4a/attachment.htm
2003 Nov 19
2
g723 to g723 SIP call - warning message
Hi, I am calling from a grandstream phone with g723 codec through * to iconnect. Incoming context as well as outgoing context set to g723.1 codec in *. Call get connected and I can talk. However I get the following warning, which scrolls on my screen until I hang-up. [root@asterisk sath]# cat g723.1 - Executing SetCallerID("SIP/-08122ae0", "1001") in new stack --
2006 Jan 24
4
Looking for a Ruby, ROR code sample or info
Hi all, I am looking for a code sample that shows how to execute a host-command using Ruby or ROR and then read the output. Thanks, Onno This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any
2004 Jun 16
1
IAX registration
Hi, I have a nufone connection (IAX2), works fine. In my iax.conf I do not specify a time interval that * needs to renew registrations with nufone server. However I can see following registration messages on my cli every 90 seconds (approximately) --Registered to '198.22.67.70', who sees us as 69.5X.XXX.XXX:4569 --Registered to '198.22.67.70', who sees us as 69.5X.XXX.XXX:4569
2004 Jun 23
3
help needed with read()
Hi, Greatly appreciate if some one help me with the application read(). asterisk*CLI> show application read asterisk*CLI> -= Info about application 'Read' =- [Synopsis]: Read a variable [Description]: Read(variable[|filename]): Reads a '#' terminated string of digits from the user, optionally playing a given filename first. Returns -1 on hangup or error and 0
2004 Aug 05
2
new bounty for modifying calling card application to mysql
Hi, I've just initiated a new bounty for the above; http://www.voip-info.org/wiki-Asterisk+bounty+callingcard+to+MySQL Any takers or any contributors please respond to me privately. I do not know exactly how the bounty process works, but I can coordinate on this ? SW -------------- next part -------------- An HTML attachment was scrubbed... URL:
2018 Feb 05
0
Dumping the static stack reservation sizes for functions
Hi Martin, > On Feb 5, 2018, at 11:46 AM, Martin J. O'Riordan via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > I would like to be able to emit a list of functions by name and their fixed stack reservation size information, so that a programmer can gauge how much stack they are likely to need in tightly constrained embedded systems. Despite the rich number of options, the
2020 Jul 19
2
Fail to get domain SID and netbios name
`net getlocalsid` prints "Can't fetch domain SID for name: MYMACHINE" How could I solve? Is there a more parsable way for getting current machine domain SID and current machine NETBIOS name? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: Firma digitale OpenPGP URL:
2010 Mar 18
3
Sending mail using action mailer
Hi everyone, I am new to ruby and i just wanna send an email using ruby action mailer. i have been trying it for about a day. Not achieved. so many replies came in from google but many were beating the bushes .. can any one send me a correct procedure.. regards ds -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups
2003 Nov 02
2
Read error on sound device
Hello, I am posting this after spending hours digging through the list archives. Problem : When asteirsk plays a voice prompt, the voice clip is really choppy. I figure that this is something to with the sound card, the timing of playback etc. But cannot seems to find an answer. Here is the Notice which appear when voice prompt is played. NOTICE[1217602880]: File sched.c, Line 209
2012 Oct 20
5
Is it possible to store the log file by day?
I hope to store the log file by day , because the log file will be so large with the time goes by.Is it possible to do this ? -- 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
2013 May 07
2
Net::HTTP
I''m looking at the documentation: http://ruby-doc.org/stdlib-2.0/libdoc/net/http/rdoc/Net/HTTP.html And I notice two uses of Net::HTTP. Both are using GET requests. But what''s the difference? When to use which? Net::HTTP.start(uri.host, uri.port) do |http| request = Net::HTTP::Get.new uri response = http.request request # Net::HTTPResponse object end uri =
2011 Jun 17
7
Encoding
What''s a good solution for fixing character encoding problems for compatibility between ascii and utf-8? The database is postgres and is encoded in utf-8. Once in awhile there will be a compatibility error from strings from a webform. Is there a command to fix this besides using a_string.force_encoding(''utf-8'')? Even this doesn''t seem to always work either.
2004 Jul 02
3
CDR shows billsec=12 for all bridged calles.
Can someone help me, im using latest CVS, asterisk and cdr_mysql, when I make a bridge call (using .call files in outgoing/) I always get 'billsec=12' in the cdr, both mysql and Master file even if the call lasted longer, watching the Master file while making a call I see it updated at 12 seconds even while im still 'in' the DIAL app and the call continues on just fine. Iv looked