# Top

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

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

---

## [Using another Model](https://www.ruby-forum.com/t/using-another-model/124788)

<div class="topic-metadata">

**Author:** [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Replies:** 4\
**Last updated:** [January 2, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/using-another-model/124788 "2008-01-02T23:54:34Z")

</div>

Can I access any model from any controller or only the model corresponding to the controller? I’m aware that I can have class LibraryController \< AC:B book = Book.new end but could that be book = Book.find\_book\_b…

---

## [Migration problem](https://www.ruby-forum.com/t/migration-problem/122000)

<div class="topic-metadata">

**Author:** [@winslowly](https://www.ruby-forum.com/u/winslowly)\
**Replies:** 4\
**Last updated:** [December 3, 2007, 8:24pm UTC](https://www.ruby-forum.com/t/migration-problem/122000 "2007-12-03T20:24:16Z")

</div>

I use the following steps to create a model and migrate. However when it comes running ‘rake db:migrate’ it gave me the following errors. I suspect it is due to the fact that I was trying to put everything about blog…

---

## [Strange behavior in HABTM](https://www.ruby-forum.com/t/strange-behavior-in-habtm/120926)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [November 22, 2007, 9:35am UTC](https://www.ruby-forum.com/t/strange-behavior-in-habtm/120926 "2007-11-22T09:35:18Z")

</div>

Hello, i have here some Problems to add an Item to an has\_and\_belongs\_to\_many association. I have a class, that holds Bug entries it is connected to an Table that holds some tags. Now ive defined a method which adds a …

---

## [Keeping track of changes to Rails](https://www.ruby-forum.com/t/keeping-track-of-changes-to-rails/117731)

<div class="topic-metadata">

**Author:** [@bruz](https://www.ruby-forum.com/u/bruz)\
**Replies:** 4\
**Last updated:** [October 23, 2007, 12:17am UTC](https://www.ruby-forum.com/t/keeping-track-of-changes-to-rails/117731 "2007-10-23T00:17:18Z")

</div>

Hi all, I know that it’s supposed to be good practice as a Rails developer to keep track of changes in Edge Rails in case there are bug fixes or new pieces functionality that can help you out. I’m wondering how folks …

---

## [Chapter 9](https://www.ruby-forum.com/t/chapter-9/117156)

<div class="topic-metadata">

**Author:** [@arte\_fact](https://www.ruby-forum.com/u/arte_fact)\
**Replies:** 4\
**Last updated:** [October 19, 2007, 1:40am UTC](https://www.ruby-forum.com/t/chapter-9/117156 "2007-10-19T01:40:04Z")

</div>

Hello, I’m currently stunk on this issue for few days and I do not know how to get it fixed. The system always raises this error message : order is closed and here is my order.rb: class Order \< ActiveRecord::Base …

---

## [Detect Application Server](https://www.ruby-forum.com/t/detect-application-server/75833)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [November 13, 2006, 8:28pm UTC](https://www.ruby-forum.com/t/detect-application-server/75833 "2006-11-13T20:28:16Z")

</div>

I am working on a ruby app where the user fills out a form that gets sent via email. Sometimes I work on the app at my computer at home and other times at work. I need to setup the development environment so that th…

---

## [Parsing CSV file with ruby](https://www.ruby-forum.com/t/parsing-csv-file-with-ruby/66967)

<div class="topic-metadata">

**Author:** [@dfg59](https://www.ruby-forum.com/u/dfg59)\
**Replies:** 4\
**Last updated:** [August 30, 2006, 7:07pm UTC](https://www.ruby-forum.com/t/parsing-csv-file-with-ruby/66967 "2006-08-30T19:07:44Z")

</div>

I’m currently trying to do something that seems rather simple but I’m slightly new to ruby. I want to read in a cvs file, find rows that are distinct with respect to one of the elements in the row (for example, all ro…

---

## [Working around "single-pass" constraint](https://www.ruby-forum.com/t/working-around-single-pass-constraint/65809)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 4\
**Last updated:** [August 22, 2006, 4:20am UTC](https://www.ruby-forum.com/t/working-around-single-pass-constraint/65809 "2006-08-22T04:20:56Z")

</div>

I like to order my program code files as follows: Initial comment header require statements, etc. “main” code method definitions Unfortunately, Ruby has a “single pass” execution flow (a bit reminiscent of Pascal’s…

---

## [Newbie question: how to create variable](https://www.ruby-forum.com/t/newbie-question-how-to-create-variable/102417)

<div class="topic-metadata">

**Author:** [@kajism](https://www.ruby-forum.com/u/kajism)\
**Replies:** 4\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/newbie-question-how-to-create-variable/102417 "2006-08-15T14:18:43Z")

</div>

Hi, how to create variable in the method that accepts string as name of the variable and the object? Something like this: class InterpreterCallback def set\_object(name, value) #do something here end end $callbac…

---

## [What's happening here? A strange regexp problem wth posix :a](https://www.ruby-forum.com/t/whats-happening-here-a-strange-regexp-problem-wth-posix-a/101454)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 4\
**Last updated:** [August 4, 2006, 11:49pm UTC](https://www.ruby-forum.com/t/whats-happening-here-a-strange-regexp-problem-wth-posix-a/101454 "2006-08-04T23:49:37Z")

</div>

I just ran across this, and can’t figure out what’s happening. the show\_regexp method is as shown on p73 of the Pickaxe 2nd ed. irb(main):013:0\> show\_regexp(“comparison is”, /\[:alpha:\]\[^.?!\\s’"\]/) =\> “com\<\> is” irb(…

---

## [Using a controller to initiate a plugin?](https://www.ruby-forum.com/t/using-a-controller-to-initiate-a-plugin/99337)

<div class="topic-metadata">

**Author:** [@brad](https://www.ruby-forum.com/u/brad)\
**Replies:** 4\
**Last updated:** [July 24, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/using-a-controller-to-initiate-a-plugin/99337 "2006-07-24T18:06:47Z")

</div>

Folks I am new so I apologize if I come off as a totaly tool. I am finding Rails to be an amazing framework to use and having fun with it. I have run into a frustrating snag however with PLUGINS. I have a plugin insta…

---

## [Calling a method each time an ActiveRecord Object is accessd](https://www.ruby-forum.com/t/calling-a-method-each-time-an-activerecord-object-is-accessd/97488)

<div class="topic-metadata">

**Author:** [@winsmith](https://www.ruby-forum.com/u/winsmith)\
**Replies:** 4\
**Last updated:** [July 13, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/calling-a-method-each-time-an-activerecord-object-is-accessd/97488 "2006-07-13T18:15:08Z")

</div>

Hi, I know that it is possible to execute code each time data is saved into a model by using the +validate+ method. However, is there also a way to execute code each time the data is accessed, not just when it is cha…

---

## [Using Integers to Store Bits of Information](https://www.ruby-forum.com/t/using-integers-to-store-bits-of-information/97396)

<div class="topic-metadata">

**Author:** [@P.V.Anthony](https://www.ruby-forum.com/u/P.V.Anthony)\
**Replies:** 4\
**Last updated:** [July 7, 2006, 8:45pm UTC](https://www.ruby-forum.com/t/using-integers-to-store-bits-of-information/97396 "2006-07-07T20:45:20Z")

</div>

Hi, I am a very new to ruby on rails so please forgive me if someone has asked this before. I need to make a form with many checkboxes. Sometime ago I was using Coldfusion and I chanced upon this great article on how…

---

## [Ruby float calculations](https://www.ruby-forum.com/t/ruby-float-calculations/79084)

<div class="topic-metadata">

**Author:** [@analoguedragon](https://www.ruby-forum.com/u/analoguedragon)\
**Replies:** 4\
**Last updated:** [March 9, 2006, 6:41pm UTC](https://www.ruby-forum.com/t/ruby-float-calculations/79084 "2006-03-09T18:41:46Z")

</div>

Could someone please explain to me why the following happens: irb(main):001:0\> 0.29 - 0.38 + 0.1 =\> 0.00999999999999998 irb(main):002:0\> 0.29 + (-0.38 + 0.1) =\> 0.00999999999999995 irb(main):003:0\> 0.29 + 0.1 - 0.38 …

---

## [Suggestion to the Pragmatic Programmers](https://www.ruby-forum.com/t/suggestion-to-the-pragmatic-programmers/49755)

<div class="topic-metadata">

**Author:** [@xrfang](https://www.ruby-forum.com/u/xrfang)\
**Replies:** 4\
**Last updated:** [December 8, 2005, 4:46pm UTC](https://www.ruby-forum.com/t/suggestion-to-the-pragmatic-programmers/49755 "2005-12-08T16:46:14Z")

</div>

Hi Andy and Dave, I recently purchased the PickAxe 2 PDF edition. I intended to use it to replace the bundled help… Although the book is very well written, even better than the first edition, I still feel regreted t…

---

## [How can i send locale specific email to a set of users together , including cc mailwith actionmailer](https://www.ruby-forum.com/t/how-can-i-send-locale-specific-email-to-a-set-of-users-together-including-cc-mailwith-actionmailer/243109)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 22, 2015, 8:27am UTC](https://www.ruby-forum.com/t/how-can-i-send-locale-specific-email-to-a-set-of-users-together-including-cc-mailwith-actionmailer/243109 "2015-08-22T08:27:39Z")

</div>

How can i send locale specific email to a set of users together , including cc mail to the current user. Now, i have the below code: mail(to: participants, cc: @current\_user.email, subject: default\_i18n\_subject(speec…

---

## [Re: gr-perf-monitorx Error](https://www.ruby-forum.com/t/re-gr-perf-monitorx-error/242914)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 7, 2015, 6:49am UTC](https://www.ruby-forum.com/t/re-gr-perf-monitorx-error/242914 "2015-08-07T06:49:17Z")

</div>

On Thu, Aug 6, 2015 at 6:36 PM, Tom R. removed\_email\_address@domain.invalid wrote:

---

## [\[ruby-trunk - Feature #10381\] Pathname#mkdir\_p, Pathname#makedirs が欲しい](https://www.ruby-forum.com/t/ruby-trunk-feature-10381-pathname-mkdir-p-pathname-makedirs/232532)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 15, 2014, 6:28am UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-10381-pathname-mkdir-p-pathname-makedirs/232532 "2014-10-15T06:28:37Z")

</div>

Issue #10381 has been updated by 三村 益隆. mkdir\_p はコマンド名っぽくておすすめしたくないな、と思っています。 FIleUtils では mkdir\_p のほうがコマンドの挙動がすぐ連想できるの使っています。 FileUtils からの連想で Pathname に無いというのを気づいたため、Pathname#mkdir\_p があると嬉しいと感じています。 FileUtils#mk…

---

## [\[Closed\] BigMath::log is very slow](https://www.ruby-forum.com/t/closed-bigmath-log-is-very-slow/237560)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 19, 2013, 1:44pm UTC](https://www.ruby-forum.com/t/closed-bigmath-log-is-very-slow/237560 "2013-11-19T13:44:30Z")

</div>

Issue #3280 has been updated by shyouhei (Shyouhei U.). Description updated Status changed from Assigned to Closed こちらのtarget versionは終了しました。この場を借りて皆様の暖かいご支援に感謝いたします。 Backport #3280: BigMath::log is very slow Autho…

---

## [Gerrit and Jenkins?](https://www.ruby-forum.com/t/gerrit-and-jenkins/226474)

<div class="topic-metadata">

**Author:** [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Replies:** 3\
**Last updated:** [December 10, 2012, 6:39pm UTC](https://www.ruby-forum.com/t/gerrit-and-jenkins/226474 "2012-12-10T18:39:34Z")

</div>

I’m wondering whether the GR “powers that be” are thinking that GR has gotten big enough to move to using “Gerrit Git Review with Jenkins CI Server”? I’m now part of a project that’s using it, and I also maintain (in…

---

## [Process.spawn: behaviour at variance with documentation?](https://www.ruby-forum.com/t/process-spawn-behaviour-at-variance-with-documentation/223508)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [October 7, 2012, 10:29pm UTC](https://www.ruby-forum.com/t/process-spawn-behaviour-at-variance-with-documentation/223508 "2012-10-07T22:29:19Z")

</div>

Hello all. I’m puzzled by the behaviour of Process.spawn. Allow me to illustrate, with the following short program: puts ‘Executing first command…’ Process.spawn ‘sh -c :’ sleep 2 # give it time to finish puts…

---

## [Multiple regex match in the same line](https://www.ruby-forum.com/t/multiple-regex-match-in-the-same-line/219197)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 23, 2012, 6:59pm UTC](https://www.ruby-forum.com/t/multiple-regex-match-in-the-same-line/219197 "2012-04-23T18:59:50Z")

</div>

Hi, Could somebody please show me a way to find, and display multiple regex matches in the same line? Like this: test\_string = “I shot the Sherrif but I didn’t shot the Deputy.” The word I would like to find is the …

---

## [Return\_bang 1.1 Released](https://www.ruby-forum.com/t/return-bang-1-1-released/218469)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 2, 2012, 9:34pm UTC](https://www.ruby-forum.com/t/return-bang-1-1-released/218469 "2012-04-02T21:34:43Z")

</div>

home :: GitHub - drbrain/return\_bang: return\_bang implements non-local exits from methods rdoc :: return\_bang-1.1 Documentation bugs :: Issues · drbrain/return\_bang · GitHub return\_bang implements non-local exits for …

---

## [jRuby 1.6.7 win32ole load error with multiple jruby calls](https://www.ruby-forum.com/t/jruby-1-6-7-win32ole-load-error-with-multiple-jruby-calls/217682)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [March 8, 2012, 3:26pm UTC](https://www.ruby-forum.com/t/jruby-1-6-7-win32ole-load-error-with-multiple-jruby-calls/217682 "2012-03-08T15:26:31Z")

</div>

When calling jruby from jruby via system, I get the following error: LoadError: load error: win32ole/win32ole – java.lang.NoClassDefFoundError: Could not initialize class org.racob.com.IUnknown require at org/jruby/R…

---

## [What's calling update action?](https://www.ruby-forum.com/t/whats-calling-update-action/217026)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 20, 2012, 11:44am UTC](https://www.ruby-forum.com/t/whats-calling-update-action/217026 "2012-02-20T11:44:04Z")

</div>

Rails 3.1.3 Hi. I have defined a new action, create\_or\_update, namely, it creates if doesn’t exist, update if exists. def create\_or\_update @script = Script.find\_or\_create\_by\_startp\_and\_video\_id(params\[:startp\], pa…

---

## [Asset Pipeline Problem](https://www.ruby-forum.com/t/asset-pipeline-problem/215206)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [December 26, 2011, 7:40pm UTC](https://www.ruby-forum.com/t/asset-pipeline-problem/215206 "2011-12-26T19:40:38Z")

</div>

I am developing a new application with Ruby 1.9.2 and Rails 3.1. When I deploy the application in development mode, I find all my assets (images, CSS files, and JS files) listed individually in the HTML: \<link href="/…

---

## [Looking for math](https://www.ruby-forum.com/t/looking-for-math/202806)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 6, 2011, 8:51pm UTC](https://www.ruby-forum.com/t/looking-for-math/202806 "2011-02-06T20:51:14Z")

</div>

I’m looking for code that will do some operation on a file and give me a number that is unique to that file. if I happen to come across same file somewhere else and the contents are the same, the same number should b…

---

## [Tabla por cada usuario](https://www.ruby-forum.com/t/tabla-por-cada-usuario/202194)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 11:44am UTC](https://www.ruby-forum.com/t/tabla-por-cada-usuario/202194 "2011-01-24T11:44:49Z")

</div>

Buenos dias. Soy nuevo en el foro y estoy aprendiendo RoR. El caso es que quiero hacer una pagina web en la cada vez que un usuario se registre, automaticamente se cree una tabla en la BD que lleve por nombre el del u…

---

## [Select\_tag without selected="selected" clause](https://www.ruby-forum.com/t/select-tag-without-selected-selected-clause/200795)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 3\
**Last updated:** [December 22, 2010, 6:26pm UTC](https://www.ruby-forum.com/t/select-tag-without-selected-selected-clause/200795 "2010-12-22T18:26:11Z")

</div>

Hi, in my controller, for an edit action, I’m getting the whole list of values from a table with types: @cm\_board\_types = CmBoardType.find(:all, :conditions =\> \[‘project\_id=?’, @project.id\]) My problem is that when …

---

## [Rails 3 Development Servers - Is mongrel on its way out?](https://www.ruby-forum.com/t/rails-3-development-servers-is-mongrel-on-its-way-out/197674)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 19, 2010, 8:36am UTC](https://www.ruby-forum.com/t/rails-3-development-servers-is-mongrel-on-its-way-out/197674 "2010-10-19T08:36:22Z")

</div>

Hi folks, Because life happened I had to put down rails/web development for a while. I am starting a new project on rails 3 and noticed that mongrel isn’t even included in the Gemfile which is required in order to g…

---

## [File creation in jquery + Rails](https://www.ruby-forum.com/t/file-creation-in-jquery-rails/192435)

<div class="topic-metadata">

**Author:** [@silver-spoon](https://www.ruby-forum.com/u/silver-spoon)\
**Replies:** 3\
**Last updated:** [July 30, 2010, 1:45pm UTC](https://www.ruby-forum.com/t/file-creation-in-jquery-rails/192435 "2010-07-30T13:45:49Z")

</div>

I am new to Rails. In my web application, the user can type the contents of a file in a textarea or a content Editable iFrame and when he saves the file, the contents should be written to the file with the file extens…

---

## [Aasm manage states](https://www.ruby-forum.com/t/aasm-manage-states/191668)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 3\
**Last updated:** [July 22, 2010, 8:36pm UTC](https://www.ruby-forum.com/t/aasm-manage-states/191668 "2010-07-22T20:36:12Z")

</div>

Is there a way to manage the states in AASM by keeping them in a table to normalize the data?

---

## [Triggernig the debugger](https://www.ruby-forum.com/t/triggernig-the-debugger/191656)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 3\
**Last updated:** [July 15, 2010, 10:29pm UTC](https://www.ruby-forum.com/t/triggernig-the-debugger/191656 "2010-07-15T22:29:22Z")

</div>

In Rails I can use the debugger statement to trigger the debugger. How can I do that in rdebug? Is there a way other than setting breakpoints manually when the program starts?

---

## [Chat app, Caching? Observe?](https://www.ruby-forum.com/t/chat-app-caching-observe/189425)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 3\
**Last updated:** [June 1, 2010, 1:35pm UTC](https://www.ruby-forum.com/t/chat-app-caching-observe/189425 "2010-06-01T13:35:23Z")

</div>

Hi, I am developping a little chat application with rails. On my chat page I make ajax request every 10 seconds to check if there are news messages. I think if I keep this thing with a lot of user my performance will …

---

## [Rails Authorization plugins](https://www.ruby-forum.com/t/rails-authorization-plugins/187935)

<div class="topic-metadata">

**Author:** [@jmamma](https://www.ruby-forum.com/u/jmamma)\
**Replies:** 3\
**Last updated:** [May 4, 2010, 8:51pm UTC](https://www.ruby-forum.com/t/rails-authorization-plugins/187935 "2010-05-04T20:51:27Z")

</div>

We are evaluating authorization plugins for rails and I wanted to address the group for some feedback. The two we are looking at are: cancan by Ryan B. and declarative\_authorization. If anyone has used either of the…

---

## [Globalize2 and Versioning](https://www.ruby-forum.com/t/globalize2-and-versioning/185067)

<div class="topic-metadata">

**Author:** [@dbkbali](https://www.ruby-forum.com/u/dbkbali)\
**Replies:** 0\
**Last updated:** [March 12, 2010, 9:03pm UTC](https://www.ruby-forum.com/t/globalize2-and-versioning/185067 "2010-03-12T21:03:04Z")

</div>

I have spent quiet a bit of time getting Globalize2 successfully working in our application. I am now trying to implement a versioning system for some of the activerecord models that have translations and was wonderin…

---

## [\[ANN\] Ripple 0.5 (Initial Release)](https://www.ruby-forum.com/t/ann-ripple-0-5-initial-release/183303)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 3\
**Last updated:** [February 11, 2010, 3:29pm UTC](https://www.ruby-forum.com/t/ann-ripple-0-5-initial-release/183303 "2010-02-11T15:29:53Z")

</div>

This is a quick message to announce the first release of Ripple, a rich Ruby client for Riak. (say that 10 times fast!) Full release commentary is available on my blog at http://seancribbs.com/tech/2010/02/10/introdu…

---

## [Creating rails 2.3.5 sites after rails 3 install](https://www.ruby-forum.com/t/creating-rails-2-3-5-sites-after-rails-3-install/181761)

<div class="topic-metadata">

**Author:** [@ignu](https://www.ruby-forum.com/u/ignu)\
**Replies:** 3\
**Last updated:** [January 19, 2010, 6:55am UTC](https://www.ruby-forum.com/t/creating-rails-2-3-5-sites-after-rails-3-install/181761 "2010-01-19T06:55:01Z")

</div>

So I installed rails 3 but want to still work with 2.3.5. I removed the rails3pre gem but it’s still the current version of rails. And if I try to do rails 2.3.5 MyNewSite I get RubyGem version error: railties(3.0.…

---

## [Glibc detected error!](https://www.ruby-forum.com/t/glibc-detected-error/180772)

<div class="topic-metadata">

**Author:** [@sams](https://www.ruby-forum.com/u/sams)\
**Replies:** 3\
**Last updated:** [December 28, 2009, 10:30pm UTC](https://www.ruby-forum.com/t/glibc-detected-error/180772 "2009-12-28T22:30:04Z")

</div>

running ruby 1.9.1p376 which i compiled on my centos 5.4 box. All was well and then all of a sudden I get an error saying: \*\*\* glibc detected \*\*\* ruby: realloc(): invalid pointer: 0x088a5dd4 \*\*\* Not sure what it means…

---

## [\[ask\]How to remove HTML part of a text](https://www.ruby-forum.com/t/ask-how-to-remove-html-part-of-a-text/180644)

<div class="topic-metadata">

**Author:** [@inittial\_d](https://www.ruby-forum.com/u/inittial_d)\
**Replies:** 3\
**Last updated:** [December 26, 2009, 4:25am UTC](https://www.ruby-forum.com/t/ask-how-to-remove-html-part-of-a-text/180644 "2009-12-26T04:25:56Z")

</div>

i’m using Hpricot to parsing html and my output is: GrÃ¶ÃŸe: 37 - 54 Maßtabelle does anyone knows how to get the string “GrÃ¶ÃŸe: 37 - 54” and remove the rest of that string ? thanks

---

## [Synchronizing two USRP2](https://www.ruby-forum.com/t/synchronizing-two-usrp2/180180)

<div class="topic-metadata">

**Author:** [@laserzt](https://www.ruby-forum.com/u/laserzt)\
**Replies:** 3\
**Last updated:** [December 16, 2009, 2:31pm UTC](https://www.ruby-forum.com/t/synchronizing-two-usrp2/180180 "2009-12-16T14:31:06Z")

</div>

I understand that this can be done, by an external clock (GPS diciplined OCXO), with the 10Mhz and 1PPS inputs. is there any way I can tell the two usrp2’s to start together, instead of using the timestamps to synch…

---

## [Plugin not instaling?](https://www.ruby-forum.com/t/plugin-not-instaling/178331)

<div class="topic-metadata">

**Author:** [@benol](https://www.ruby-forum.com/u/benol)\
**Replies:** 3\
**Last updated:** [November 3, 2009, 12:47am UTC](https://www.ruby-forum.com/t/plugin-not-instaling/178331 "2009-11-03T00:47:24Z")

</div>

Hi. I try to install a plugin, but with no success, nothing is printed, the plugin is not installed. Input and output on my console: wojtek@wojtek-laptop-hp:~/workspace\_galileo/miejscowki$ script/plugin install git:/…

---

## [Word Wrapping at n characters](https://www.ruby-forum.com/t/word-wrapping-at-n-characters/175392)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 3\
**Last updated:** [September 12, 2009, 8:47pm UTC](https://www.ruby-forum.com/t/word-wrapping-at-n-characters/175392 "2009-09-12T20:47:05Z")

</div>

Right now I basically use this code for word wrapping: def word\_wrap(line\_width = 80) self.gsub(/(.{1,#{line\_width}})(\\s+|$)/, “\\1\\n”) end Is anyone using a better solution? This method should be robust enough to do…

---

## [Problem with Mephisto blog and Passenger](https://www.ruby-forum.com/t/problem-with-mephisto-blog-and-passenger/173650)

<div class="topic-metadata">

**Author:** [@M\_Graff](https://www.ruby-forum.com/u/M_Graff)\
**Replies:** 3\
**Last updated:** [August 13, 2009, 12:13am UTC](https://www.ruby-forum.com/t/problem-with-mephisto-blog-and-passenger/173650 "2009-08-13T00:13:00Z")

</div>

I seem to be getting a SystemStackError exception when running Mephisto under Passenger. The trace I get has 149 lines of backtrace, which seems large, but when looking at it I don’t see any loops nor other issues. …

---

## [RJS render errors when user clicks away before render completes](https://www.ruby-forum.com/t/rjs-render-errors-when-user-clicks-away-before-render-completes/171963)

<div class="topic-metadata">

**Author:** [@rockrep](https://www.ruby-forum.com/u/rockrep)\
**Replies:** 3\
**Last updated:** [July 28, 2009, 5:27am UTC](https://www.ruby-forum.com/t/rjs-render-errors-when-user-clicks-away-before-render-completes/171963 "2009-07-28T05:27:30Z")

</div>

We have an issue where we are using RJS templates to render the results of Ajax calls. Everything works fine so long as the user waits for the render to occur. However, if the user initiates the request and the RJ…

---

## [Multiple collection selects of same data types in view?](https://www.ruby-forum.com/t/multiple-collection-selects-of-same-data-types-in-view/172715)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 3\
**Last updated:** [July 26, 2009, 7:30pm UTC](https://www.ruby-forum.com/t/multiple-collection-selects-of-same-data-types-in-view/172715 "2009-07-26T19:30:51Z")

</div>

Summary of what I’d like to accomplish: I’m performing a side-by-side comparison of two table objects and their data housed in multiple tables. The model associations are as sumarized: Team (has\_many (of all other d…

---

## [Text\_field\_with\_auto\_complete](https://www.ruby-forum.com/t/text-field-with-auto-complete/171888)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [July 11, 2009, 12:14am UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete/171888 "2009-07-11T00:14:20Z")

</div>

I need to pass a parameter in my text\_field\_with\_auto\_complete and am struggling to discover how to do this. I have something like this: \<%= text\_field\_with\_auto\_complete ‘user’, ‘username’, {}, {:with =\> “‘post=’@com…

---

## [Gtk html viewer for Windows and Linux](https://www.ruby-forum.com/t/gtk-html-viewer-for-windows-and-linux/170213)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 0\
**Last updated:** [June 14, 2009, 5:03am UTC](https://www.ruby-forum.com/t/gtk-html-viewer-for-windows-and-linux/170213 "2009-06-14T05:03:17Z")

</div>

Hi, I used gtkhtml2 on Linux which worked great but when porting to windows, I couldn’t get anything to work. ruby-gnome for windows doesn’t include gtkhtml2. I’ve tried compiling various packages with mingw and cygw…

---

## [BigDecimal#to\_i](https://www.ruby-forum.com/t/bigdecimal-to-i/170035)

<div class="topic-metadata">

**Author:** [@Tadayoshi\_F](https://www.ruby-forum.com/u/Tadayoshi_F)\
**Replies:** 3\
**Last updated:** [June 11, 2009, 6:26pm UTC](https://www.ruby-forum.com/t/bigdecimal-to-i/170035 "2009-06-11T18:26:38Z")

</div>

BigDecimal e$B$N=$@5$N7o$G\>/$7;n$7$F$$$?$N$G$9$,!“e(Bto\_i e$B$C$F$+$J$jCY$/$J$ke(B e$B$3$H$,$”$k$h$&$G$9$M!#e(B BigDecimal#split e$B$,$"$i$o$9M-M}?t$+$i@0?t$r5a$a$i$l$k$N$G!"e(Bto\_i e$B$,0UL#$9$k$N$O35$M0J2\<$N$h$&$J$…

---

## [!= not working in search query (thinking sphinx)](https://www.ruby-forum.com/t/not-working-in-search-query-thinking-sphinx/168701)

<div class="topic-metadata">

**Author:** [@staypufd](https://www.ruby-forum.com/u/staypufd)\
**Replies:** 3\
**Last updated:** [May 24, 2009, 8:06pm UTC](https://www.ruby-forum.com/t/not-working-in-search-query-thinking-sphinx/168701 "2009-05-24T20:06:34Z")

</div>

I have a int field in my database and would like to check if it’s not 0. Apparently the != in the condition is not working. I’m I doing something wrong? I tried different ways with no luck. Can anyone help? these are …

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

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