|
First
|
Prev |
Next
|
Last
Pages: 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314
is it possible to create a hash dynamically? Hi, I am trying to build a dynamic hash map <CODE> def extract(xml, path) require 'rexml/document' xml = xml.to_s.gsub("utf-16", "utf-8") doc = REXML::Document.new(xml) doc.root.each_element(path) do |element| element.each_element do |node| puts "name: #{node.n... 30 Jun 2008 13:45
Database stuff! Hi, I know this is a Ruby forum, but it has been the most helpful to me in my attempt at learning to program and what not. I want to use MySQL and SQL in conjunction with Ruby. Basically, I'm totally lost with the database stuff. I installed MySQL, but have no clue where to go from there. 1. Is the database... 2 Jul 2008 07:47
Tables: Unnecessary duplication of id fields =begin Hello, I'm fairly new to Ruby, but I am trying to understand the relationship between database structure and models. My difficulty is that I have five or so tables all linked together and their primary key column is a serial number The tables are a set of tables called: itemmasters products pr... 8 Jul 2008 12:04
nested methods good or bad design =begin Hey chaps, Is it bad practice to have nested methods? I'm sure that it would result in messey/cluttered code. Does any one actually code like that at all? Not really -essential- as everything is working, (even better than), as expected without nested methods. Just would be nice to know what the gurus and... 3 Jul 2008 08:23
How install a gem which needs library at a special locatin Hello, I tried to install fxruby-1.6.15 with gem 1.2 under ruby 187 on a Linux Fedora box. The Fox library is in /usr/local/fox-1633 directory. The gem install fxruby fails because (of course) the ruby extconf.rb command can' t found the Fox include and Fox library. It needs the --with-fox-dir directive. ... 30 Jun 2008 09:37
Cscope for Ruby? Hi does anybody know a tool with the functionallity of cscope, or is cscope able to create an output file for Ruby? thx + br odi ... 30 Jun 2008 09:37
How to Fetch list of Bounce emails?? Hi, Can Any one know how to fetch bounce emails list from application?? Means if I send many mails from my application then if any mail is bounce or not send properly because of some problem in address. so how can i access that email addresses?? Thanks in advance. -- Posted via http://www.ruby-forum.com/. ... 30 Jun 2008 09:37
How can I run url without using port ? Hello, I have developed 2-3 sample ruby application... and my server name is like http://www.mydomain.com Now when I run one of my the ruby application say "first_app", then I have to use http://www.mydomain.com:3000/ And for the 2nd application I have shutdown the service for first one and then have to s... 2 Jul 2008 07:47
problems reading xml from a db field and using it in REXML I have pulled some xml from a field in the database However, when I try to use that xml in REXML require 'rexml/document' doc = REXML::Document.new(xml) I recieve this exception c:/ruby/lib/ruby/1.8/rexml/source.rb:20:in `create_from': undefined local variable or method `source' for REXML::SourceFactory:Cla... 30 Jun 2008 08:36
An easy and affordable way to turn your web design to quality XHTML/CSS/JS If you are a freelancer, web design company, or IT consulting agency that provides web design services to your clients, this service is for you! Lets face it; you want to impress your clients by creating web design masterpieces that will simply wow them. So why do you have to constantly worry about if your web... 30 Jun 2008 07:34 |