# Top

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

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

---

## [RSpec stub question](https://www.ruby-forum.com/t/rspec-stub-question/207087)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 18, 2011, 6:12am UTC](https://www.ruby-forum.com/t/rspec-stub-question/207087 "2011-05-18T06:12:59Z")

</div>

Hi I am using Mongoid. In Mongoid while saving a record we typically give like in the controller @post.safely.save For a model class Post I am writing rspecs for my controller and want to mock the model. So what I …

---

## [Custom matcher and yielding too block](https://www.ruby-forum.com/t/custom-matcher-and-yielding-too-block/204710)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 19, 2011, 2:02pm UTC](https://www.ruby-forum.com/t/custom-matcher-and-yielding-too-block/204710 "2011-03-19T14:02:57Z")

</div>

Using the ‘new’ way of defining custom matchers explained here: I’m having trouble figuring out how to write a custom matcher that yields an object to a block where more matchers can be called on it. For instance, I’…

---

## [How to use matlab codes in GRC using File source?](https://www.ruby-forum.com/t/how-to-use-matlab-codes-in-grc-using-file-source/188394)

<div class="topic-metadata">

**Author:** [@JAS\_DEO](https://www.ruby-forum.com/u/JAS_DEO)\
**Replies:** 1\
**Last updated:** [May 11, 2010, 1:44pm UTC](https://www.ruby-forum.com/t/how-to-use-matlab-codes-in-grc-using-file-source/188394 "2010-05-11T13:44:14Z")

</div>

Hi, How can we use matlab lab codes in GRC.Is there any tutorial on that? Regards Jaspreet View this message in context: http://old.nabble.com/How-to-use-matlab-codes-in-GRC-using-File-source--tp28520679p28520679.ht…

---

## [Belongs\_to + create\_\* = rails vs. console behavior difference = confused Pepe](https://www.ruby-forum.com/t/belongs-to-create-rails-vs-console-behavior-difference-confused-pepe/175439)

<div class="topic-metadata">

**Author:** [@pepe](https://www.ruby-forum.com/u/pepe)\
**Replies:** 1\
**Last updated:** [September 14, 2009, 3:21am UTC](https://www.ruby-forum.com/t/belongs-to-create-rails-vs-console-behavior-difference-confused-pepe/175439 "2009-09-14T03:21:21Z")

</div>

Hi, I have been battling something for a good hour and a half and finally realized how to ‘solve’ the issue but I am very confused as of why I should do what I just did. I have 2 classes: class User has\_many :audit…

---

## [Link\_to ...onclick + ondoubleclick](https://www.ruby-forum.com/t/link-to-onclick-ondoubleclick/172605)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 1\
**Last updated:** [July 24, 2009, 8:16pm UTC](https://www.ruby-forum.com/t/link-to-onclick-ondoubleclick/172605 "2009-07-24T20:16:02Z")

</div>

I wrote a test link : \<%= link\_to(“test dbl click”, root\_url, :ondblclick =\> “alert(‘Double Clicked’);”) %\> the double click event is captured (alert displayed) but at the same time the home page is also displayed , …

---

## [CCSDS 27 Encode/Decode](https://www.ruby-forum.com/t/ccsds-27-encode-decode/160196)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 1\
**Last updated:** [February 12, 2009, 9:13pm UTC](https://www.ruby-forum.com/t/ccsds-27-encode-decode/160196 "2009-02-12T21:13:03Z")

</div>

I’m looking at building a quick prototype narrowband QAM16 transceiver with error-correction. I’m looking at the CCSDS 27 blocks, and the encode looks to me like it takes bytes in, and bytes out. But the decoder is …

---

## [Using SnS - why use SnS file\_system extension](https://www.ruby-forum.com/t/using-sns-why-use-sns-file-system-extension/157037)

<div class="topic-metadata">

**Author:** [@nateless](https://www.ruby-forum.com/u/nateless)\
**Replies:** 1\
**Last updated:** [January 6, 2009, 11:58pm UTC](https://www.ruby-forum.com/t/using-sns-why-use-sns-file-system-extension/157037 "2009-01-06T23:58:26Z")

</div>

I am using SnS to manage my css and js files and was wondering about the benefits of using the \*radiant-sns\_file\_system-extensionhttp://github.com/nelstrom/radiant-sns\_file\_system-extension/tree. \*If using the extensi…

---

## [Indexed?](https://www.ruby-forum.com/t/indexed/151101)

<div class="topic-metadata">

**Author:** [@tomtoday](https://www.ruby-forum.com/u/tomtoday)\
**Replies:** 1\
**Last updated:** [October 28, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/indexed/151101 "2008-10-28T20:38:16Z")

</div>

Hi, I have problem with indexing simple structire. Indexing single element works, but dong it in a little bit more complex code fails. require ‘ferret’ include Ferret # 0.11.5 on win32 require ‘engtagger’ # http://…

---

## [Why does running a Test::unit test in irb work so weirdly?](https://www.ruby-forum.com/t/why-does-running-a-test-unit-test-in-irb-work-so-weirdly/129326)

<div class="topic-metadata">

**Author:** [@mith](https://www.ruby-forum.com/u/mith)\
**Replies:** 1\
**Last updated:** [February 16, 2008, 11:47pm UTC](https://www.ruby-forum.com/t/why-does-running-a-test-unit-test-in-irb-work-so-weirdly/129326 "2008-02-16T23:47:20Z")

</div>

Why can’t I run a Test::Unit::TestCase from IRB and have it run before I quit? I have found this problem mentioned by others. For an example, see this tutorial about testing: http://www.nullislove.com/2007/11/14/tes…

---

## [Help With JavaScript](https://www.ruby-forum.com/t/help-with-javascript/105286)

<div class="topic-metadata">

**Author:** [@olicat](https://www.ruby-forum.com/u/olicat)\
**Replies:** 1\
**Last updated:** [May 28, 2007, 1:33pm UTC](https://www.ruby-forum.com/t/help-with-javascript/105286 "2007-05-28T13:33:08Z")

</div>

Hi - Thanks for the useful information about how to add JavaScript to a page. I know it’s not quite on the topic of RoR, but I need a little bit of help with my JavaScript. My HTML is as follows: Welcome B…

---

## [Undefined method \`category\_id'](https://www.ruby-forum.com/t/undefined-method-category-id/94334)

<div class="topic-metadata">

**Author:** [@LurlayS\_Patrick](https://www.ruby-forum.com/u/LurlayS_Patrick)\
**Replies:** 1\
**Last updated:** [April 29, 2006, 9:07am UTC](https://www.ruby-forum.com/t/undefined-method-category-id/94334 "2006-04-29T09:07:01Z")

</div>

3: 4: Category: 5: 6: \<%= options\_from\_collection\_for\_select @categories, “id”, “category”, @product.category\_id %\> 7: 8: 9:

---

## [First impressions of RForum](https://www.ruby-forum.com/t/first-impressions-of-rforum/54652)

<div class="topic-metadata">

**Author:** [@pmak](https://www.ruby-forum.com/u/pmak)\
**Replies:** 1\
**Last updated:** [March 13, 2006, 5:00pm UTC](https://www.ruby-forum.com/t/first-impressions-of-rforum/54652 "2006-03-13T17:00:42Z")

</div>

I’ve been a long time mwForum user, a forum written in Perl that follows simplicity principles (unlike more mainstream forums such as vB, phpBB, SMF, ikon, IPB). Here’s my first impressions of RForum: The list of for…

---

## [Re: Source Block - Flow Control](https://www.ruby-forum.com/t/re-source-block-flow-control/232591)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 17, 2014, 9:08pm UTC](https://www.ruby-forum.com/t/re-source-block-flow-control/232591 "2014-10-17T21:08:34Z")

</div>

\-------- Original message -------- From: Matt E. Date:2014/10/16 22:42 (GMT+00:00) To: John M. Cc: David Halls ,GNURadio Subject: Re: \[Discuss-gnuradio\] Source Block - Flow Control On Thu, Oct 16, 2014 at 8:40 AM, …

---

## [Is Enumerable#feed only available in MRI?](https://www.ruby-forum.com/t/is-enumerable-feed-only-available-in-mri/239971)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [March 22, 2014, 8:02am UTC](https://www.ruby-forum.com/t/is-enumerable-feed-only-available-in-mri/239971 "2014-03-22T08:02:14Z")

</div>

Hello ruby friends, I have a test failure that is affecting both Rubinius and JRuby, but is good in MRI. In JRuby 1.7.9: NoMethodError: undefined method \`feed’ for #Enumerator:0x1f72ccbd In Rubinius 2.2.6: NoMetho…

---

## [Accessing binding nginx via Lua](https://www.ruby-forum.com/t/accessing-binding-nginx-via-lua/246423)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 15, 2013, 4:38pm UTC](https://www.ruby-forum.com/t/accessing-binding-nginx-via-lua/246423 "2013-10-15T16:38:28Z")

</div>

Would it be possible (and how) to access the bindings inside nginx via Lua? for an experiment I’d like to change the listening port of a running nginx process. Posted at Nginx Forum:

---

## [How to create custom yaml](https://www.ruby-forum.com/t/how-to-create-custom-yaml/226796)

<div class="topic-metadata">

**Author:** [@deltaforce](https://www.ruby-forum.com/u/deltaforce)\
**Replies:** 3\
**Last updated:** [February 25, 2013, 11:00am UTC](https://www.ruby-forum.com/t/how-to-create-custom-yaml/226796 "2013-02-25T11:00:45Z")

</div>

I need to create a method that should return yaml in the following format name: device-1 parameters: app\_folder: deploy\_project app\_id: “1” tar\_file: deploy\_project.tar.gz profile\_id: “3” version\_id: “2” class…

---

## [\[ruby-trunk - Bug #6577\]\[Open\] GC中にstack overflowが発生するとSEGVする](https://www.ruby-forum.com/t/ruby-trunk-bug-6577-open-gc-stack-overflow-segv/220494)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 2, 2012, 8:27am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-6577-open-gc-stack-overflow-segv/220494 "2012-11-02T08:27:18Z")

</div>

Issue #6577 has been reported by naruse (Yui NARUSE). Bug #6577: GC中にstack overflowが発生するとSEGVする Author: naruse (Yui NARUSE) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0d…

---

## [RoR performance](https://www.ruby-forum.com/t/ror-performance/223463)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 17, 2012, 7:22am UTC](https://www.ruby-forum.com/t/ror-performance/223463 "2012-10-17T07:22:12Z")

</div>

A few years ago, I heard a lot of good things about Ruby on Rails, but I haven’t got opportunity or time to learn about RoR. I am starting a side project, therefore I am looking at using RoR. I came across a few ar…

---

## [Dynamically generating selector, hyphen problem](https://www.ruby-forum.com/t/dynamically-generating-selector-hyphen-problem/217978)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 17, 2012, 11:03pm UTC](https://www.ruby-forum.com/t/dynamically-generating-selector-hyphen-problem/217978 "2012-03-17T23:03:02Z")

</div>

Rails 3.1.3 I would like to generate something like this. × Successful! I tried, content\_tag :div, msg, :class =\> “alert alert-success” do content\_tag :a, “x”, :class =\> “close”, :data-dismiss =\> “alert” end B…

---

## [Trellis encoder and OFDM modulator](https://www.ruby-forum.com/t/trellis-encoder-and-ofdm-modulator/184666)

<div class="topic-metadata">

**Author:** [@Veljko\_P](https://www.ruby-forum.com/u/Veljko_P)\
**Replies:** 3\
**Last updated:** [February 2, 2012, 9:35am UTC](https://www.ruby-forum.com/t/trellis-encoder-and-ofdm-modulator/184666 "2012-02-02T09:35:41Z")

</div>

Hi, I tried to use trellis\_encoder from trellis package to perform convolution coding before sending the message to the OFDM modulator. However, ofdm\_mod has zero input signature, and relies on send\_pkt() which calls…

---

## [Problems in benchmark\_xx.py (free(), Segmentation fault, overrun, CRC check, FLL)](https://www.ruby-forum.com/t/problems-in-benchmark-xx-py-free-segmentation-fault-overrun-crc-check-fll/214233)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [November 27, 2011, 10:23am UTC](https://www.ruby-forum.com/t/problems-in-benchmark-xx-py-free-segmentation-fault-overrun-crc-check-fll/214233 "2011-11-27T10:23:38Z")

</div>

I have a number of problems in testing benchmark program under a gr-digital directory from GR 3.5.0rc0 Problem about free() side or segmentation fault on tx Whatever I select modulation schemes(-m) or bit rate(-r), …

---

## [Dynamic content in text\_field](https://www.ruby-forum.com/t/dynamic-content-in-text-field/210372)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 8, 2011, 2:26pm UTC](https://www.ruby-forum.com/t/dynamic-content-in-text-field/210372 "2011-08-08T14:26:08Z")

</div>

Hi people I have a problem. Maybe this is something easy, but I can’t figured out with my knowledge. To explain my problem, let’s supposse I have a model call User, the DB table for users Users -id -username -age …

---

## [Warbler + Bundler question](https://www.ruby-forum.com/t/warbler-bundler-question/202739)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 4, 2011, 11:51pm UTC](https://www.ruby-forum.com/t/warbler-bundler-question/202739 "2011-02-04T23:51:14Z")

</div>

I’m using warbler with rails 3.03 and bundler. It’s working fine so far, but I ran into something last night that has me confused. Warble does not seem to package all the dependencies of the gems listed in Gemfile. …

---

## [Tomcat CPU spikes in Jruby web app](https://www.ruby-forum.com/t/tomcat-cpu-spikes-in-jruby-web-app/199351)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 5, 2010, 2:12am UTC](https://www.ruby-forum.com/t/tomcat-cpu-spikes-in-jruby-web-app/199351 "2010-12-05T02:12:32Z")

</div>

Hi, We have a Jruby on rails application deployed in tomcat. Our Jruby version is 1.5.1 and tomcat version is 6.0.26. However with a simple app also the app server CPU is showing 100% utilization for a considerable …

---

## [How to update the rails 2.2.2 version based project into 2.3.4 version](https://www.ruby-forum.com/t/how-to-update-the-rails-2-2-2-version-based-project-into-2-3-4-version/198552)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 3, 2010, 2:57pm UTC](https://www.ruby-forum.com/t/how-to-update-the-rails-2-2-2-version-based-project-into-2-3-4-version/198552 "2010-11-03T14:57:44Z")

</div>

Hi, currently i am using rails 2.2.2. I have developed some project using rails 2.2.2, ruby 1.8.6 and gem 1.3.1. Now i want to use some cool features in rails 2.3.4 like default\_scope,accepts\_nested\_attributes\_for…e…

---

## [Controlling USRP remotely using VNC](https://www.ruby-forum.com/t/controlling-usrp-remotely-using-vnc/191397)

<div class="topic-metadata">

**Author:** [@Patrik\_T](https://www.ruby-forum.com/u/Patrik_T)\
**Replies:** 3\
**Last updated:** [July 27, 2010, 1:21am UTC](https://www.ruby-forum.com/t/controlling-usrp-remotely-using-vnc/191397 "2010-07-27T01:21:29Z")

</div>

Hi All, I got a problem when I want to remotely access the USRP using VNC on Fedora 12. In my case the USRP is at Los A. and my location is at Vasa Finland. As you can see in the screeshot below I get a “Segmentatio…

---

## [Disable lazy loading?](https://www.ruby-forum.com/t/disable-lazy-loading/186087)

<div class="topic-metadata">

**Author:** [@aurel](https://www.ruby-forum.com/u/aurel)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 12:36pm UTC](https://www.ruby-forum.com/t/disable-lazy-loading/186087 "2010-03-31T12:36:40Z")

</div>

Hi, I have 2 active records with has\_one/belongs\_to association between them. class Story \< ActiveRecord::Base belongs\_to :conclusion end class Conclusion \< ActiveRecord::Base has\_one :story end Sometimes I fetc…

---

## [OS X/Snow Leo - Specify custom executable location for build/install for 1.9](https://www.ruby-forum.com/t/os-x-snow-leo-specify-custom-executable-location-for-build-install-for-1-9/183016)

<div class="topic-metadata">

**Author:** [@wannabe-coder](https://www.ruby-forum.com/u/wannabe-coder)\
**Replies:** 3\
**Last updated:** [February 6, 2010, 4:45pm UTC](https://www.ruby-forum.com/t/os-x-snow-leo-specify-custom-executable-location-for-build-install-for-1-9/183016 "2010-02-06T16:45:42Z")

</div>

Been searching via Google but nothing immediately pops up. I’d like to run Ruby 1.9 on my mac and specify the location the binaries install to and run from in the call to configure. What options would I set when I ex…

---

## [Upgrading to 2.3](https://www.ruby-forum.com/t/upgrading-to-2-3/166973)

<div class="topic-metadata">

**Author:** [@ihihih](https://www.ruby-forum.com/u/ihihih)\
**Replies:** 3\
**Last updated:** [May 2, 2009, 2:10am UTC](https://www.ruby-forum.com/t/upgrading-to-2-3/166973 "2009-05-02T02:10:44Z")

</div>

I’m having trouble upgrading my app from rails 2.2.2 to 2.3.2. I’ve successfully installed the 2.3.2 gem (when I type ‘rails -v’ i get “Rails 2.3.2”) and I’ve changed the environment.rb file to use 2.3.2, but ‘rake r…

---

## [Connection Pooling on Rails 2.2.2 (Windows Vista)](https://www.ruby-forum.com/t/connection-pooling-on-rails-2-2-2-windows-vista/162075)

<div class="topic-metadata">

**Author:** [@syuji](https://www.ruby-forum.com/u/syuji)\
**Replies:** 3\
**Last updated:** [March 6, 2009, 9:52am UTC](https://www.ruby-forum.com/t/connection-pooling-on-rails-2-2-2-windows-vista/162075 "2009-03-06T09:52:51Z")

</div>

Hi, I’m trying to setup rails 2.2.2 pool connections to MySQL by specifying the pool setting with 5 in database.yml but no hope… It doesn’t work. My rails is running on webrick in the production mode and the webrick …

---

## [Minitest documentation anywhere?](https://www.ruby-forum.com/t/minitest-documentation-anywhere/161645)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 3\
**Last updated:** [March 1, 2009, 7:13pm UTC](https://www.ruby-forum.com/t/minitest-documentation-anywhere/161645 "2009-03-01T19:13:37Z")

</div>

Well nuts. Trying to get minimally up to speed with some extremely modest testing and I cannot even get off the ground. I’m going for now with minitest. I found a modest and useful intro. in PickAxe 3rd. But…minitest’…

---

## [Single Text\_Area for multiple records](https://www.ruby-forum.com/t/single-text-area-for-multiple-records/153990)

<div class="topic-metadata">

**Author:** [@smfrick](https://www.ruby-forum.com/u/smfrick)\
**Replies:** 3\
**Last updated:** [December 7, 2008, 10:48am UTC](https://www.ruby-forum.com/t/single-text-area-for-multiple-records/153990 "2008-12-07T10:48:14Z")

</div>

I have an application I’ve developed where there is a record of data which is entered line by line, I’ve got that working fine. The form now only has one field, because that’s all the data which is required. I would…

---

## [Form\_for con solo alcuni campi del modello](https://www.ruby-forum.com/t/form-for-con-solo-alcuni-campi-del-modello/153889)

<div class="topic-metadata">

**Author:** [@kerouak](https://www.ruby-forum.com/u/kerouak)\
**Replies:** 3\
**Last updated:** [November 22, 2008, 3:18pm UTC](https://www.ruby-forum.com/t/form-for-con-solo-alcuni-campi-del-modello/153889 "2008-11-22T15:18:34Z")

</div>

Ho una form che va a creare dei record del modello/tabella questions. Il mio problema Ã¨ che un campo del modello viene settato da controller nell’azione NEW, e non tramite form. Quindi la validazione del modello mi d…

---

## [Edit form](https://www.ruby-forum.com/t/edit-form/138797)

<div class="topic-metadata">

**Author:** [@feras80](https://www.ruby-forum.com/u/feras80)\
**Replies:** 0\
**Last updated:** [May 27, 2008, 9:17pm UTC](https://www.ruby-forum.com/t/edit-form/138797 "2008-05-27T21:17:58Z")

</div>

Hello am a newbie :slight\_smile: am developing a portal for employees company. there is an edit form that allows employees to change their information ( phone number, address, etc) here is the employees controller …

---

## [How to get all the user\_id from Session](https://www.ruby-forum.com/t/how-to-get-all-the-user-id-from-session/133423)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 3\
**Last updated:** [March 31, 2008, 5:28pm UTC](https://www.ruby-forum.com/t/how-to-get-all-the-user-id-from-session/133423 "2008-03-31T17:28:45Z")

</div>

Using session can record users’ id when users log in, like session\[:user\_id\]. If I want to know how many users are online, so how can I get all the users’s id from session? Thanks!

---

## [Re: digest.so implemented](https://www.ruby-forum.com/t/re-digest-so-implemented/132803)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 3\
**Last updated:** [March 24, 2008, 11:03pm UTC](https://www.ruby-forum.com/t/re-digest-so-implemented/132803 "2008-03-24T23:03:36Z")

</div>

Wayne K.: Attached is an implementation of the methods and classes from external library digest.so that are used by some simple Rails use cases. Thanks for the contribution! Sorry for such a long delay. It require…

---

## [How do i get color with autotest on XP?](https://www.ruby-forum.com/t/how-do-i-get-color-with-autotest-on-xp/130628)

<div class="topic-metadata">

**Author:** [@spencer](https://www.ruby-forum.com/u/spencer)\
**Replies:** 3\
**Last updated:** [March 1, 2008, 7:16am UTC](https://www.ruby-forum.com/t/how-do-i-get-color-with-autotest-on-xp/130628 "2008-03-01T07:16:28Z")

</div>

when i run “rake spec” i get color, if have --colour in spec.opts. when i run autotest the output isn’t displayed(i can tell the tests have run thanks to snarl), unless i get rid of --colour. however, now the output i…

---

## [Do migration support MySQL BIGINT](https://www.ruby-forum.com/t/do-migration-support-mysql-bigint/116426)

<div class="topic-metadata">

**Author:** [@Ghee\_wooi\_O](https://www.ruby-forum.com/u/Ghee_wooi_O)\
**Replies:** 3\
**Last updated:** [October 5, 2007, 12:31pm UTC](https://www.ruby-forum.com/t/do-migration-support-mysql-bigint/116426 "2007-10-05T12:31:02Z")

</div>

hi, just wondering do migration support MySQL BIGINT ? what if i wanna create a migration with BIGINT ? should i use SQL directly ? kiwi

---

## [Help with Socket (TCPServer) requested!](https://www.ruby-forum.com/t/help-with-socket-tcpserver-requested/114209)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 3\
**Last updated:** [September 10, 2007, 12:48pm UTC](https://www.ruby-forum.com/t/help-with-socket-tcpserver-requested/114209 "2007-09-10T12:48:44Z")

</div>

Hello Team, I need your help with sockets. I read the PickAxe information on Socket on Apendix A. I also read an article “Sockets programming in Ruby” By: M. Tim Jones. All the examples provided worked within their c…

---

## [Verifying existence of elements](https://www.ruby-forum.com/t/verifying-existence-of-elements/113488)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 3\
**Last updated:** [September 1, 2007, 7:20pm UTC](https://www.ruby-forum.com/t/verifying-existence-of-elements/113488 "2007-09-01T19:20:33Z")

</div>

My controller ends like this: render :update do |page| page.replace\_html 'someDiv', :partial =\> 'somePartial' end I need to edit this to verify that someDiv exists before I go replacing\_htmling it. I’m at a loss to…

---

## [IRC Transcripts in Instiki and Markdown](https://www.ruby-forum.com/t/irc-transcripts-in-instiki-and-markdown/107588)

<div class="topic-metadata">

**Author:** [@levander](https://www.ruby-forum.com/u/levander)\
**Replies:** 3\
**Last updated:** [June 24, 2007, 3:36am UTC](https://www.ruby-forum.com/t/irc-transcripts-in-instiki-and-markdown/107588 "2007-06-24T03:36:14Z")

</div>

I haven’t found a way to easily markup IRC transcripts in Markdown on my Instiki install yet. Hopefully this isn’t a reason to go through all my wiki pages and switch to Textile. For an IRC transcript like this: M …

---

## [Control de flujo](https://www.ruby-forum.com/t/control-de-flujo/107188)

<div class="topic-metadata">

**Author:** [@wifer](https://www.ruby-forum.com/u/wifer)\
**Replies:** 3\
**Last updated:** [June 20, 2007, 3:01am UTC](https://www.ruby-forum.com/t/control-de-flujo/107188 "2007-06-20T03:01:42Z")

</div>

Foro, como busco en la web algo como manejar la navegacion en los formularios de acuerdo a la respuesta que se de a una pregunta ej: en una alerta tipo javascript, se pregunta, y de acuerdo a si la respuesta fue s o n…

---

## [Gtkmozembed on windows](https://www.ruby-forum.com/t/gtkmozembed-on-windows/86186)

<div class="topic-metadata">

**Author:** [@pjpatten](https://www.ruby-forum.com/u/pjpatten)\
**Replies:** 3\
**Last updated:** [February 22, 2007, 11:25am UTC](https://www.ruby-forum.com/t/gtkmozembed-on-windows/86186 "2007-02-22T11:25:10Z")

</div>

Hi ho :-), we have a problem using gtkmozembed on Windows. The following software is installed now: Ruby GTK+ 2.8 (gimp works) Ruby-Gnome2 Did we missed anything? irb(main):001:0\> require ‘gtk2’ =\> true irb(main)…

---

## [Wiki Recommendations?](https://www.ruby-forum.com/t/wiki-recommendations/85930)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 3\
**Last updated:** [February 20, 2007, 2:31am UTC](https://www.ruby-forum.com/t/wiki-recommendations/85930 "2007-02-20T02:31:22Z")

</div>

Last time I did this dance, i2 was the all around best choice for a Ruby wiki that was available. Have things changed? My priorities are in order: Must run on TextDrive. (Most options should fit this one, right?) Us…

---

## [REST and habtm relationship](https://www.ruby-forum.com/t/rest-and-habtm-relationship/82161)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 3\
**Last updated:** [January 18, 2007, 11:57am UTC](https://www.ruby-forum.com/t/rest-and-habtm-relationship/82161 "2007-01-18T11:57:23Z")

</div>

Hey All I’m new to the whole RESTful way of thinking so perhaps I’m missing the bigger picture here but… I’ve got a habtm relationship that I’d really like to control RESTfully but I’m not sure how best to handle it. …

---

## [Functional test a "create" action when a validation fails](https://www.ruby-forum.com/t/functional-test-a-create-action-when-a-validation-fails/80830)

<div class="topic-metadata">

**Author:** [@kendall](https://www.ruby-forum.com/u/kendall)\
**Replies:** 3\
**Last updated:** [January 1, 2007, 6:29pm UTC](https://www.ruby-forum.com/t/functional-test-a-create-action-when-a-validation-fails/80830 "2007-01-01T18:29:40Z")

</div>

I’m trying to write a functional test of a “create” action in one of my controllers. In the corresponding model I have a “validates\_uniqueness\_of :location”. In the test case I am constructing I have the create fail…

---

## [Does anyone know what's broken about ftools?](https://www.ruby-forum.com/t/does-anyone-know-whats-broken-about-ftools/75881)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 3\
**Last updated:** [November 14, 2006, 4:56pm UTC](https://www.ruby-forum.com/t/does-anyone-know-whats-broken-about-ftools/75881 "2006-11-14T16:56:53Z")

</div>

All, I just had a problem in my Rails app. where I was generating a ZIP file (using rubyzip) on Linux and copying to a Windows share (mounted via Samba) using ftools and sometimes partial copies would occur. I then s…

---

## [Storing BigDecimal in the db](https://www.ruby-forum.com/t/storing-bigdecimal-in-the-db/61576)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 3\
**Last updated:** [May 25, 2006, 4:29pm UTC](https://www.ruby-forum.com/t/storing-bigdecimal-in-the-db/61576 "2006-05-25T16:29:51Z")

</div>

I need to do some precise math, going to 12-14 decimal places, so I’m using BigDecimal. How can I store this in a db? I’m using postgresql 8.1.0, if that matters at all. I found a plugin \[1\] but it gives me the err…

---

## [Problem with Rake's PackageTask](https://www.ruby-forum.com/t/problem-with-rakes-packagetask/63714)

<div class="topic-metadata">

**Author:** [@leopardus](https://www.ruby-forum.com/u/leopardus)\
**Replies:** 3\
**Last updated:** [January 24, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/problem-with-rakes-packagetask/63714 "2006-01-24T20:15:06Z")

</div>

Hello! I’m trying to add packaging to my rakefile. I copied the example code from http://rake.rubyforge.org/classes/Rake/PackageTask.html, that’s it: require ‘rake/packagetask’ Rake::PackageTask.new(“rake”, “1.2.3”) …

---

## [Tab control + Rails friendly](https://www.ruby-forum.com/t/tab-control-rails-friendly/99539)

<div class="topic-metadata">

**Author:** [@kitesurfer](https://www.ruby-forum.com/u/kitesurfer)\
**Replies:** 3\
**Last updated:** [December 13, 2005, 5:48am UTC](https://www.ruby-forum.com/t/tab-control-rails-friendly/99539 "2005-12-13T05:48:12Z")

</div>

Hi, Can anyone recommend a good tab implementation js or other that is rails friendly ? Thank you all

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

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