similar to: Simple Array Issue - HELP

Displaying 20 results from an estimated 1000 matches similar to: "Simple Array Issue - HELP"

2006 Jul 18
0
del.icio.us links in the layout - HELP
I''m trying to get my del.icio.us links to appear in the layout, so it''s throughout the entire application. Here''s the code I have: #controller - application.rb? def get_authenticated(path, http) request = Net::HTTP::Get.new(path) request.basic_auth ''user'', ''pass'' response = http.request(request) response.value
2006 Jul 21
1
What''s wrong with this code?
I''m trying to interface with the flickr API to pull my photos into my site. I don''t want to use the "flickr.rb" gem, I''d like to do it the other way so I can learn (plus I had trouble loading the gem on my server). Anyway, here''s what I have: #Application.rb controller def get_response(path, http) request = Net::HTTP::Get.new(path)
2007 Jan 25
6
NOT FOUND error
I''ve been hunting the web and reading the mailing lists all day but I''m not finding any guidance on this problem. When I try to talk to my mongrel it simply responds with NOT FOUND and nothing else. I can''t find anything on google because this has to be the second most commond phrase in existence. Any help or guidance would be greatly appreciated. Sincerely, Chuck Vose
2005 Jul 05
4
Uniden UIP 200 and Asterisk.
Hi, I'm new to asterisk, and have a uniden UIP 200 that I got off of ebay. I'm having trouble getting the phone to register with asterisk. I've tried a few different settings. I'd be extremely grateful if someone with a similar setting could give me the sip.conf block for the UIP and the settings you're using in uniden.txt. Here's what I have currently: IP of phone
2006 Jun 29
7
Mongrel says it works, but it doesn''t
Hello, I came to know of mongrel by pure chance, it interrested me cause webrick never worked and instantrails for rails was very slow. the problem with webrick is/was is that it says just this: >ruby script/server c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character
2008 Oct 15
5
REXML vs libxml
Hi all, I''ve been looking at the performance of my fb app and one glaring issue seems to be with the parsing speed of rexml in processing the results. Has anyone looked into porting the facebooker parser from rexml to libxml? If not, any reason I shouldn''t try? Thanks! Yu-Shan. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Oct 27
3
rake spec:rcov failing
Running rails 1.2.3, rcov (0.8.0.2), rspec trunk (2865) - When running rake spec:rcov, I''m getting the following: Finished in 245.717813 seconds 856 examples, 0 failures, 48 pending /usr/local/lib/ruby/1.8/rexml/text.rb:292:in `normalize'': private method `gsub'' called for 0:Fixnum (NoMethodError) from /usr/local/lib/ruby/1.8/rexml/element.rb:1084:in
2006 Feb 01
4
REXML::ParseException - but the feed IS valid
I am using Ruby feedparser and when I try to parse this feed: http://feeds.feedburner.com/Mobilecrunch I get an error: REXML::ParseException: Declarations can only occur in the doctype declaration. This feed does validate at feedvalidator.org. Any idea why it would raise an exception? Thanks, eduard -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 22
6
OT: a very simple .vimrc example to use with my gmail account, pls help
Hi guys, is there a very very simple .vimrc example to use with my gmail account? i couldn''t find it from uncle google. Please help, my thunderbird is becoming so slow with hundreds of thousands of email.. i don''t want to use it anymore, i want to use mutt. i''m using Mac OS X 10.4.5 (Tiger) and mutt (DarwinPort) Thank you very much for your help and sorry for this OT.
2013 Nov 06
2
Zombie UIDs and GIDs
Hello, I have a severe problem with gluster: User and Group IDs are broken, but not in all directories: drwxr-xr-x 103 p_kohn01 p0wess 4096 24. Jul 17:22 2013_07_24_17:22_10kupsilon_flat ?--------- ? ? ? ? ? 2013_08_10_00:44_500k_upsilon_flat ?--------- ? ? ? ? ? 2013_08_12_21:54_500k_upsilon_flat_1s drwxr-xr-x 2 p_kohn01 p0wess 6 6.
2008 Jan 02
3
REXML::Comment:Class
I have this field in my app where a logged in user can enter a comment, but when I click on the link bringing me to that page I get the following error message: undefined method `table_name'' for REXML::Comment:Class I am doing some encrypting that has an ''include REXML'' statement but when I comment that out I still get this error. Does anyone know where this is coming
2007 Dec 10
3
Road to 0.7.0
Hey everyone, I''ve been refactoring Mechanize for an 0.7.0 release. Basically I''m trying to clean the code up and there are a few features that I think are unnecessary, but I would like to ask people first. 1) REXML as a parser. I want to remove support for REXML. I don''t use it. Hpricot seems to do everything I need. 2) 1.8.2 thru 1.8.4 support
2006 Aug 30
1
xml - get values
Hi I have the following xml string that I have loaded into an REXML object as shown below. #xml stuff for saveRoute require ''rexml/document'' include REXML Xml = "<test> <name>sam</name> <description>this is a test</description> <description>this is a test2</description> </test>" XmlObject = Document.new(Xml)
2006 Jul 22
4
Reading floating points into a field stored as Integers
Hi, I''m trying to follow the "AWDR" example of storing certain types of numbers (in my case, percentages not money) as integers in the database. I understand from the Depot application how to format the output to have 2 places (or n places for that matter) decimal. Now, I"m wondering about the input. It''s more natural for people to enter numbers as
2006 Jul 24
4
[Slightly OT] Dealing with lost connections
Hi! I know that the web is essentially stateless, so I was wondering about how lost connections can be managed. I have an application that posts data to a web form. This form has a large number of items (about 38) and I''m a bit concerned about the connection being lost while posting the data. Is it safe to assume that the web application will reject the transmission if the right
2006 Feb 01
3
XML on a external website
In my rails application i want to fetch an external xml file So my website www.test.com needs an xml file from www.example.com/xml.asp?query=hallo. In my rails application i want to fetch and handle this file as an xml object. Can anyone help me? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Apr 08
1
How do I fix these annoying errors?
C:\rails\brablog>ruby script/generate scaffold c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape
2006 Jul 18
3
Navigation techniques, everyone?
I''m rewriting the code to my first app. I want to reuse a lot of it, but tidy it up a lot. The first thing I will tackle is my nav-bar. Throughout a user''s experience on my app, I want it to reload as little as possible (I''ll have about 7 or 8 controllers with about 70 actions). So, I''ve thought of a few ways of doing it, and was wondering if you guys
2006 Jul 23
18
help with "rake db:migrate" error please?
Hi, Just trying to get my first database based rails app up on dreamhost.com. The app was working prior to putting in mysql DB usage but I''m just stuck on getting the app working with mysql. I''ve already created the database and can connect to it manually. Below is the error I get after running the rake migrate. It worked OK on my home PC environment. I did change the
2006 May 30
11
Display XML file, with some formatting.
Hi. Im quite new to this Rails thing, but it seems like a good product so why not try it out whit a little prototype i need to build. What i want is to load any given XML file, and display it with some formatting. I have some XSD shemes to validate the XML files against, but its not vital rigth now. But how should i approach this task? At first it would proberly be a good idea to load the