# Top

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

[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:** 1349

---

## [Set\_table\_name strangeness](https://www.ruby-forum.com/t/set-table-name-strangeness/48091)

<div class="topic-metadata">

**Author:** [@belorion](https://www.ruby-forum.com/u/belorion)\
**Replies:** 3\
**Last updated:** [November 16, 2005, 9:52pm UTC](https://www.ruby-forum.com/t/set-table-name-strangeness/48091 "2005-11-16T21:52:33Z")

</div>

Hello everyone. My code broke recently, and I can’t figure out why (perhaps it was the upgrade to 0.14.3?). Anyway, I have an ActiveRecord mapping to my phpBB database. Pulling data from that mapping works just fine.…

---

## [Re: ActionMailer - Sent but no mail?](https://www.ruby-forum.com/t/re-actionmailer-sent-but-no-mail/51603)

<div class="topic-metadata">

**Author:** [@codeslush](https://www.ruby-forum.com/u/codeslush)\
**Replies:** 3\
**Last updated:** [November 15, 2005, 2:05am UTC](https://www.ruby-forum.com/t/re-actionmailer-sent-but-no-mail/51603 "2005-11-15T02:05:57Z")

</div>

okay, okay, okay…so, I had it disabled (unknowingly) in the development environment config file. So now that it is enabled there, I have a different problem: 502 Command is locally disabled Any ideas? Here is the de…

---

## [Noob alert, please help loops and arrays and string methods](https://www.ruby-forum.com/t/noob-alert-please-help-loops-and-arrays-and-string-methods/212478)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [October 4, 2011, 1:00pm UTC](https://www.ruby-forum.com/t/noob-alert-please-help-loops-and-arrays-and-string-methods/212478 "2011-10-04T13:00:26Z")

</div>

I have a very simple assignment of creating a method to capitalize the first letter in all words of any given sentence, yes it is a school assignment, and yes I am an idiot. Anyway I have no idea how to use a loop to …

---

## [Suggestion to reduce number of junk hierarchical 'if loops'](https://www.ruby-forum.com/t/suggestion-to-reduce-number-of-junk-hierarchical-if-loops/202515)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 31, 2011, 7:36pm UTC](https://www.ruby-forum.com/t/suggestion-to-reduce-number-of-junk-hierarchical-if-loops/202515 "2011-01-31T19:36:15Z")

</div>

Hi, I have hierarchical “if loops” like this \<% @descriptions.each\_with\_index do |description, i| %\> \<% description.tale2.each do |tax\_ref| %\> \<% if condition %\> \<% if condition %\> \<% if condition %\> \<%= $text\_firs…

---

## [\- Model Inheritance](https://www.ruby-forum.com/t/model-inheritance/202119)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 22, 2011, 2:42pm UTC](https://www.ruby-forum.com/t/model-inheritance/202119 "2011-01-22T14:42:16Z")

</div>

Hi, I’m new to this list and to rails, so I’m sorry if this subject is repetead or too obvious. I have two models: Topic and University, both in production. I want to make University to inherit from Topic, but when I…

---

## [Intstalled Ruby 1.8.7 but still getting ruby -v =\> 1.8.6](https://www.ruby-forum.com/t/intstalled-ruby-1-8-7-but-still-getting-ruby-v-1-8-6/193404)

<div class="topic-metadata">

**Author:** [@mitch\_newbie](https://www.ruby-forum.com/u/mitch_newbie)\
**Replies:** 6\
**Last updated:** [August 18, 2010, 5:10pm UTC](https://www.ruby-forum.com/t/intstalled-ruby-1-8-7-but-still-getting-ruby-v-1-8-6/193404 "2010-08-18T17:10:51Z")

</div>

I have followed the instructions to install ruby 1.8.7. Everything seems to have installed as best that I can determine. However when I run the command ruby -v I get ruby 1.8.6 (2009-06-08 patchlevel 369) \[universal…

---

## [Nginx-0.8.23](https://www.ruby-forum.com/t/nginx-0-8-23/178789)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 6\
**Last updated:** [November 11, 2009, 7:48pm UTC](https://www.ruby-forum.com/t/nginx-0-8-23/178789 "2009-11-11T19:48:00Z")

</div>

Changes with nginx 0.8.23 11 Nov 2009 \*) Security: now SSL/TLS renegotiation is disabled. Thanks to Maxim D.. \*) Bugfix: listen unix domain socket did not inherit while online…

---

## [Unable to make observe\_field work](https://www.ruby-forum.com/t/unable-to-make-observe-field-work/170244)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 6\
**Last updated:** [June 15, 2009, 3:46pm UTC](https://www.ruby-forum.com/t/unable-to-make-observe-field-work/170244 "2009-06-15T15:46:04Z")

</div>

I can’t make it work. \<%= text\_field\_tag :friend %\> \<%= observe\_field :friend, :url =\> friendships\_url, :on =\> :click %\> \<%= javascript\_include\_tag :defaults %\> Raises the error:Can’t find variable Form. The generat…

---

## [Ruby in html.erb files](https://www.ruby-forum.com/t/ruby-in-html-erb-files/141579)

<div class="topic-metadata">

**Author:** [@amrita](https://www.ruby-forum.com/u/amrita)\
**Replies:** 6\
**Last updated:** [June 27, 2008, 11:52pm UTC](https://www.ruby-forum.com/t/ruby-in-html-erb-files/141579 "2008-06-27T23:52:33Z")

</div>

I have just started learning Rails and Ruby. I have succeeded in building an application so far. However, recently I tried embedding some ruby code in one of my html.erb files with the intention of further formatting …

---

## [Building Windows C Extension](https://www.ruby-forum.com/t/building-windows-c-extension/139542)

<div class="topic-metadata">

**Author:** [@Scott\_Preston](https://www.ruby-forum.com/u/Scott_Preston)\
**Replies:** 6\
**Last updated:** [June 4, 2008, 10:25pm UTC](https://www.ruby-forum.com/t/building-windows-c-extension/139542 "2008-06-04T22:25:26Z")

</div>

All, I am sure this has been brought up before but I am having problems writing a simple hello word C extension for Ruby in Windows. I am able to use nmake to build the library but get: a C++ popup with R6034 Load Er…

---

## [Php proxy exists?](https://www.ruby-forum.com/t/php-proxy-exists/125846)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 6\
**Last updated:** [January 14, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/php-proxy-exists/125846 "2008-01-14T21:09:06Z")

</div>

Wondering if anyone’s heard of a php script that will ‘forward’ your requests on to, say, a mongrel instance, and return it? Kind of a php fcgi? Thoughts? Thanks. -Roger

---

## [How to know what class are there in a script file?](https://www.ruby-forum.com/t/how-to-know-what-class-are-there-in-a-script-file/124138)

<div class="topic-metadata">

**Author:** [@Magicloud\_Wang](https://www.ruby-forum.com/u/Magicloud_Wang)\
**Replies:** 6\
**Last updated:** [December 25, 2007, 10:09pm UTC](https://www.ruby-forum.com/t/how-to-know-what-class-are-there-in-a-script-file/124138 "2007-12-25T22:09:46Z")

</div>

Dear, I mean after I ‘load’ or ‘require’ a file, How to know what classes I have got? Thanks.

---

## [Problems with validation \[\]](https://www.ruby-forum.com/t/problems-with-validation/91453)

<div class="topic-metadata">

**Author:** [@Daniello](https://www.ruby-forum.com/u/Daniello)\
**Replies:** 6\
**Last updated:** [April 9, 2007, 10:37pm UTC](https://www.ruby-forum.com/t/problems-with-validation/91453 "2007-04-09T22:37:47Z")

</div>

I’ve generated model, controller and then I’ve added validation to my model. When I leave my form field empty validation doesn’t appear (validate\_presents\_of). How can I fixed it??

---

## [Beginning Ruby on Rails E-Commerce : Errata Help](https://www.ruby-forum.com/t/beginning-ruby-on-rails-e-commerce-errata-help/76538)

<div class="topic-metadata">

**Author:** [@bparanj](https://www.ruby-forum.com/u/bparanj)\
**Replies:** 6\
**Last updated:** [December 3, 2006, 7:11pm UTC](https://www.ruby-forum.com/t/beginning-ruby-on-rails-e-commerce-errata-help/76538 "2006-12-03T19:11:42Z")

</div>

Page 94, chapter 3, running $ ruby test/integration/book\_test.rb gives: Expected response to be a \<:redirect\>, but was \<500\> Does anyone know how to fix this problem? TIA.

---

## [Ecommerce in Ruby](https://www.ruby-forum.com/t/ecommerce-in-ruby/97215)

<div class="topic-metadata">

**Author:** [@Paolo\_DonSSSS](https://www.ruby-forum.com/u/Paolo_DonSSSS)\
**Replies:** 6\
**Last updated:** [August 26, 2006, 11:20am UTC](https://www.ruby-forum.com/t/ecommerce-in-ruby/97215 "2006-08-26T11:20:04Z")

</div>

Ciao a tutti, ho trovato questo ecommerce in ruby… qualcuno di voi l’ha mai provato? http://dev.subimage.com/projects/substruct

---

## [Writing from 3 sources to 1 file](https://www.ruby-forum.com/t/writing-from-3-sources-to-1-file/101477)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [August 5, 2006, 4:33pm UTC](https://www.ruby-forum.com/t/writing-from-3-sources-to-1-file/101477 "2006-08-05T16:33:10Z")

</div>

i’ve an app with 2 daemons, i’d like to write all the log messages to the same file. then i suppose i need to lock the file when one source is writing and wait the file is unlocked for the other ? how this could be d…

---

## [Test](https://www.ruby-forum.com/t/test/240675)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 25, 2014, 3:52pm UTC](https://www.ruby-forum.com/t/test/240675 "2014-04-25T15:52:03Z")

</div>

Testing mail server. Seems server wide problem. Tom

---

## [\[ruby-trunk - Bug #9061\]\[Open\] REXML::Parsers::UltraLightParser で doctype を含む XML のパースがうまくいかない](https://www.ruby-forum.com/t/ruby-trunk-bug-9061-open-rexml-ultralightparser-doctype-xml/237221)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 16, 2013, 11:06am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-9061-open-rexml-ultralightparser-doctype-xml/237221 "2013-11-16T11:06:31Z")

</div>

Issue #9061 has been reported by ohai (Ippei Obayashi). Bug #9061: REXML::Parsers::UltraLightParser で doctype を含む XML のパースがうまくいかない Author: ohai (Ippei Obayashi) Status: Open Priority: Normal Assignee: Category: …

---

## [No attribute 'message\_sink'](https://www.ruby-forum.com/t/no-attribute-message-sink/237252)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 2, 2013, 7:58am UTC](https://www.ruby-forum.com/t/no-attribute-message-sink/237252 "2013-11-02T07:58:32Z")

</div>

Hi, I’m using USRP N210 with LFRX. I installed uhd and gnuradio with build-gnuradio script without any problem. However, when I run an application, it has such error message: self.sink = gr.message\_sink(gr.sizeof\_sh…

---

## [Bug in GRC's tcp\_source block](https://www.ruby-forum.com/t/bug-in-grcs-tcp-source-block/246082)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 29, 2013, 4:27pm UTC](https://www.ruby-forum.com/t/bug-in-grcs-tcp-source-block/246082 "2013-08-29T16:27:18Z")

</div>

Hi, I’ve now come across another issue with version 3.7. If I have a tcp source block in gnuradio-companion (in client mode), I get a stacktrace like this: Using Volk machine: sse4\_a\_64\_orc Traceback (most recent ca…

---

## [Real-time fading simulation?](https://www.ruby-forum.com/t/real-time-fading-simulation/220140)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [May 31, 2012, 7:07am UTC](https://www.ruby-forum.com/t/real-time-fading-simulation/220140 "2012-05-31T07:07:23Z")

</div>

I have been considering using GnuRadio with the USRPN210 as a realtime fading simulator for radio hardware testing, however any approaches I’ve considered in doing this seem to fall down fundamentally if I limit to us…

---

## [Come usare haml](https://www.ruby-forum.com/t/come-usare-haml/214797)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 12, 2011, 5:35pm UTC](https://www.ruby-forum.com/t/come-usare-haml/214797 "2011-12-12T17:35:44Z")

</div>

Non ho potuto fare a meno di notare questo haml, che per nella mia attuale versione di rails installata, non viene utilizzato (il mio layout di default in erb…) Conviene passare da subito ad haml? Come fare? Faccio…

---

## [Specify and validate requirements on an ActiveRecord association](https://www.ruby-forum.com/t/specify-and-validate-requirements-on-an-activerecord-association/213443)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 3, 2011, 5:15pm UTC](https://www.ruby-forum.com/t/specify-and-validate-requirements-on-an-activerecord-association/213443 "2011-11-03T17:15:38Z")

</div>

Looking for some guidance/support on what feels like might not be an uncommon use-case. User.has\_many accounts User.has\_many payment\_methods Account.belongs\_to :user Account.belongs\_to :payment\_method PaymentMethod…

---

## [FFI license](https://www.ruby-forum.com/t/ffi-license/207990)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [June 7, 2011, 8:18pm UTC](https://www.ruby-forum.com/t/ffi-license/207990 "2011-06-07T20:18:35Z")

</div>

Hi list, We’re evaluating license compatibility of JRuby and ran across the FFI code lib/ruby/site\_ruby/shared/ffi/ffi.rb “… a recipient may use your version of this file under the terms of any one of the CPL, the G…

---

## [\[Ruby 1.9-Bug#4187\]\[Open\] Error: test\_starttls(IMAPTest)](https://www.ruby-forum.com/t/ruby-1-9-bug-4187-open-error-test-starttls-imaptest/200830)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 2\
**Last updated:** [January 14, 2011, 7:48am UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4187-open-error-test-starttls-imaptest/200830 "2011-01-14T07:48:06Z")

</div>

Bug #4187: Error: test\_starttls(IMAPTest) http://redmine.ruby-lang.org/issues/show/4187 起票者: Kazuhiro NISHIYAMA ステータス: Open, 優先度: Normal カテゴリ: test ruby -v: ruby 1.9.3dev (2010-12-22 trunk 30291) \[x86\_64-linux\] tes…

---

## [Ruby v1.91 won't match literal plus sign](https://www.ruby-forum.com/t/ruby-v1-91-wont-match-literal-plus-sign/194110)

<div class="topic-metadata">

**Author:** [@ptremblett](https://www.ruby-forum.com/u/ptremblett)\
**Replies:** 2\
**Last updated:** [August 30, 2010, 9:45pm UTC](https://www.ruby-forum.com/t/ruby-v1-91-wont-match-literal-plus-sign/194110 "2010-08-30T21:45:49Z")

</div>

text = “++” puts “matched plus sign” if text.index(/++/, 0) Prints nothing. Using Regex.quote produces the same behavior. A forum registration quiz, “puts ((‘11’ \* 2).to\_i)/2” also prints nothing but v1.86 prints 555…

---

## [Different results in command-line vs. TextMate](https://www.ruby-forum.com/t/different-results-in-command-line-vs-textmate/191747)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 2\
**Last updated:** [July 17, 2010, 4:37pm UTC](https://www.ruby-forum.com/t/different-results-in-command-line-vs-textmate/191747 "2010-07-17T16:37:02Z")

</div>

Hi – I was working on an answer to James R.'s question, and discovered the following somewhat puzzling (to me) thing. James’s text file has some non-printing (Word-derived?) characters, instead of regular spaces: t…

---

## [Specs fail in rake spec but not command R](https://www.ruby-forum.com/t/specs-fail-in-rake-spec-but-not-command-r/181707)

<div class="topic-metadata">

**Author:** [@jko170](https://www.ruby-forum.com/u/jko170)\
**Replies:** 2\
**Last updated:** [January 16, 2010, 7:36pm UTC](https://www.ruby-forum.com/t/specs-fail-in-rake-spec-but-not-command-r/181707 "2010-01-16T19:36:32Z")

</div>

Surely I cannot be the only one experiencing this issue. I have some code that is “time/date sensitive”. Why do some specs fail when I run rake spec, but they do not when I use command R?

---

## [Send last irb output to Windows clipboard](https://www.ruby-forum.com/t/send-last-irb-output-to-windows-clipboard/177506)

<div class="topic-metadata">

**Author:** [@djmook](https://www.ruby-forum.com/u/djmook)\
**Replies:** 2\
**Last updated:** [October 19, 2009, 4:20pm UTC](https://www.ruby-forum.com/t/send-last-irb-output-to-windows-clipboard/177506 "2009-10-19T16:20:25Z")

</div>

Ruby n00b here. What I’d like to do is create a command that, when invoked, copies the last output of irb to the Windows clipboard. How do I do this?

---

## [New setup error. no such file to load -- spec/story](https://www.ruby-forum.com/t/new-setup-error-no-such-file-to-load-spec-story/168194)

<div class="topic-metadata">

**Author:** [@inari](https://www.ruby-forum.com/u/inari)\
**Replies:** 2\
**Last updated:** [May 18, 2009, 4:09pm UTC](https://www.ruby-forum.com/t/new-setup-error-no-such-file-to-load-spec-story/168194 "2009-05-18T16:09:56Z")

</div>

gems: rspec (1.2.6) rspec-rails (1.2.6) cucumber (0.3.4, 0.3.2) webrat (0.4.4) Just got my new machine (I’m learning rails, im a front end designer). pulled a repo that we’ve been working on to run rake and get sta…

---

## [Cucumber and Rcov](https://www.ruby-forum.com/t/cucumber-and-rcov/154806)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 2\
**Last updated:** [December 4, 2008, 4:42am UTC](https://www.ruby-forum.com/t/cucumber-and-rcov/154806 "2008-12-04T04:42:27Z")

</div>

I am now trying to get rcov to work for me, without much success. I stole the rake task code from the cucumber site: desc “Run all features” task :features =\> “features:all” task :features =\> ‘db:test:prepare’ requ…

---

## [Using Antwrap in Ruby](https://www.ruby-forum.com/t/using-antwrap-in-ruby/143879)

<div class="topic-metadata">

**Author:** [@srinu](https://www.ruby-forum.com/u/srinu)\
**Replies:** 2\
**Last updated:** [July 29, 2008, 8:45am UTC](https://www.ruby-forum.com/t/using-antwrap-in-ruby/143879 "2008-07-29T08:45:47Z")

</div>

Hi , I am trying to install Antwrap-0.7.0.gem and rjb-1.1.x gems in cygwin and windows also , I’m stuck so I thought I ping out to see if anyone else has done this. Last one week i have been working on issue .Any he…

---

## [\[newbie\] rspec textmate bundle problem](https://www.ruby-forum.com/t/newbie-rspec-textmate-bundle-problem/186777)

<div class="topic-metadata">

**Author:** [@ol1barn3s](https://www.ruby-forum.com/u/ol1barn3s)\
**Replies:** 2\
**Last updated:** [February 26, 2008, 5:43am UTC](https://www.ruby-forum.com/t/newbie-rspec-textmate-bundle-problem/186777 "2008-02-26T05:43:00Z")

</div>

Hello, I’ve just installed the rspec textmate bundle from svn, and I’m getting the following error when I try to run a single example: /Users/oliver/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support…

---

## [Regresar a la migraciÃ³n anterior](https://www.ruby-forum.com/t/regresar-a-la-migracia-n-anterior/126506)

<div class="topic-metadata">

**Author:** [@moctan](https://www.ruby-forum.com/u/moctan)\
**Replies:** 2\
**Last updated:** [January 18, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/regresar-a-la-migracia-n-anterior/126506 "2008-01-18T23:08:50Z")

</div>

Hola, Si ya se, rake db:migrate VERSION=xx -:). Lo que busco es algo semejante a esto: rake db:migrate VERSION=BEFORE Si no, le dicen a DHH que lo agregue por favor, bueno es viernes -:slight\_smile: Agradezco la ayu…

---

## [Find\_by\_sql prepared statements with like](https://www.ruby-forum.com/t/find-by-sql-prepared-statements-with-like/123333)

<div class="topic-metadata">

**Author:** [@jmark](https://www.ruby-forum.com/u/jmark)\
**Replies:** 2\
**Last updated:** [December 17, 2007, 2:23am UTC](https://www.ruby-forum.com/t/find-by-sql-prepared-statements-with-like/123333 "2007-12-17T02:23:35Z")

</div>

How does one write a prepared statement with LIKE using find\_by\_sql. For example the problem with soemthing like this is that extra quotes are put around the ? Product.find\_by\_sql(\[“SELECT \* FROM products WHERE name L…

---

## [Login form as a popup](https://www.ruby-forum.com/t/login-form-as-a-popup/118554)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 2\
**Last updated:** [October 28, 2007, 10:26pm UTC](https://www.ruby-forum.com/t/login-form-as-a-popup/118554 "2007-10-28T22:26:45Z")

</div>

These days I see login form as a popup everywhere. You can see an example here http://eventful.com (click on ‘sign in’). I have seen an example at "Prototype window’ http://prototype-window.xilinus.com/samples.html …

---

## [Multi-statement transactions with ActiveRecord (CORRECTED)](https://www.ruby-forum.com/t/multi-statement-transactions-with-activerecord-corrected/107942)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [June 27, 2007, 8:08pm UTC](https://www.ruby-forum.com/t/multi-statement-transactions-with-activerecord-corrected/107942 "2007-06-27T20:08:07Z")

</div>

All, I didn’t finish writing this before I posted the previous post. Sigh. Using Rails 1.1.6 AR against MS SQL Server (ODBC mode). I need to do some fancy bulk inserting of data, which I need to ensure is within a …

---

## [Builder::XmlMarkup and dashes](https://www.ruby-forum.com/t/builder-xmlmarkup-and-dashes/106482)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [June 12, 2007, 5:44pm UTC](https://www.ruby-forum.com/t/builder-xmlmarkup-and-dashes/106482 "2007-06-12T17:44:03Z")

</div>

Has anyone hacked Builder::XmlMarkup to dasherize underscore tags by default? I know I can use tag!, but I’d like to find a way for it to translate underscores to dashes automatically. In other words: xml.department\_…

---

## [Installing ruby-opengl in Windows: ERROR: While executing ge](https://www.ruby-forum.com/t/installing-ruby-opengl-in-windows-error-while-executing-ge/92742)

<div class="topic-metadata">

**Author:** [@Sung\_Soo\_K](https://www.ruby-forum.com/u/Sung_Soo_K)\
**Replies:** 2\
**Last updated:** [May 5, 2007, 6:20am UTC](https://www.ruby-forum.com/t/installing-ruby-opengl-in-windows-error-while-executing-ge/92742 "2007-05-05T06:20:17Z")

</div>

Hi. I have questions. Because I need to generate complex simple 3D pictures in Windows XP, I want to use OpenGL, especially in Ruby. Please consider that I’m a complete newbie in OpenGL. Problem is… I cannot ‘gem’ r…

---

## [Garbage collector and bigger projects](https://www.ruby-forum.com/t/garbage-collector-and-bigger-projects/81311)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 8, 2007, 2:17am UTC](https://www.ruby-forum.com/t/garbage-collector-and-bigger-projects/81311 "2007-01-08T02:17:34Z")

</div>

Hi, i have an other problem with the 0.16 version in an a little bit bigger project. If the code grows at some point it seams that the garbage collector kills my callbacks (made with libglade). Then it gives me the f…

---

## [Decoding Pager Protocol: Motorola Flex1600](https://www.ruby-forum.com/t/decoding-pager-protocol-motorola-flex1600/70928)

<div class="topic-metadata">

**Author:** [@Darryl\_R](https://www.ruby-forum.com/u/Darryl_R)\
**Replies:** 2\
**Last updated:** [October 4, 2006, 2:23am UTC](https://www.ruby-forum.com/t/decoding-pager-protocol-motorola-flex1600/70928 "2006-10-04T02:23:09Z")

</div>

Hi All, I’m just doing a bit of research into decoding the Motorola Flex1600 protocol under Linux and have not had any luck finding anything yet. I’m wondering whether the gnuradio project might be a good place to sta…

---

## [Svn update not working](https://www.ruby-forum.com/t/svn-update-not-working/96781)

<div class="topic-metadata">

**Author:** [@levi\_mccallum](https://www.ruby-forum.com/u/levi_mccallum)\
**Replies:** 2\
**Last updated:** [July 1, 2006, 11:28pm UTC](https://www.ruby-forum.com/t/svn-update-not-working/96781 "2006-07-01T23:28:47Z")

</div>

Hey guys, I try to update my typo svn, I type this: svn up but then it out puts this: svn: Working copy ‘tmp/cache’ is missing or not locked really don’t know what’s going on. Levi

---

## [Command Line Processing / Pipes](https://www.ruby-forum.com/t/command-line-processing-pipes/60910)

<div class="topic-metadata">

**Author:** [@stuart\_holden](https://www.ruby-forum.com/u/stuart_holden)\
**Replies:** 2\
**Last updated:** [May 18, 2006, 5:10pm UTC](https://www.ruby-forum.com/t/command-line-processing-pipes/60910 "2006-05-18T17:10:16Z")

</div>

Hi, I’m trying to create a script that that is flexible enough to accept input that is read from a file whose filename is passed as a command line argument, or from STDIN via a pipe. (This is on a WinXP platform rath…

---

## [In doubt with sqlite3-ruby](https://www.ruby-forum.com/t/in-doubt-with-sqlite3-ruby/73477)

<div class="topic-metadata">

**Author:** [@aurelianito](https://www.ruby-forum.com/u/aurelianito)\
**Replies:** 2\
**Last updated:** [February 26, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/in-doubt-with-sqlite3-ruby/73477 "2006-02-26T19:09:47Z")

</div>

Hi! I have a table with an AUTOINCREMENT primary key and I would like to know how to retrieve this primary key when a new row is inserted. Is it possible? Below, I written some sample ruby code for you to see my prob…

---

## [User Image Cropper for Stimulus](https://www.ruby-forum.com/t/user-image-cropper-for-stimulus/261595)

<div class="topic-metadata">

**Author:** [@brodyhoskins](https://www.ruby-forum.com/u/brodyhoskins)\
**Replies:** 0\
**Last updated:** [July 25, 2021, 11:36pm UTC](https://www.ruby-forum.com/t/user-image-cropper-for-stimulus/261595 "2021-07-25T23:36:36Z")

</div>

Does anyone know of a good Stimulus library for cropping assets client-side on Rails?

---

## [Problems with Ruby HTTP requests](https://www.ruby-forum.com/t/problems-with-ruby-http-requests/261287)

<div class="topic-metadata">

**Author:** [@DannyB](https://www.ruby-forum.com/u/DannyB)\
**Replies:** 0\
**Last updated:** [April 29, 2021, 8:31am UTC](https://www.ruby-forum.com/t/problems-with-ruby-http-requests/261287 "2021-04-29T08:31:41Z")

</div>

Hello fellow Rubyists, I am facing a weird problem that I am not sure is suitable for StackOverflow, so posting here hoping someone has a hint on what’s going on. Recently I am facing an issue where HTTP requests to a …

---

## [Require\_relative doesn't work for nested includes](https://www.ruby-forum.com/t/require-relative-doesnt-work-for-nested-includes/231576)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 16, 2014, 3:33pm UTC](https://www.ruby-forum.com/t/require-relative-doesnt-work-for-nested-includes/231576 "2014-08-16T15:33:52Z")

</div>

(Crossposting note: I’ve also posted this question at http://stackoverflow.com/questions/25487797/ruby-and-rspec-require-relative-doesnt-work-for-nested-includes) I am writing rspec tests. Some of the classes I’m testi…

---

## [Newbie Associations Design Question](https://www.ruby-forum.com/t/newbie-associations-design-question/228901)

<div class="topic-metadata">

**Author:** [@polly](https://www.ruby-forum.com/u/polly)\
**Replies:** 8\
**Last updated:** [May 12, 2013, 3:23pm UTC](https://www.ruby-forum.com/t/newbie-associations-design-question/228901 "2013-05-12T15:23:17Z")

</div>

Hello I am new to rails and have a design issue. Although I have a proposed solution I am far from sure how robust it is. I would appreciate any feedback. My application is team based: A user can only be in one tea…

---

## [Accessing child variables](https://www.ruby-forum.com/t/accessing-child-variables/219736)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [May 14, 2012, 7:57pm UTC](https://www.ruby-forum.com/t/accessing-child-variables/219736 "2012-05-14T19:57:40Z")

</div>

\#!/usr/bin/env ruby-1.9.2 class A attr\_accessor :valA end class B attr\_accessor :myarray def initialize @myarray = \[\] end def myarray @myarray = myarray end end #end Class class My\_top attr\_accessor :c obj…

---

## [Help with session](https://www.ruby-forum.com/t/help-with-session/219135)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 8\
**Last updated:** [April 21, 2012, 10:11pm UTC](https://www.ruby-forum.com/t/help-with-session/219135 "2012-04-21T22:11:45Z")

</div>

Hi all, I have a app with the /tests/new location which renders the add new form. This all works perfectly so when i fill the form in it goes straight into the db but i want the form to store the data in session\[:wh…

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

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