# Top

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

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

---

## [Validate unique within date range?](https://www.ruby-forum.com/t/validate-unique-within-date-range/93230)

<div class="topic-metadata">

**Author:** [@mroutley](https://www.ruby-forum.com/u/mroutley)\
**Replies:** 2\
**Last updated:** [May 3, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/validate-unique-within-date-range/93230 "2007-05-03T16:11:13Z")

</div>

I’m setting up a simple system for listing products and specials. I’m looking for a way to validate that only one special can exist per product per date range. For example, if a product is on sale from 2007-04-29 to 2…

---

## [Has\_many :through associated object ids assignment error](https://www.ruby-forum.com/t/has-many-through-associated-object-ids-assignment-error/91018)

<div class="topic-metadata">

**Author:** [@Bas\_van\_Westing](https://www.ruby-forum.com/u/Bas_van_Westing)\
**Replies:** 2\
**Last updated:** [April 3, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/has-many-through-associated-object-ids-assignment-error/91018 "2007-04-03T23:01:53Z")

</div>

Hi, I have the following situation: class Article \< ActiveRecord::Base has\_many :readings has\_many :users, :through =\> :readings end class Reading \< ActiveRecord::Base belongs\_to :article belongs\_to :user end N…

---

## [Web-based personal development co. looking for programmers](https://www.ruby-forum.com/t/web-based-personal-development-co-looking-for-programmers/90696)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [March 31, 2007, 8:28am UTC](https://www.ruby-forum.com/t/web-based-personal-development-co-looking-for-programmers/90696 "2007-03-31T08:28:45Z")

</div>

Mylinia.com Live purposefully! Who: Mylinia.com is a personal development company located in the heart of the Silicon Valley, started in 2006 by 3 Stanford business school students who are dedicated to helping peopl…

---

## [Test fail on debian 3.1](https://www.ruby-forum.com/t/test-fail-on-debian-3-1/88166)

<div class="topic-metadata">

**Author:** [@linus](https://www.ruby-forum.com/u/linus)\
**Replies:** 2\
**Last updated:** [March 8, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/test-fail-on-debian-3-1/88166 "2007-03-08T23:10:21Z")

</div>

I have a problem, I use utf all over a rails site, but the search failes to search characters with acccents… I try to debug it, and i had run unit tests for ferret, can those failures cose problems? /usr/lib/ruby/ge…

---

## [How to store Ferret index in DB using acts\_as\_ferret?](https://www.ruby-forum.com/t/how-to-store-ferret-index-in-db-using-acts-as-ferret/83504)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 30, 2007, 4:48pm UTC](https://www.ruby-forum.com/t/how-to-store-ferret-index-in-db-using-acts-as-ferret/83504 "2007-01-30T16:48:14Z")

</div>

Hello, I would like Ferret index to be stored in DB ( instead of multiple files ) It would allow me to centralize all datas in a unique media + backup my index using a simple DB export. Is there a way to do so ? T…

---

## [Style question: where to put additions to standard classes?](https://www.ruby-forum.com/t/style-question-where-to-put-additions-to-standard-classes/82328)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 2\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/style-question-where-to-put-additions-to-standard-classes/82328 "2007-01-19T16:31:07Z")

</div>

I’ve just started on my first decent-sized Ruby project and before the number of files spirals too far out of control I wanted to ask for some advice on what the accepted “best practice” for organizing files and code …

---

## [What does the EEPROM do on rfx board?](https://www.ruby-forum.com/t/what-does-the-eeprom-do-on-rfx-board/82207)

<div class="topic-metadata">

**Author:** [@hanwen](https://www.ruby-forum.com/u/hanwen)\
**Replies:** 2\
**Last updated:** [January 18, 2007, 7:35pm UTC](https://www.ruby-forum.com/t/what-does-the-eeprom-do-on-rfx-board/82207 "2007-01-18T19:35:14Z")

</div>

Hi, everone, I am modifying some rfx2400 boards for clock sync and phase coherent with motherboard. I found this was achieved already when I changed the location of some resistors. I send some signals and received w…

---

## [Something wrong ...script / plugin list](https://www.ruby-forum.com/t/something-wrong-script-plugin-list/66477)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 2\
**Last updated:** [September 4, 2006, 2:46pm UTC](https://www.ruby-forum.com/t/something-wrong-script-plugin-list/66477 "2006-09-04T14:46:26Z")

</div>

Why when I run this command I only get a handful of plugins ? Shouldn’t I get a huge list. Am I missing some configuration somewhere ? Also when I run script/plugin sources I only get one repository ? C:\\InstantRail…

---

## [\[ANN\] acts\_as\_ferret 0.2.2](https://www.ruby-forum.com/t/ann-acts-as-ferret-0-2-2/97862)

<div class="topic-metadata">

**Author:** [@krahe](https://www.ruby-forum.com/u/krahe)\
**Replies:** 2\
**Last updated:** [July 12, 2006, 12:53am UTC](https://www.ruby-forum.com/t/ann-acts-as-ferret-0-2-2/97862 "2006-07-12T00:53:42Z")

</div>

Hi all, I just tagged acts\_as\_ferret 0.2.2 as the current stable version, so get it while it’s hot :wink: new features: added support for the multiple models/single index approach. find out the total number of searc…

---

## [Initialize, instance variable....wrong number of arguments!](https://www.ruby-forum.com/t/initialize-instance-variable-wrong-number-of-arguments/60462)

<div class="topic-metadata">

**Author:** [@asoto](https://www.ruby-forum.com/u/asoto)\
**Replies:** 2\
**Last updated:** [May 14, 2006, 6:45am UTC](https://www.ruby-forum.com/t/initialize-instance-variable-wrong-number-of-arguments/60462 "2006-05-14T06:45:32Z")

</div>

Dear RoR Community My new RoR experience went really smooth for some time until I got stuck with a seemingly easy problem and the more I have tried to read about it (PickAxe, Agile WD, forum, etc.) the more confused I…

---

## [USRP - FX2 / gpif / EEPROM / firmware questions](https://www.ruby-forum.com/t/usrp-fx2-gpif-eeprom-firmware-questions/60103)

<div class="topic-metadata">

**Author:** [@Kalen\_Watermeyer](https://www.ruby-forum.com/u/Kalen_Watermeyer)\
**Replies:** 2\
**Last updated:** [May 10, 2006, 11:59pm UTC](https://www.ruby-forum.com/t/usrp-fx2-gpif-eeprom-firmware-questions/60103 "2006-05-10T23:59:52Z")

</div>

Hi, Have rejoined the gnuradio mailing list after a little while. I am developing a hardware project similar to the USRP in that it uses the 100-pin FX2 USB micro and houses several FPGAs (Xilinx in this case), as w…

---

## [New thread for RUBY ftp problems . .](https://www.ruby-forum.com/t/new-thread-for-ruby-ftp-problems/59604)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 2\
**Last updated:** [May 4, 2006, 5:15pm UTC](https://www.ruby-forum.com/t/new-thread-for-ruby-ftp-problems/59604 "2006-05-04T17:15:50Z")

</div>

I’m starting a new thread, because, my problem appears even in the simplest try of RUBY’s ftp. Here’s a simple attempt to just ftp a file over to one of our UNIX servers here at my company. It’s left hanging after the…

---

## [Setting the default operator on a QueryParser](https://www.ruby-forum.com/t/setting-the-default-operator-on-a-queryparser/57549)

<div class="topic-metadata">

**Author:** [@roop](https://www.ruby-forum.com/u/roop)\
**Replies:** 2\
**Last updated:** [April 12, 2006, 8:55pm UTC](https://www.ruby-forum.com/t/setting-the-default-operator-on-a-queryparser/57549 "2006-04-12T20:55:40Z")

</div>

Hi all, Thanks to the authors for the amazing work on Ferret! I have a question about setting up the standard operators on a QueryParser. I would like my parser to default to AND queries rather than the default OR. I…

---

## [Calling an action in another controller](https://www.ruby-forum.com/t/calling-an-action-in-another-controller/87171)

<div class="topic-metadata">

**Author:** [@bill](https://www.ruby-forum.com/u/bill)\
**Replies:** 2\
**Last updated:** [March 26, 2006, 12:59am UTC](https://www.ruby-forum.com/t/calling-an-action-in-another-controller/87171 "2006-03-26T00:59:22Z")

</div>

I have two controllers, one for lists and one for list items. When I’m viewing a list I’d like to have a link to create list items within that list. How do I go about calling an action in the listitems controller to…

---

## [Contact form which generates e-mail](https://www.ruby-forum.com/t/contact-form-which-generates-e-mail/98519)

<div class="topic-metadata">

**Author:** [@chidori](https://www.ruby-forum.com/u/chidori)\
**Replies:** 2\
**Last updated:** [January 29, 2006, 9:22pm UTC](https://www.ruby-forum.com/t/contact-form-which-generates-e-mail/98519 "2006-01-29T21:22:49Z")

</div>

I’m still struggling with my first RoR application, and have now encountered yet another problem I have no idea how to solve. I would like to have a contact form where people can write e-mails to me directly from my s…

---

## [RubyMock URL not working?](https://www.ruby-forum.com/t/rubymock-url-not-working/51945)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 2\
**Last updated:** [January 10, 2006, 11:20pm UTC](https://www.ruby-forum.com/t/rubymock-url-not-working/51945 "2006-01-10T23:20:08Z")

</div>

Hi everyone, The URL listed on http://www.rubygarden.org/ruby?RubyMock for b13media doesn’t seem to work anymore. Is there another URL? Or does anyone suggest using Test::Unit::Mock instead? Thanks! Sean

---

## [Problems installing rails](https://www.ruby-forum.com/t/problems-installing-rails/48261)

<div class="topic-metadata">

**Author:** [@JensRie](https://www.ruby-forum.com/u/JensRie)\
**Replies:** 2\
**Last updated:** [November 18, 2005, 1:35pm UTC](https://www.ruby-forum.com/t/problems-installing-rails/48261 "2005-11-18T13:35:28Z")

</div>

Hello, I’m just trying to install the rails framework on my Windows XP system and have some problems at the start: According to the tutorial I open my command prompt and enter the following: gem install rails --remo…

---

## [Extracting OS Name](https://www.ruby-forum.com/t/extracting-os-name/222814)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [September 11, 2012, 9:31pm UTC](https://www.ruby-forum.com/t/extracting-os-name/222814 "2012-09-11T21:31:50Z")

</div>

Hello, From my rails application, I have given a download button, which will download a file from the server. At the time of downloading, I want to save the values of IP Address & Client Type( from which OS - Mac/Wi…

---

## [Play! 2.0 (Scala) or RubyOnRail (Ruby)?](https://www.ruby-forum.com/t/play-2-0-scala-or-rubyonrail-ruby/220441)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [June 12, 2012, 3:08pm UTC](https://www.ruby-forum.com/t/play-2-0-scala-or-rubyonrail-ruby/220441 "2012-06-12T15:08:43Z")

</div>

Hi ruby community, It has been months after much experimenting RubyOnRail but it wasn’t chosen for my Enterprise project. Recently, I heard some of my friends argue that RubyOnRail is Enterprise-class framework whic…

---

## [Relationship problems](https://www.ruby-forum.com/t/relationship-problems/190795)

<div class="topic-metadata">

**Author:** [@neilbain](https://www.ruby-forum.com/u/neilbain)\
**Replies:** 6\
**Last updated:** [June 28, 2010, 4:18pm UTC](https://www.ruby-forum.com/t/relationship-problems/190795 "2010-06-28T16:18:44Z")

</div>

I am trying to send an email using ActionMailer. I am having problems identifying the recipient in email.controller. I want it to be the owner of the current story. It won’t accept @story.user because I don’t know how…

---

## [Nested Rails Views](https://www.ruby-forum.com/t/nested-rails-views/182808)

<div class="topic-metadata">

**Author:** [@nappin](https://www.ruby-forum.com/u/nappin)\
**Replies:** 6\
**Last updated:** [February 3, 2010, 9:11pm UTC](https://www.ruby-forum.com/t/nested-rails-views/182808 "2010-02-03T21:11:43Z")

</div>

I’m at the point where I have a lot of view files for each controller in my app. I’d like to be able to add another level or two of directories in my view folders just for organizational purposes. What’s the best wa…

---

## [Using in\_place\_editor as plugin but how?](https://www.ruby-forum.com/t/using-in-place-editor-as-plugin-but-how/138558)

<div class="topic-metadata">

**Author:** [@der\_guido](https://www.ruby-forum.com/u/der_guido)\
**Replies:** 6\
**Last updated:** [May 26, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/using-in-place-editor-as-plugin-but-how/138558 "2008-05-26T16:15:19Z")

</div>

Hi all together… I try since few day to use in\_place\_editor as plugin… so I installed it with ruby script/plugin install http://svn.redlinesoftware.com/plugins/in\_place\_editor/ and now?!? I get the error undefined…

---

## [Leopard - Newbie to ROR, help please](https://www.ruby-forum.com/t/leopard-newbie-to-ror-help-please/118809)

<div class="topic-metadata">

**Author:** [@Gareth](https://www.ruby-forum.com/u/Gareth)\
**Replies:** 6\
**Last updated:** [November 2, 2007, 1:56am UTC](https://www.ruby-forum.com/t/leopard-newbie-to-ror-help-please/118809 "2007-11-02T01:56:10Z")

</div>

Hi guys and gals, I’ve upgraded to leopard (clean install) and was under the impression that as ROR comes built into leopard I’d have no problems getting set up. I’ve updated it using: gem update rails That went fi…

---

## [Posted Jim Weirich OSCON 2006 video presentation](https://www.ruby-forum.com/t/posted-jim-weirich-oscon-2006-video-presentation/84675)

<div class="topic-metadata">

**Author:** [@Diego\_Scataglini](https://www.ruby-forum.com/u/Diego_Scataglini)\
**Replies:** 6\
**Last updated:** [February 7, 2007, 5:19am UTC](https://www.ruby-forum.com/t/posted-jim-weirich-oscon-2006-video-presentation/84675 "2007-02-07T05:19:46Z")

</div>

For anybody interested, I posted the talk about Design By Contract in Ruby that Jim W. gave @ OSCON 2006 on my blog. I have 3 or 4 more that I am in the process of uploading. I am waiting for a written release from …

---

## [Another reason Rails doesn't suck](https://www.ruby-forum.com/t/another-reason-rails-doesnt-suck/68189)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 6\
**Last updated:** [September 10, 2006, 5:20pm UTC](https://www.ruby-forum.com/t/another-reason-rails-doesnt-suck/68189 "2006-09-10T17:20:55Z")

</div>

Rubies: I got to the deceased equine flagellation party late, so I will find a different angle. Read: http://c2.com/cgi/wiki?ConfigurationHell That page lampoons a very well-regarded and highly successful servlet e…

---

## [Memory error](https://www.ruby-forum.com/t/memory-error/65349)

<div class="topic-metadata">

**Author:** [@ratcheer](https://www.ruby-forum.com/u/ratcheer)\
**Replies:** 6\
**Last updated:** [August 18, 2006, 10:12pm UTC](https://www.ruby-forum.com/t/memory-error/65349 "2006-08-18T22:12:24Z")

</div>

I’m using ruby on rails on a Macbook Pro with sqlite3. I’m finding that memory for the ruby process stays about 20mb until I hit an error after which the mermory doesn’t seem to be released and keeps going up until I …

---

## [How to create standl alones applications with Ruby](https://www.ruby-forum.com/t/how-to-create-standl-alones-applications-with-ruby/99608)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 6\
**Last updated:** [July 25, 2006, 1:34am UTC](https://www.ruby-forum.com/t/how-to-create-standl-alones-applications-with-ruby/99608 "2006-07-25T01:34:57Z")

</div>

Hi all In .NET, Eclipse/SWT, Interface Builder (mac os X) it is possible to create a new form, and use drag/drop controls such as textboxes, comboboxes, lists, datagrids, etc. And Also create reports in a similar way…

---

## [Rails on Sun](https://www.ruby-forum.com/t/rails-on-sun/68149)

<div class="topic-metadata">

**Author:** [@kelhart](https://www.ruby-forum.com/u/kelhart)\
**Replies:** 6\
**Last updated:** [February 17, 2006, 7:25am UTC](https://www.ruby-forum.com/t/rails-on-sun/68149 "2006-02-17T07:25:06Z")

</div>

Hi Everbody, I’ve got a potential idea for introducing Rails to my company. My only shot at this is to minimize what our Ops guys would have to install and configure to get this up and running. Right now, our server…

---

## [Question about ZeroMQ Sub source](https://www.ruby-forum.com/t/question-about-zeromq-sub-source/231790)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 31, 2014, 1:19pm UTC](https://www.ruby-forum.com/t/question-about-zeromq-sub-source/231790 "2014-08-31T13:19:43Z")

</div>

I’ve got a question relating to the zmq sub source. I’ve got a flowgraph that has rtlsdr -\> pub sink In another graph, I decode FM radio using WBFM receive. I noticed that it sounds horrible and choppy (sped up). I l…

---

## [X-Real-Proto?](https://www.ruby-forum.com/t/x-real-proto/240572)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 21, 2014, 1:56pm UTC](https://www.ruby-forum.com/t/x-real-proto/240572 "2014-04-21T13:56:46Z")

</div>

Hi, There is ngx\_http\_realip\_module to have the real ip in nginx when you are behind a load balancer If the load balancer is also terminating the ssl, and connecting to nginx with http, how to set the real proto ? T…

---

## [Error at new rails app creation](https://www.ruby-forum.com/t/error-at-new-rails-app-creation/238794)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [January 29, 2014, 12:20pm UTC](https://www.ruby-forum.com/t/error-at-new-rails-app-creation/238794 "2014-01-29T12:20:45Z")

</div>

In cmd prompt, I just tried to new rails app using, ~/documents\>rails new app\_name It throws an error as, Gem::InstallError: The ‘json’ native gem requires installed build tools.

---

## [Re-generate thumbnails?](https://www.ruby-forum.com/t/re-generate-thumbnails/126892)

<div class="topic-metadata">

**Author:** [@photomatt](https://www.ruby-forum.com/u/photomatt)\
**Replies:** 3\
**Last updated:** [August 19, 2013, 4:17am UTC](https://www.ruby-forum.com/t/re-generate-thumbnails/126892 "2013-08-19T04:17:19Z")

</div>

Has anybody figured out a way to force attachment\_fu to regenerate thumbnails? I had some major issues with mini\_magick not figuring out the correct image sizes, and I’d like to re-try with rmagick. But, I can’t re-u…

---

## [Problem with array variable](https://www.ruby-forum.com/t/problem-with-array-variable/228458)

<div class="topic-metadata">

**Author:** [@foxmaster](https://www.ruby-forum.com/u/foxmaster)\
**Replies:** 3\
**Last updated:** [April 23, 2013, 11:06am UTC](https://www.ruby-forum.com/t/problem-with-array-variable/228458 "2013-04-23T11:06:36Z")

</div>

Hi all I have a problem with a small project I am working on. I use putty tools to do the ssh stuff (net-ssh/scp) doesn’t work because of bad ssh server on the target. Anyway here is the code I made so far. cmd = \[“p…

---

## [Yaml not escaping break line in double quoted string](https://www.ruby-forum.com/t/yaml-not-escaping-break-line-in-double-quoted-string/228118)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 3\
**Last updated:** [April 11, 2013, 9:01pm UTC](https://www.ruby-forum.com/t/yaml-not-escaping-break-line-in-double-quoted-string/228118 "2013-04-11T21:01:57Z")

</div>

it’s weird, as yaml doc stating it should work : en: site\_under\_maintenance\_message: “We are sorry,\\n this site is currently under maintenance, please try later…” should display as : We are sorry, this site is c…

---

## [Re: Synchronizing 3 USRP-N200](https://www.ruby-forum.com/t/re-synchronizing-3-usrp-n200/227919)

<div class="topic-metadata">

**Author:** [@Zooz\_E](https://www.ruby-forum.com/u/Zooz_E)\
**Replies:** 3\
**Last updated:** [April 4, 2013, 11:17am UTC](https://www.ruby-forum.com/t/re-synchronizing-3-usrp-n200/227919 "2013-04-04T11:17:34Z")

</div>

Hi Marcus, Thanks for replying. I did the following test after your comments: 1- to rule out the scope sink problem, I used a file sink and plotted the output using octave: Same results observed. 2- I took the output…

---

## [Upstream with vps](https://www.ruby-forum.com/t/upstream-with-vps/229634)

<div class="topic-metadata">

**Author:** [@mdwalter](https://www.ruby-forum.com/u/mdwalter)\
**Replies:** 3\
**Last updated:** [February 11, 2013, 2:02pm UTC](https://www.ruby-forum.com/t/upstream-with-vps/229634 "2013-02-11T14:02:01Z")

</div>

Hello guy, I’m sorry for my english So I have 4 vps: 4gb ram 1 processor 1 ipv4 2gb ram 4 processors 3 ipv4 + 3 ipv6 1gb ram 4 processors 3 ipv4 + 3 ipv6 1gb ram 4 processors 3 ipv4 + 3 ipv6 I thought this configurat…

---

## [Ruby-GNOME2 1.0.1](https://www.ruby-forum.com/t/ruby-gnome2-1-0-1/211942)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 19, 2011, 2:06am UTC](https://www.ruby-forum.com/t/ruby-gnome2-1-0-1/211942 "2011-09-19T02:06:00Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 1.0.1. Web: http://ruby-gnome2.sourceforge.jp/ Install: gem install gtk2 = About Ruby-GNOME2 Ruby-GNOME2 is a set of Ruby language bindings for the GTK+ 2.x and GN…

---

## [RoR TDD](https://www.ruby-forum.com/t/ror-tdd/208611)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 23, 2011, 5:08pm UTC](https://www.ruby-forum.com/t/ror-tdd/208611 "2011-06-23T17:08:24Z")

</div>

Hi, How can I start with TDD in RoR. I’m new to this framework and I know basic idea about RoR. I hope this is the time to start with TDD. Please help me on this. Pls let me know about good tutorial. thank you sayu…

---

## [How to make a word act as a button?](https://www.ruby-forum.com/t/how-to-make-a-word-act-as-a-button/207943)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 7, 2011, 7:08am UTC](https://www.ruby-forum.com/t/how-to-make-a-word-act-as-a-button/207943 "2011-06-07T07:08:40Z")

</div>

Hi, I’d like to know how can I make a link to a method. I mean, not a link that would normally render a new page, but something that looks like a link (a blue word) but triggers one of my class methods like show a ph…

---

## [3.1 - CoffeeScript in view templates](https://www.ruby-forum.com/t/3-1-coffeescript-in-view-templates/206772)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 10, 2011, 4:50pm UTC](https://www.ruby-forum.com/t/3-1-coffeescript-in-view-templates/206772 "2011-05-10T16:50:11Z")

</div>

With rjs we did this: app/views/products/update.rjs page.replace\_html “products”, render(@products) With jquery and ujs we do this: app/views/products/update.js.erb $(“products”).update("\<%= escape\_javascript(render(@…

---

## [GNU Radio developer's call](https://www.ruby-forum.com/t/gnu-radio-developers-call/203161)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 17, 2011, 6:16pm UTC](https://www.ruby-forum.com/t/gnu-radio-developers-call/203161 "2011-02-17T18:16:41Z")

</div>

As I mentioned a few weeks ago, Johnathan C. and I would like to start holding developer’s conference calls on a bimonthly basis. We will be working through the details of when the calls will happen based on the feedb…

---

## [Embedding Ruby Interpreter + RUBYGEMS](https://www.ruby-forum.com/t/embedding-ruby-interpreter-rubygems/201720)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 13, 2011, 9:02pm UTC](https://www.ruby-forum.com/t/embedding-ruby-interpreter-rubygems/201720 "2011-01-13T21:02:26Z")

</div>

Hello everybody, I’m currently writing a c++ library, in which i need to embedded a ruby interpreter for calling the Ruby API. I’ve read already some interesting topics about this issue and already got a working setu…

---

## [Rails 3.0.3 Generator NoMethodError On Existing Project](https://www.ruby-forum.com/t/rails-3-0-3-generator-nomethoderror-on-existing-project/200731)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 29, 2010, 9:32am UTC](https://www.ruby-forum.com/t/rails-3-0-3-generator-nomethoderror-on-existing-project/200731 "2010-12-29T09:32:14Z")

</div>

I’m getting a nasty NoMethodError when running the scaffold generator on a Rails 3.0.3 project that was upgraded from a Rails 2 project. The following command works fine on a new Ralis 3.0.3 project: rails g scaffol…

---

## [Strange return value](https://www.ruby-forum.com/t/strange-return-value/195862)

<div class="topic-metadata">

**Author:** [@Zhi-Qiang\_L](https://www.ruby-forum.com/u/Zhi-Qiang_L)\
**Replies:** 3\
**Last updated:** [October 13, 2010, 5:53am UTC](https://www.ruby-forum.com/t/strange-return-value/195862 "2010-10-13T05:53:08Z")

</div>

Dear All, I meet a strange issue when I test my Rack Middleware. Could anyone help me to point the error out? Thanks. This is the code. class EIOUAuthorization def initialize(app) @app = app end def call(env) re…

---

## [Image Magic](https://www.ruby-forum.com/t/image-magic/190083)

<div class="topic-metadata">

**Author:** [@ratnamraju](https://www.ruby-forum.com/u/ratnamraju)\
**Replies:** 3\
**Last updated:** [June 15, 2010, 3:35pm UTC](https://www.ruby-forum.com/t/image-magic/190083 "2010-06-15T15:35:57Z")

</div>

Hai Developers i have facing major problem with imagemagic. please give me solution LoadError in ClientsController#index libMagickCore.so.3: cannot open shared object file: No such file or directory - /usr/lib/ruby/g…

---

## [Acts as ferret issue (in Production)](https://www.ruby-forum.com/t/acts-as-ferret-issue-in-production/182163)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [January 24, 2010, 9:26pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-issue-in-production/182163 "2010-01-24T21:26:43Z")

</div>

Hi there - i’m looking for anyone who 's experienced inconsistent behaviour in ferret: The search engine is somewhat temperamental, some words are returned, and some result in a 500 server error… the error in the log…

---

## [Does module have instance\_methods?](https://www.ruby-forum.com/t/does-module-have-instance-methods/180224)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 3\
**Last updated:** [December 15, 2009, 11:03am UTC](https://www.ruby-forum.com/t/does-module-have-instance-methods/180224 "2009-12-15T11:03:03Z")

</div>

I’m still confused, since module can’t be instantiated, why it has the instance methods? irb(main):162:0\> module Mymod irb(main):163:1\> def myway;end irb(main):164:1\> end =\> nil irb(main):165:0\> Mymod.respond\_to?…

---

## [How to obtain the context path in a Jruby app on Tomcat?](https://www.ruby-forum.com/t/how-to-obtain-the-context-path-in-a-jruby-app-on-tomcat/178144)

<div class="topic-metadata">

**Author:** [@rafaelrosafu](https://www.ruby-forum.com/u/rafaelrosafu)\
**Replies:** 3\
**Last updated:** [November 2, 2009, 8:54pm UTC](https://www.ruby-forum.com/t/how-to-obtain-the-context-path-in-a-jruby-app-on-tomcat/178144 "2009-11-02T20:54:31Z")

</div>

Hi all, I successfully deployed my JRuby on Rails app on Tomcat In a jsp page I’d use ${pageContext.request.contextPath} to obtain my context path.How could I do this in a Ruby controller? Thanks Rafael R.

---

## [Installing mysql with macports](https://www.ruby-forum.com/t/installing-mysql-with-macports/171974)

<div class="topic-metadata">

**Author:** [@mikej](https://www.ruby-forum.com/u/mikej)\
**Replies:** 3\
**Last updated:** [July 13, 2009, 4:37pm UTC](https://www.ruby-forum.com/t/installing-mysql-with-macports/171974 "2009-07-13T16:37:02Z")

</div>

Not sure if this is off topic, but there doesn’t seem to be an obvious place to ask this question. I am trying to use MacPorts to install mysql. I have xcode 3.0 and x11 XQuartz 2.1.6 installed. $PATH: /opt/local/b…

---

## [Proxy\_cache\_valid question](https://www.ruby-forum.com/t/proxy-cache-valid-question/166310)

<div class="topic-metadata">

**Author:** [@Resicow](https://www.ruby-forum.com/u/Resicow)\
**Replies:** 3\
**Last updated:** [April 24, 2009, 9:21pm UTC](https://www.ruby-forum.com/t/proxy-cache-valid-question/166310 "2009-04-24T21:21:25Z")

</div>

Hello Community, Is it possible to assign different proxy\_cache\_valid values for different file extensions? So for example .jpg could live in the cache for 7 days, but .js files would only live for 6 hours? I guess y…

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

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