Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nrasch

    Connecting to Access/jet

    Heyas. :) Check out this link: http://rubyonwindows.blogspot.com/2007/06/using-ruby-ado-to-work-with-ms-access.html Let me know if that works. :) Thanks! Nathan Want to learn Chinese? www.gatewaychina.net
  2. nrasch

    "Does this class exist"?

    Check out the following link: http://infovore.org/archives/2006/08/02/getting-a-class-object-in-ruby-from-a-string-containing-that-classes-name/ That would seem to do what you were asking about above. :) Thanks! Nathan Want to learn Chinese? www.gatewaychina.net
  3. nrasch

    Querying postgresql db using ruby

    Raj: I don't use PostGresSQL, so I'm going to be of limited help. However, here are some links I found that might guide you in the right direction: 1) http://www.ruby-forum.com/topic/134734 2)http://readlist.com/lists/lists.rubyonrails.org/rails/5/29525.html 3)...
  4. nrasch

    How to force model <=> table connexion ?

    Quick follow up: The solution above utilized a gem plugin. If you want to avoid that then these two links should help: http://en.wikibooks.org/wiki/Ruby_on_Rails/ActiveRecord/Naming http://ar.rubyonrails.com/ (click on 'ActiveRecord::Base' in the left column, then then click on...
  5. nrasch

    How to force model <=> table connexion ?

    MetalTree: Take a look at the following: http://code.google.com/p/ruby-sequel/wiki/SequelModels I think you are looking for this part here: <quote> You can, however, explicitly set the table name or even the dataset used: class Post < Sequel::Model(:my_posts) end # or :Post.set_dataset...
  6. nrasch

    Gsub with Unicode Characters

    Oh yah, here are some helpful links; http://www.fngtps.com/2006/01/encoding-in-rails http://wiki.rubyonrails.com/rails/pages/HowToUseUnicodeStrings :) Nathan Want to learn Chinese? www.gatewaychina.net
  7. nrasch

    Rake not creating databases

    What version of RoR are you using? If your using v2.0 or higher, then try this: rake db:create rake db:migrate Thanks! Nathan Want to learn Chinese? www.gatewaychina.net
  8. nrasch

    Gsub with Unicode Characters

    Heyas: I have dealt with this exact issue with the Chinese language. Here is how I dealt with it: At the top of my model(s) I put the following: <code> $KCODE = 'u' require 'jcode' </code> The jcode library updates a number of methods on the String class: ‘chop!’, ‘chop’, ‘delete!’...

Part and Inventory Search

Back
Top