# Top

**URL:** https://www.ruby-forum.com/top.md?page=1138

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 1139

---

## [Overwrite primary key when importing with ActiveRecord](https://www.ruby-forum.com/t/overwrite-primary-key-when-importing-with-activerecord/130220)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 3\
**Last updated:** [February 26, 2008, 3:38pm UTC](https://www.ruby-forum.com/t/overwrite-primary-key-when-importing-with-activerecord/130220 "2008-02-26T15:38:19Z")

</div>

In my migrations I am importing data from a CSV file. So i first create the table : create\_table :customers do |t| … end and then import data from a CSV into it. The CSV data allready contains values for the id fi…

---

## [Comment faire pour que les mails envoyÃ©s n e passent pas en](https://www.ruby-forum.com/t/comment-faire-pour-que-les-mails-envoya-s-n-e-passent-pas-en/110496)

<div class="topic-metadata">

**Author:** [@romain](https://www.ruby-forum.com/u/romain)\
**Replies:** 3\
**Last updated:** [July 27, 2007, 4:34pm UTC](https://www.ruby-forum.com/t/comment-faire-pour-que-les-mails-envoya-s-n-e-passent-pas-en/110496 "2007-07-27T16:34:05Z")

</div>

Salut Ã tous, Nous dÃ©veloppons actuellement une application mais nous avons un petit problÃ¨me. Nous avons crÃ©Ã© une partie admin qui a pour but d’envoyer un message inscris dans un champ Ã toutes les personnes …

---

## [Ruby on rake, oÃ¹ "comment rake m'a rendu a lcoolique"](https://www.ruby-forum.com/t/ruby-on-rake-oa-comment-rake-ma-rendu-a-lcoolique/106547)

<div class="topic-metadata">

**Author:** [@Frederic\_de\_Villami](https://www.ruby-forum.com/u/Frederic_de_Villami)\
**Replies:** 3\
**Last updated:** [June 12, 2007, 11:38am UTC](https://www.ruby-forum.com/t/ruby-on-rake-oa-comment-rake-ma-rendu-a-lcoolique/106547 "2007-06-12T11:38:25Z")

</div>

Bonsoir, Rails en français manquant un peu de docs sur le web, j’ai fait une rapide traduction de l’excellente article des gens de Railsenvy. C’est sur Frederic DE Villamil | A better way ma-rendu-alcoolique Bonne …

---

## [How to capture text from a popup window..in watir](https://www.ruby-forum.com/t/how-to-capture-text-from-a-popup-window-in-watir/92804)

<div class="topic-metadata">

**Author:** [@SHALINI\_GUPTA](https://www.ruby-forum.com/u/SHALINI_GUPTA)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 12:39pm UTC](https://www.ruby-forum.com/t/how-to-capture-text-from-a-popup-window-in-watir/92804 "2007-04-24T12:39:11Z")

</div>

Hi all, I got the answer how to click on ‘ok’ button. But still i have two problems that code is not working when im trying to run that code through the exe file of that ruby file which is using that code. and second…

---

## [Investigating RoR: Compared to Java and Adobe's Flex](https://www.ruby-forum.com/t/investigating-ror-compared-to-java-and-adobes-flex/84110)

<div class="topic-metadata">

**Author:** [@amani](https://www.ruby-forum.com/u/amani)\
**Replies:** 3\
**Last updated:** [February 1, 2007, 3:34pm UTC](https://www.ruby-forum.com/t/investigating-ror-compared-to-java-and-adobes-flex/84110 "2007-02-01T15:34:27Z")

</div>

Hi I work for a local government in NY. We use Java extensively for our in-house applications. Recently there has been interest in moving away from Java for some of our applications. I’m not a developer per se, but I…

---

## [Get Image Dimensions Given Local File Path](https://www.ruby-forum.com/t/get-image-dimensions-given-local-file-path/81035)

<div class="topic-metadata">

**Author:** [@parrfolio](https://www.ruby-forum.com/u/parrfolio)\
**Replies:** 3\
**Last updated:** [January 3, 2007, 10:21am UTC](https://www.ruby-forum.com/t/get-image-dimensions-given-local-file-path/81035 "2007-01-03T10:21:44Z")

</div>

Hi All, I have an image file (.jpg) that I can open via File.open() and I am curious on the easiest way to get the dimensions of this file. I’d prefer this to be a ruby/rails way and not a javascript method. Basic…

---

## [HABTM :insert\_sql help](https://www.ruby-forum.com/t/habtm-insert-sql-help/54064)

<div class="topic-metadata">

**Author:** [@richblunt](https://www.ruby-forum.com/u/richblunt)\
**Replies:** 3\
**Last updated:** [February 22, 2006, 8:15am UTC](https://www.ruby-forum.com/t/habtm-insert-sql-help/54064 "2006-02-22T08:15:49Z")

</div>

Hi all, I’m working with a legacy sqlserver db and I’m trying to override the insert sql in as defined in the HABTM method below(becasue the join has three primary keys), but I’m getting the error: ‘undefined local v…

---

## [Mention about an open source image editor](https://www.ruby-forum.com/t/mention-about-an-open-source-image-editor/95593)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [January 19, 2006, 1:57am UTC](https://www.ruby-forum.com/t/mention-about-an-open-source-image-editor/95593 "2006-01-19T01:57:47Z")

</div>

Some days back there was a mention about an open source image editor that people uses for application layout designing. I have forgotten about the name of that software. Can someone send me the link? Silvy Mathews

---

## [Concept of instance variable in ruby](https://www.ruby-forum.com/t/concept-of-instance-variable-in-ruby/214697)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [December 12, 2011, 10:17am UTC](https://www.ruby-forum.com/t/concept-of-instance-variable-in-ruby/214697 "2011-12-12T10:17:36Z")

</div>

@x = ‘Hello world’ def printMe puts @x end int the above code section when a call printMe method it behaves as expected. However if I remove the ‘@’ symbol making x as a local variable it throws an undefined name e…

---

## [Be Aware Russian DDOS Hacker Ivan Ivanov of Khabarovsk](https://www.ruby-forum.com/t/be-aware-russian-ddos-hacker-ivan-ivanov-of-khabarovsk/210629)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [August 12, 2011, 7:54pm UTC](https://www.ruby-forum.com/t/be-aware-russian-ddos-hacker-ivan-ivanov-of-khabarovsk/210629 "2011-08-12T19:54:42Z")

</div>

Since last week, Our website SuntekStore.com has been under DDOS (Distributed Denial Of Service)attack by someone who goes by the name of Ivan Alekseevich Ivanov from Khabarovsk, Russia and he demanded $3,500 to stop…

---

## [Problem in using %:whatever in enumumerations](https://www.ruby-forum.com/t/problem-in-using-whatever-in-enumumerations/207570)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [May 28, 2011, 9:08pm UTC](https://www.ruby-forum.com/t/problem-in-using-whatever-in-enumumerations/207570 "2011-05-28T21:08:38Z")

</div>

Hi, I’m on a Ruby self-improvement mission. Presently I working my way though all 47 of the Enumerable methods in Ruby 1.9.2. I composed the following: greek = %w{Alpha Beta Gamma} puts greek.all? { |s| s.length …

---

## [LoadError in gem](https://www.ruby-forum.com/t/loaderror-in-gem/206305)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 28, 2011, 3:07pm UTC](https://www.ruby-forum.com/t/loaderror-in-gem/206305 "2011-04-28T15:07:41Z")

</div>

Hi, I’m trying to package a library into a gem. I write the main file with autoload, just like Rack’s. module RenrenAPI autoload :Authentication, “renren\_api/authentication” autoload :SignatureCalculator, “renren\_ap…

---

## [\[\*ary\] operator bug (or not)?](https://www.ruby-forum.com/t/ary-operator-bug-or-not/198317)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 30, 2010, 5:31am UTC](https://www.ruby-forum.com/t/ary-operator-bug-or-not/198317 "2010-10-30T05:31:14Z")

</div>

ruby-1.9.2-head \> ary.object\_id =\> 87171620 ruby-1.9.2-head \> default = \[\*ary\] ruby-1.9.2-head \> default.object\_id =\> 87171620 Is that a bug or a feature ? I would expect such construction to create a new array. R…

---

## [Effort for web address database for Ruby on Rails newcommer](https://www.ruby-forum.com/t/effort-for-web-address-database-for-ruby-on-rails-newcommer/196279)

<div class="topic-metadata">

**Author:** [@methusalixa](https://www.ruby-forum.com/u/methusalixa)\
**Replies:** 5\
**Last updated:** [October 11, 2010, 6:26am UTC](https://www.ruby-forum.com/t/effort-for-web-address-database-for-ruby-on-rails-newcommer/196279 "2010-10-11T06:26:16Z")

</div>

I need a web MySQL data base for a non profit organisation. The aim of the organisation is to find free help for people in misery. For this purpose we want to have a MySQL web database with adresses. I’m a software d…

---

## [Extract all routes and test their views?](https://www.ruby-forum.com/t/extract-all-routes-and-test-their-views/195119)

<div class="topic-metadata">

**Author:** [@zoran](https://www.ruby-forum.com/u/zoran)\
**Replies:** 5\
**Last updated:** [September 29, 2010, 10:15pm UTC](https://www.ruby-forum.com/t/extract-all-routes-and-test-their-views/195119 "2010-09-29T22:15:19Z")

</div>

Hey, I’m trying to add some more tests to my application and was wondering what’s the best way to test all my routes/views of my application. I’m using HAML which can lead to some typos since I’m new to it and of cou…

---

## [Reposted from Superuser - Installing Ruby on Rails on Ubuntu 10.04: A Living Nightmare](https://www.ruby-forum.com/t/reposted-from-superuser-installing-ruby-on-rails-on-ubuntu-10-04-a-living-nightmare/191047)

<div class="topic-metadata">

**Author:** [@emptyset](https://www.ruby-forum.com/u/emptyset)\
**Replies:** 5\
**Last updated:** [July 3, 2010, 4:07pm UTC](https://www.ruby-forum.com/t/reposted-from-superuser-installing-ruby-on-rails-on-ubuntu-10-04-a-living-nightmare/191047 "2010-07-03T16:07:47Z")

</div>

I’m reposting this here from my original post on Superuser\[1\], to hopefully get more relevant feedback from more experienced RoR users. I need to get a RoR environment up and running, because I have a client that need…

---

## [How Do I Change a .gsub](https://www.ruby-forum.com/t/how-do-i-change-a-gsub/179694)

<div class="topic-metadata">

**Author:** [@jovijunki](https://www.ruby-forum.com/u/jovijunki)\
**Replies:** 5\
**Last updated:** [December 2, 2009, 5:53pm UTC](https://www.ruby-forum.com/t/how-do-i-change-a-gsub/179694 "2009-12-02T17:53:48Z")

</div>

I’m trying to make a Hangman game def guessed\_word() word\_letters = @word.split("") blank = @word.gsub(/\[a-z\]/, ‘\_’) return blank end the array for the correct guesses made by the user is @good\_guesses and inc…

---

## [Navigation](https://www.ruby-forum.com/t/navigation/95695)

<div class="topic-metadata">

**Author:** [@jpfeifer](https://www.ruby-forum.com/u/jpfeifer)\
**Replies:** 5\
**Last updated:** [June 4, 2009, 4:38pm UTC](https://www.ruby-forum.com/t/navigation/95695 "2009-06-04T16:38:45Z")

</div>

Greetings, I appreciate the help from here as I seem to be asking the noob questions a lot, but what is a good way to deal with navigation pulled from a database? I have this in my view: \<% @nav\_buttons.each do |nav…

---

## [Routing every request to same action](https://www.ruby-forum.com/t/routing-every-request-to-same-action/164259)

<div class="topic-metadata">

**Author:** [@umair](https://www.ruby-forum.com/u/umair)\
**Replies:** 5\
**Last updated:** [March 31, 2009, 8:19pm UTC](https://www.ruby-forum.com/t/routing-every-request-to-same-action/164259 "2009-03-31T20:19:05Z")

</div>

Hi, I have some problem, I want to route every request from URL to an action in my one controller. Like if I enter localhost:3000/rac .Here it will take the ‘rac’ as a controller name and then route it to the ‘index’…

---

## [Https html parsing](https://www.ruby-forum.com/t/https-html-parsing/163930)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 5\
**Last updated:** [March 28, 2009, 5:38am UTC](https://www.ruby-forum.com/t/https-html-parsing/163930 "2009-03-28T05:38:36Z")

</div>

Hi, Can anybody please give me the details of how to parse html from a ‘https’ site using ‘net/http’. I came to learn that we can use basic authentication techniques to do that. But I want to know whether there is a …

---

## [Is there a way to find the class methods of a class, just like 'methods' finds the instance methods?](https://www.ruby-forum.com/t/is-there-a-way-to-find-the-class-methods-of-a-class-just-like-methods-finds-the-instance-methods/149552)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 5\
**Last updated:** [September 26, 2008, 9:59am UTC](https://www.ruby-forum.com/t/is-there-a-way-to-find-the-class-methods-of-a-class-just-like-methods-finds-the-instance-methods/149552 "2008-09-26T09:59:02Z")

</div>

The subject says it all, really. Thanks, Ken

---

## [Rspec and rcov](https://www.ruby-forum.com/t/rspec-and-rcov/146812)

<div class="topic-metadata">

**Author:** [@crossblaim](https://www.ruby-forum.com/u/crossblaim)\
**Replies:** 5\
**Last updated:** [August 25, 2008, 11:39pm UTC](https://www.ruby-forum.com/t/rspec-and-rcov/146812 "2008-08-25T23:39:14Z")

</div>

hi everyone, does anyone experience this problem? kain-osx:mysite kain$ rake spec:rcov (in /Users/kain/Sites/mysite) … Finished in 1.567164 seconds 20 examples, 0 failures /usr/local/lib/ruby/1.8/rexml/formatters/…

---

## [Bindings and Context](https://www.ruby-forum.com/t/bindings-and-context/145563)

<div class="topic-metadata">

**Author:** [@lynchnco](https://www.ruby-forum.com/u/lynchnco)\
**Replies:** 5\
**Last updated:** [August 11, 2008, 7:00pm UTC](https://www.ruby-forum.com/t/bindings-and-context/145563 "2008-08-11T19:00:27Z")

</div>

Hi, I’m still really confused about Ruby Closures. At first I thought closures are just blocks who “remember” the context that they were defined in (so that they can refer to local variables and methods) And then I …

---

## [RE: Re: \[jruby-dev\] Re: \[jruby-user\] JRuby 1.1.3 by end of week...Nominate problems here](https://www.ruby-forum.com/t/re-re-jruby-dev-re-jruby-user-jruby-1-1-3-by-end-of-week-nominate-problems-here/143306)

<div class="topic-metadata">

**Author:** [@PartogiS\_Joshua](https://www.ruby-forum.com/u/PartogiS_Joshua)\
**Replies:** 5\
**Last updated:** [July 17, 2008, 4:33pm UTC](https://www.ruby-forum.com/t/re-re-jruby-dev-re-jruby-user-jruby-1-1-3-by-end-of-week-nominate-problems-here/143306 "2008-07-17T16:33:48Z")

</div>

Will the release still be executed this week? I can’t wait to download it. regards

---

## [Watir , access is denied](https://www.ruby-forum.com/t/watir-access-is-denied/141589)

<div class="topic-metadata">

**Author:** [@pradeepta](https://www.ruby-forum.com/u/pradeepta)\
**Replies:** 5\
**Last updated:** [July 1, 2008, 8:48am UTC](https://www.ruby-forum.com/t/watir-access-is-denied/141589 "2008-07-01T08:48:37Z")

</div>

Hi , I am trying to insert data into text field of a frame ,however i am getting the error message : WIN32OLERuntimeError: document OLE error code:80070005 in Access is denied. HRESULT error code:0x80020009 Ex…

---

## [Sub/gsub bug?](https://www.ruby-forum.com/t/sub-gsub-bug/137911)

<div class="topic-metadata">

**Author:** [@javamllama](https://www.ruby-forum.com/u/javamllama)\
**Replies:** 5\
**Last updated:** [May 19, 2008, 6:53am UTC](https://www.ruby-forum.com/t/sub-gsub-bug/137911 "2008-05-19T06:53:12Z")

</div>

Is this a bug? irb(main):032:0\> “matt’s test”.sub(/’/, “\\’”) =\> “matts tests test” It’s trying to replace a single quote with an escaped quote. Thanks in advance, Matt

---

## [Benefits of front-end vs. direct serving](https://www.ruby-forum.com/t/benefits-of-front-end-vs-direct-serving/133732)

<div class="topic-metadata">

**Author:** [@riffola](https://www.ruby-forum.com/u/riffola)\
**Replies:** 5\
**Last updated:** [April 3, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/benefits-of-front-end-vs-direct-serving/133732 "2008-04-03T15:49:31Z")

</div>

What are the benefits of running Nginx as a front-end for Apache vs. running PHP, Django, etc via FastCGI directly with Nginx? Especially in terms of a VPS limited to 256MB - 512MB of RAM. Sorry if this a very basic q…

---

## [Ruby 1.9 named arguments](https://www.ruby-forum.com/t/ruby-1-9-named-arguments/133351)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [March 30, 2008, 9:24pm UTC](https://www.ruby-forum.com/t/ruby-1-9-named-arguments/133351 "2008-03-30T21:24:58Z")

</div>

When I run the following in the irb session, I am getting an error. Any ideas why? TIA. irb(main):036:0\> { :a =\> 1, :b =\> 4 } =\> {:a=\>1, :b=\>4} irb(main):037:0\> { :x 2, :y 6 } SyntaxError: (irb):37: syntax error, un…

---

## [Scope of class instance variables?](https://www.ruby-forum.com/t/scope-of-class-instance-variables/133269)

<div class="topic-metadata">

**Author:** [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Replies:** 5\
**Last updated:** [March 29, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/scope-of-class-instance-variables/133269 "2008-03-29T23:08:56Z")

</div>

I am reading Hal F.'s “The Ruby Way” On page 57 he makes the statement: “Class instance variables cannot be referenced from within instance methods and, in general are not very useful” huh?.. This , in my feeble min…

---

## [Active record - Help Updating single attributes](https://www.ruby-forum.com/t/active-record-help-updating-single-attributes/133061)

<div class="topic-metadata">

**Author:** [@sideshow](https://www.ruby-forum.com/u/sideshow)\
**Replies:** 5\
**Last updated:** [March 28, 2008, 12:17am UTC](https://www.ruby-forum.com/t/active-record-help-updating-single-attributes/133061 "2008-03-28T00:17:25Z")

</div>

Hi , Can someone guide me as to how to update a single attribute/column rather than the whole row in rails 2.0 My table has about 40 columns in it and i have a page that only wants to pull and update about 5 columns …

---

## [Jaspersoft and its integration with RoR](https://www.ruby-forum.com/t/jaspersoft-and-its-integration-with-ror/128505)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 5\
**Last updated:** [February 8, 2008, 12:49pm UTC](https://www.ruby-forum.com/t/jaspersoft-and-its-integration-with-ror/128505 "2008-02-08T12:49:50Z")

</div>

Hi all I am working on a website where I would require use of JasperReports. So is there any one who has some guide for integration of RoR and jaspersoft…or has any one done the same in their project? It would be gr8…

---

## [Scraping \<table\> from a website](https://www.ruby-forum.com/t/scraping-table-from-a-website/120686)

<div class="topic-metadata">

**Author:** [@cskilbeck](https://www.ruby-forum.com/u/cskilbeck)\
**Replies:** 5\
**Last updated:** [November 20, 2007, 8:15am UTC](https://www.ruby-forum.com/t/scraping-table-from-a-website/120686 "2007-11-20T08:15:19Z")

</div>

Hi, I need to extract everything between and on a website (there’s only one table on the page. So far I have: require ‘open-uri’ page = open(‘http://xxx.html’).read page.gsub!(/\\n/,“”) page.gsub!(/\\r/,“”) inner…

---

## [Web Databases and Objects](https://www.ruby-forum.com/t/web-databases-and-objects/109392)

<div class="topic-metadata">

**Author:** [@cpjolicoeur](https://www.ruby-forum.com/u/cpjolicoeur)\
**Replies:** 5\
**Last updated:** [July 14, 2007, 5:21am UTC](https://www.ruby-forum.com/t/web-databases-and-objects/109392 "2007-07-14T05:21:22Z")

</div>

OK…I’m having a mental block. I have a website started with Ruby on Rails. I’ve got this object Hierarchy in mind. the simple “it’s a database” stuff is fine.but when it comes to the Arrays of Hashes that make up s…

---

## [Searching multiple fields with conditions](https://www.ruby-forum.com/t/searching-multiple-fields-with-conditions/104914)

<div class="topic-metadata">

**Author:** [@hwhite](https://www.ruby-forum.com/u/hwhite)\
**Replies:** 5\
**Last updated:** [June 8, 2007, 5:51am UTC](https://www.ruby-forum.com/t/searching-multiple-fields-with-conditions/104914 "2007-06-08T05:51:19Z")

</div>

I am very new at RoR but am trying to tweak the code for the AJAX table from How to paginate, sort and search a table with Ajax and Rails · dev.nozav.org. I have it all working the way I want except for one line of cod…

---

## [Action Mailer](https://www.ruby-forum.com/t/action-mailer/88568)

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 5\
**Last updated:** [March 14, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/action-mailer/88568 "2007-03-14T18:00:32Z")

</div>

Estoy probando a enviar un mail, he creado: ruby script/generate mailer ContactoMailer confirm sent class ContactoMailer \< ActionMailer::Base def confirm(email) @subject = ‘Contacto’ @body = {} @recipients …

---

## [Attr\_reader explained](https://www.ruby-forum.com/t/attr-reader-explained/87548)

<div class="topic-metadata">

**Author:** [@etikette](https://www.ruby-forum.com/u/etikette)\
**Replies:** 5\
**Last updated:** [March 5, 2007, 10:30pm UTC](https://www.ruby-forum.com/t/attr-reader-explained/87548 "2007-03-05T22:30:00Z")

</div>

can someone explain how attr\_reader works? i can’t find a good explanation anywhere. please help!

---

## [Learning ruby - metaprogramming question](https://www.ruby-forum.com/t/learning-ruby-metaprogramming-question/73264)

<div class="topic-metadata">

**Author:** [@Luc\_J](https://www.ruby-forum.com/u/Luc_J)\
**Replies:** 5\
**Last updated:** [October 24, 2006, 1:16pm UTC](https://www.ruby-forum.com/t/learning-ruby-metaprogramming-question/73264 "2006-10-24T13:16:48Z")

</div>

Hello all, I started learning Ruby not long ago and I’d really like to understand concepts behind it. Poignant Guide to ruby (http://poignantguide.net/ruby/chapter-6.html) is a very usefull book for this. Below exam…

---

## [Need some direction re: model setup](https://www.ruby-forum.com/t/need-some-direction-re-model-setup/70269)

<div class="topic-metadata">

**Author:** [@d2kagw](https://www.ruby-forum.com/u/d2kagw)\
**Replies:** 5\
**Last updated:** [September 28, 2006, 12:03am UTC](https://www.ruby-forum.com/t/need-some-direction-re-model-setup/70269 "2006-09-28T00:03:41Z")

</div>

Hello, I need some direction for a project I’m working on. I’ve got a serious case of coders block :slight\_smile: So I have a model called Review which belongs\_to Form. The Review has many (hundreds) attributes whic…

---

## [How do I create an attribute accessor to do this](https://www.ruby-forum.com/t/how-do-i-create-an-attribute-accessor-to-do-this/69842)

<div class="topic-metadata">

**Author:** [@noagenda](https://www.ruby-forum.com/u/noagenda)\
**Replies:** 5\
**Last updated:** [September 25, 2006, 1:06am UTC](https://www.ruby-forum.com/t/how-do-i-create-an-attribute-accessor-to-do-this/69842 "2006-09-25T01:06:51Z")

</div>

I want to be able to do this to merge a hash into attribute bas on instance bar in class foo; bar = Foo.new bar.bas \<\< { :this =\> “that” } Is there any way to define the accessor in Foo to be able to do this? Thanks…

---

## [What are people using for date fields](https://www.ruby-forum.com/t/what-are-people-using-for-date-fields/98010)

<div class="topic-metadata">

**Author:** [@sams](https://www.ruby-forum.com/u/sams)\
**Replies:** 5\
**Last updated:** [July 15, 2006, 10:45pm UTC](https://www.ruby-forum.com/t/what-are-people-using-for-date-fields/98010 "2006-07-15T22:45:21Z")

</div>

I’m just curious about what techniques others have successfully used to capture date data on forms as an alternative to the standard date\_select. I have to admit I’ve been lazy and only used the date\_select as we hav…

---

## [Compiling atsc\_trellis\_encoder.cc](https://www.ruby-forum.com/t/compiling-atsc-trellis-encoder-cc/57437)

<div class="topic-metadata">

**Author:** [@valdar](https://www.ruby-forum.com/u/valdar)\
**Replies:** 5\
**Last updated:** [April 12, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/compiling-atsc-trellis-encoder-cc/57437 "2006-04-12T22:41:02Z")

</div>

I’m getting this error compiling a new file in atsc, copied from atsc\_rs\_encoder.cc: atsc\_trellis\_encoder.cc: In member function virtual int atsc\_trellis\_encoder::work(int, gr\_vector\_const\_void\_star&, gr\_vector\_void\_st…

---

## [RJS adds comment but doesn't update form](https://www.ruby-forum.com/t/rjs-adds-comment-but-doesnt-update-form/57470)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 5\
**Last updated:** [April 11, 2006, 6:30pm UTC](https://www.ruby-forum.com/t/rjs-adds-comment-but-doesnt-update-form/57470 "2006-04-11T18:30:51Z")

</div>

Hi, When a user adds a comment i want to add the comment to the end of the comments list using ajax so there is no full page refresh. The code i have below adds the comment to the database but doesn’t update the com…

---

## [Re: Archive::Tar uncompress question](https://www.ruby-forum.com/t/re-archive-tar-uncompress-question/93705)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 5\
**Last updated:** [April 7, 2006, 8:38am UTC](https://www.ruby-forum.com/t/re-archive-tar-uncompress-question/93705 "2006-04-07T08:38:00Z")

</div>

guess was an unforseen use. I need to simply unpack an when /.t(ar.)?gz/ which works fine for what I need if I redefine It seems that @compressed\_archive\_name can only be set if one first compresses an archive. I …

---

## [JOB: Ruby/Rails Software Engineer, Chicago, IL](https://www.ruby-forum.com/t/job-ruby-rails-software-engineer-chicago-il/52620)

<div class="topic-metadata">

**Author:** [@Beau\_Gould](https://www.ruby-forum.com/u/Beau_Gould)\
**Replies:** 5\
**Last updated:** [January 17, 2006, 8:38am UTC](https://www.ruby-forum.com/t/job-ruby-rails-software-engineer-chicago-il/52620 "2006-01-17T08:38:41Z")

</div>

Details: http://www.superiorss.com/jobs.htm

---

## [Pipelined Processing](https://www.ruby-forum.com/t/pipelined-processing/48433)

<div class="topic-metadata">

**Author:** [@bob.news](https://www.ruby-forum.com/u/bob.news)\
**Replies:** 5\
**Last updated:** [November 21, 2005, 7:55am UTC](https://www.ruby-forum.com/t/pipelined-processing/48433 "2005-11-21T07:55:09Z")

</div>

Hi, this came up recently on IRC: question was how to chain processing so that each step runs concurrently to other steps. While I don’t see real benefit as long as there are no native threads in Ruby I played arou…

---

## [Models and erbs](https://www.ruby-forum.com/t/models-and-erbs/224482)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [November 13, 2012, 9:52pm UTC](https://www.ruby-forum.com/t/models-and-erbs/224482 "2012-11-13T21:52:23Z")

</div>

I’m not sure how best to do this. I have a project that has Features (these are video links) that go into a homepage. It also has Events, which get displayed in a table, can be clicked on, and a page about that even…

---

## [Troubled while trying to create list from hash](https://www.ruby-forum.com/t/troubled-while-trying-to-create-list-from-hash/221303)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [July 9, 2012, 5:42pm UTC](https://www.ruby-forum.com/t/troubled-while-trying-to-create-list-from-hash/221303 "2012-07-09T17:42:18Z")

</div>

Hello, I have a hash with IP addresses and numbers. Each number represents the number that the IP address is found in a log. I want to create a list, which contains the IP address (or addresses) of the most frequentl…

---

## [Invalid date](https://www.ruby-forum.com/t/invalid-date/199722)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [November 30, 2010, 4:01pm UTC](https://www.ruby-forum.com/t/invalid-date/199722 "2010-11-30T16:01:58Z")

</div>

Hi!! Somebody knows why throws me an exception?? invalid date C:/Ruby/lib/ruby/1.8/date.rb:1482:in civil' C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active\_support/ core\_ext/string/conversions.rb:23:into\_d…

---

## [How to build a smaple application using ror](https://www.ruby-forum.com/t/how-to-build-a-smaple-application-using-ror/198705)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 6\
**Last updated:** [November 8, 2010, 9:01am UTC](https://www.ruby-forum.com/t/how-to-build-a-smaple-application-using-ror/198705 "2010-11-08T09:01:31Z")

</div>

Hi all, i want to learn ruby on rails.i am using window7 . I installed ruby 1.9.2 p0 in “C:\\ruby” using one click installer.and then installed rails using the command “gem install rails”. and rails get installed …

---

## [Manifest html5](https://www.ruby-forum.com/t/manifest-html5/195018)

<div class="topic-metadata">

**Author:** [@alesc](https://www.ruby-forum.com/u/alesc)\
**Replies:** 6\
**Last updated:** [September 20, 2010, 4:53pm UTC](https://www.ruby-forum.com/t/manifest-html5/195018 "2010-09-20T16:53:33Z")

</div>

avete provato? Ho aggiunto il manifest a un mio sito ma non scarica nulla… chissa dove sbaglio…

[Previous page](https://www.ruby-forum.com/top.md?page=1137&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=1139&per_page=50)
