# Top

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

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

---

## [Loss of synchronization while creating new file](https://www.ruby-forum.com/t/loss-of-synchronization-while-creating-new-file/235806)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [July 17, 2013, 1:38am UTC](https://www.ruby-forum.com/t/loss-of-synchronization-while-creating-new-file/235806 "2013-07-17T01:38:32Z")

</div>

Hi Everyone, I am having some issues with figuring out the cause of a loss of synchronization using the USRP N210. I will be using the USRP as a receiver for a radar system, but I am still in the calibration phase. F…

---

## [Reducing downtime](https://www.ruby-forum.com/t/reducing-downtime/235613)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [July 4, 2013, 4:40pm UTC](https://www.ruby-forum.com/t/reducing-downtime/235613 "2013-07-04T16:40:41Z")

</div>

We have our RoR apps on cloud servers that can be blown away and rebuilt with the aid of chef. The only volatile data on the server is the database which we backup periodically and pull off to our backup server. If w…

---

## [Quadrature rate question](https://www.ruby-forum.com/t/quadrature-rate-question/226496)

<div class="topic-metadata">

**Author:** [@phil](https://www.ruby-forum.com/u/phil)\
**Replies:** 3\
**Last updated:** [December 10, 2012, 6:39pm UTC](https://www.ruby-forum.com/t/quadrature-rate-question/226496 "2012-12-10T18:39:35Z")

</div>

A recent post by Markus Gonser had me intrigued and so I experimented with his grc code. The resulting FM receiver does work but it doesn’t quite sound right. My guess is that the quadrature rate is not correct at 705…

---

## [Gem Load Error](https://www.ruby-forum.com/t/gem-load-error/216219)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 31, 2012, 1:39pm UTC](https://www.ruby-forum.com/t/gem-load-error/216219 "2012-01-31T13:39:28Z")

</div>

Hi group, I’m new here, and, after search and search on Bing (trollface), I decided to ask the group, I’m having this problem \`to\_specs’: Could not find railties (\>= 0) amongst \[bundler-1.0.21, bundler-1.0.21, rake-0…

---

## [jQuery and Rails issue](https://www.ruby-forum.com/t/jquery-and-rails-issue/208060)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 10, 2011, 5:42pm UTC](https://www.ruby-forum.com/t/jquery-and-rails-issue/208060 "2011-06-10T17:42:32Z")

</div>

I am trying to use the tabs function from jQuery UI in a Rails app. I am using a helper for the navigation and I would like to keep it that way. The code in my helper is: def links\_for\_navigation html = “” html =…

---

## [Content-Type with charset](https://www.ruby-forum.com/t/content-type-with-charset/198076)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 26, 2010, 6:36pm UTC](https://www.ruby-forum.com/t/content-type-with-charset/198076 "2010-10-26T18:36:39Z")

</div>

Hello, I have a case where the origin server behind nginx returns this header: Content-Type: application/javascript; charset: UTF-8 Which seems to be valid according for HTTP/1.0 \[1\] and HTTP/1.1 \[2\] rfcs. I have gz…

---

## [Jruby-ldap with Rails 3?](https://www.ruby-forum.com/t/jruby-ldap-with-rails-3/193221)

<div class="topic-metadata">

**Author:** [@avramd](https://www.ruby-forum.com/u/avramd)\
**Replies:** 3\
**Last updated:** [August 14, 2010, 7:11am UTC](https://www.ruby-forum.com/t/jruby-ldap-with-rails-3/193221 "2010-08-14T07:11:52Z")

</div>

Hello, I’m trying to use jruby-ldap in a rails 3 app running on jruby, and it appears that jruby-ldap is failing to load. I do not get any actual error on the require statement, and it returns nil - which appears to b…

---

## [Testing equality](https://www.ruby-forum.com/t/testing-equality/191255)

<div class="topic-metadata">

**Author:** [@jmcervera](https://www.ruby-forum.com/u/jmcervera)\
**Replies:** 3\
**Last updated:** [July 9, 2010, 9:37am UTC](https://www.ruby-forum.com/t/testing-equality/191255 "2010-07-09T09:37:05Z")

</div>

Hello How can I test equality with two objects when they include some attribute that is BigDecimal? if I make something like this: it “should …whatever” do obj = Factory.create(:my\_object) … MyObject.first.should …

---

## [Regular expressions in Ruby](https://www.ruby-forum.com/t/regular-expressions-in-ruby/190088)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 8\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/regular-expressions-in-ruby/190088 "2010-06-17T16:22:40Z")

</div>

I’m new to Ruby, and just want to ask about how to read the following statement from the “Agile Web D. With Rails, 3rd edition” book: %r{.(gif|jpg|png)$}i I knew that %r is a way to write a regular expression. But, w…

---

## [Require': No such file to load -- rubygems](https://www.ruby-forum.com/t/require-no-such-file-to-load-rubygems/188771)

<div class="topic-metadata">

**Author:** [@gerry87](https://www.ruby-forum.com/u/gerry87)\
**Replies:** 3\
**Last updated:** [May 18, 2010, 4:35pm UTC](https://www.ruby-forum.com/t/require-no-such-file-to-load-rubygems/188771 "2010-05-18T16:35:59Z")

</div>

Hey, Was wondering if someone could help, as usual I think I might have messed things up a bit. (Complete noob). I’m on Leopard, ruby 1.8 gem 1.3.7. The problem i’m having is whenever I use require ‘rubygems’ i get t…

---

## [State-based expectations (as per jMock in GOOS)](https://www.ruby-forum.com/t/state-based-expectations-as-per-jmock-in-goos/180369)

<div class="topic-metadata">

**Author:** [@Ashley\_M](https://www.ruby-forum.com/u/Ashley_M)\
**Replies:** 3\
**Last updated:** [December 18, 2009, 4:17pm UTC](https://www.ruby-forum.com/t/state-based-expectations-as-per-jmock-in-goos/180369 "2009-12-18T16:17:39Z")

</div>

Hi all I’m working my way through Growing Object-Oriented Software\[1\], currently at the start of chapter 15. Chapter 14 introduces a concept I haven’t seen before, state-based expectations based on sent messages. Th…

---

## [Leggere un file iso8859-15 e convertirlo in utf8](https://www.ruby-forum.com/t/leggere-un-file-iso8859-15-e-convertirlo-in-utf8/179374)

<div class="topic-metadata">

**Author:** [@matteobo77](https://www.ruby-forum.com/u/matteobo77)\
**Replies:** 3\
**Last updated:** [November 24, 2009, 10:39am UTC](https://www.ruby-forum.com/t/leggere-un-file-iso8859-15-e-convertirlo-in-utf8/179374 "2009-11-24T10:39:46Z")

</div>

Salve a tutti, sto cercando di fare un parsing di un file di thunderbird che contiene i testi di alcune email. Il problema Ã¨ che non riesco a visualizzare correttamente le lettere accentate, vista la differenza di c…

---

## [FYI review: Fix for SL build](https://www.ruby-forum.com/t/fyi-review-fix-for-sl-build/176454)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [September 30, 2009, 8:32pm UTC](https://www.ruby-forum.com/t/fyi-review-fix-for-sl-build/176454 "2009-09-30T20:32:49Z")

</div>

Fix to irtests.rb for changing Silverlight install folder (it has changed once again to 3.0.40818.0)

---

## [Migration of existant data](https://www.ruby-forum.com/t/migration-of-existant-data/169744)

<div class="topic-metadata">

**Author:** [@moustach](https://www.ruby-forum.com/u/moustach)\
**Replies:** 3\
**Last updated:** [June 9, 2009, 11:17am UTC](https://www.ruby-forum.com/t/migration-of-existant-data/169744 "2009-06-09T11:17:57Z")

</div>

Hi, I’m actually coding an application which use data from an other one. (Zone \> Region \> Country \> Location exactly) which are not in the best form. There are primary keys defined on the names of the zone / region / …

---

## [Named routes in link\_to wrapper](https://www.ruby-forum.com/t/named-routes-in-link-to-wrapper/166316)

<div class="topic-metadata">

**Author:** [@aawilson](https://www.ruby-forum.com/u/aawilson)\
**Replies:** 3\
**Last updated:** [April 29, 2009, 2:52am UTC](https://www.ruby-forum.com/t/named-routes-in-link-to-wrapper/166316 "2009-04-29T02:52:43Z")

</div>

I am trying to create a custom link\_to helper that passes sort parameters to a link. It has the following code, which is pretty much just a rewrite of link\_to: def sort\_link\_to(sort, old\_sort, old\_dir, \*args, &block) …

---

## [Problem with refresh\_specs](https://www.ruby-forum.com/t/problem-with-refresh-specs/159997)

<div class="topic-metadata">

**Author:** [@jschank](https://www.ruby-forum.com/u/jschank)\
**Replies:** 3\
**Last updated:** [February 12, 2009, 6:53pm UTC](https://www.ruby-forum.com/t/problem-with-refresh-specs/159997 "2009-02-12T18:53:54Z")

</div>

Hello, I recently unpacked the latest (1.1.12) rspec and rspec rails in my applicaiton. When I run my specs I get: config.gem: Unpacked gem rspec-1.1.12 in vendor/gems has no specification file. Run ‘rake gems:refre…

---

## [Documentation about the returns method](https://www.ruby-forum.com/t/documentation-about-the-returns-method/157740)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 3\
**Last updated:** [January 16, 2009, 4:20pm UTC](https://www.ruby-forum.com/t/documentation-about-the-returns-method/157740 "2009-01-16T16:20:32Z")

</div>

Hi, From the railscasts website source code, in the episodes\_controller\_spec I read: it “index action with search should search published episodes” do Episode.expects(:search\_published).with(‘foo’).returns(Episode.al…

---

## [Marvell Yukon 88E8039 PCI-E Ethernet - USRP2](https://www.ruby-forum.com/t/marvell-yukon-88e8039-pci-e-ethernet-usrp2/156573)

<div class="topic-metadata">

**Author:** [@snow98](https://www.ruby-forum.com/u/snow98)\
**Replies:** 3\
**Last updated:** [December 31, 2008, 2:20am UTC](https://www.ruby-forum.com/t/marvell-yukon-88e8039-pci-e-ethernet-usrp2/156573 "2008-12-31T02:20:06Z")

</div>

Hi I recently installed fedora 9 and GNU radio on laptop computer (COMPAQ Presario V3700, Marvell Yukon 88E8039 PCI-E Ethernet) but USRP2 is not recognized. (Running “find\_usrp” keeps printing “No USRP2 found.”) I ha…

---

## [From within a View, how can I render the text output from a separate controller action?](https://www.ruby-forum.com/t/from-within-a-view-how-can-i-render-the-text-output-from-a-separate-controller-action/154989)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [December 7, 2008, 5:47am UTC](https://www.ruby-forum.com/t/from-within-a-view-how-can-i-render-the-text-output-from-a-separate-controller-action/154989 "2008-12-07T05:47:44Z")

</div>

Hi, Question = From within a View, how can I render the text output from a separate controller action??? (call it graph/get\_data) So it’s not a partial, as what I want to do is make a separate call to get the data t…

---

## [Re: config.gem/rspec-rails/rspec bug (#577)](https://www.ruby-forum.com/t/re-config-gem-rspec-rails-rspec-bug-577/151460)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 3\
**Last updated:** [October 22, 2008, 12:27pm UTC](https://www.ruby-forum.com/t/re-config-gem-rspec-rails-rspec-bug-577/151460 "2008-10-22T12:27:21Z")

</div>

Hey all, Just a heads up about a bug related to configuring the rspec gems in your rails 2.1.1 projects: Lighthouse - Beautifully Simple Issue Tracking Apparently, if you config.gem both rspec and rspec-rails 1.1.9 w…

---

## [GiT and RSpec](https://www.ruby-forum.com/t/git-and-rspec/139294)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 3\
**Last updated:** [September 3, 2008, 1:52am UTC](https://www.ruby-forum.com/t/git-and-rspec/139294 "2008-09-03T01:52:45Z")

</div>

script/plugin install doesn’t support getting a specific version from git yet. To do that you have to use ‘git clone’ and then ‘git checkout 1.1.4’ (in this case). As an alternative to script/plugin or git-clone, yo…

---

## [Fleximage undefined method](https://www.ruby-forum.com/t/fleximage-undefined-method/142988)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 3\
**Last updated:** [August 6, 2008, 8:29pm UTC](https://www.ruby-forum.com/t/fleximage-undefined-method/142988 "2008-08-06T20:29:27Z")

</div>

I’ve just tried to follow the tutorial on the wiki, but i’m running into a problem. On my “view” page, I’m receiving this error: undefined method \`formatted\_photo\_path’ … around this line: \<%= image\_tag formatted\_ph…

---

## [Problem with switching to join table](https://www.ruby-forum.com/t/problem-with-switching-to-join-table/138905)

<div class="topic-metadata">

**Author:** [@amanda](https://www.ruby-forum.com/u/amanda)\
**Replies:** 8\
**Last updated:** [May 29, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/problem-with-switching-to-join-table/138905 "2008-05-29T16:27:43Z")

</div>

So I have classes: class Calendar \< ActiveRecord::Base has\_many :stamps class Stream \< Calendar has\_many :events, :through =\> :stamps class Audience \< Calendar has\_many :events, :through =\> :stamps class Stamp…

---

## [Binding a set\_foo function](https://www.ruby-forum.com/t/binding-a-set-foo-function/134190)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 3\
**Last updated:** [April 9, 2008, 3:27am UTC](https://www.ruby-forum.com/t/binding-a-set-foo-function/134190 "2008-04-09T03:27:19Z")

</div>

Trying to bind gdk\_window\_set\_composited, which is not defined as a property - should it be done the following way, e.g. with explicit duplication of code for the sake of supporting both .foo= and set\_foo()? — gtk/sr…

---

## [Rails app works only if created directly on server; transfer](https://www.ruby-forum.com/t/rails-app-works-only-if-created-directly-on-server-transfer/105940)

<div class="topic-metadata">

**Author:** [@Gary\_King](https://www.ruby-forum.com/u/Gary_King)\
**Replies:** 3\
**Last updated:** [June 5, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/rails-app-works-only-if-created-directly-on-server-transfer/105940 "2007-06-05T21:22:54Z")

</div>

Hey guys, I have a Rails deployment issue. If I run the ‘rails app\_name’ command on my server directly, then run that, then the app runs fine. But, if I run ‘rails app\_name’ on my desktop and then upload the app to th…

---

## [Fastthread installation fails - debian - w or w/o gem](https://www.ruby-forum.com/t/fastthread-installation-fails-debian-w-or-w-o-gem/86837)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [February 26, 2007, 8:33pm UTC](https://www.ruby-forum.com/t/fastthread-installation-fails-debian-w-or-w-o-gem/86837 "2007-02-26T20:33:50Z")

</div>

Hi, iam trying to install fastthread, but it fails with the message: Building native extensions. This could take a while… extconf.rb:1:in \`require’: no such file to load – mkmf (LoadError) from extconf.rb:1 ERROR: …

---

## [How to get version of installed rails](https://www.ruby-forum.com/t/how-to-get-version-of-installed-rails/82268)

<div class="topic-metadata">

**Author:** [@croese](https://www.ruby-forum.com/u/croese)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 3:23pm UTC](https://www.ruby-forum.com/t/how-to-get-version-of-installed-rails/82268 "2007-01-19T15:23:49Z")

</div>

hi guys, how do i get the version of installed rails? best regards chris

---

## [Count records returned by find?](https://www.ruby-forum.com/t/count-records-returned-by-find/72118)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 3\
**Last updated:** [October 14, 2006, 3:00pm UTC](https://www.ruby-forum.com/t/count-records-returned-by-find/72118 "2006-10-14T15:00:21Z")

</div>

I just want to create a simple “no records returned” - using this statement though @positions = pq.find if @positions.count \< 1 generates “undefined method \`count’ for #Array:0x4b0adc8” I’m not looking to apply any…

---

## [How best to handle errors in object instaintiation (sp ?)](https://www.ruby-forum.com/t/how-best-to-handle-errors-in-object-instaintiation-sp/49554)

<div class="topic-metadata">

**Author:** [@russellf](https://www.ruby-forum.com/u/russellf)\
**Replies:** 3\
**Last updated:** [December 7, 2005, 6:22am UTC](https://www.ruby-forum.com/t/how-best-to-handle-errors-in-object-instaintiation-sp/49554 "2005-12-07T06:22:25Z")

</div>

Hi, I’m new to Ruby and still trying to figure out how best to do things “the Ruby way”. The particular problem I am looking at now is the initialize method of a class I am writing. Several things can go wrong in ca…

---

## [How to check if an object already exists in an array](https://www.ruby-forum.com/t/how-to-check-if-an-object-already-exists-in-an-array/243573)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [December 6, 2015, 11:58am UTC](https://www.ruby-forum.com/t/how-to-check-if-an-object-already-exists-in-an-array/243573 "2015-12-06T11:58:38Z")

</div>

I am making a task list. I have declared two classes, List and Task. I want to check if a task already exists in the task array and if it does I don’t want to add a task with similar name. the method I am looking to e…

---

## [Logs show massive spam of "proxy.php" access](https://www.ruby-forum.com/t/logs-show-massive-spam-of-proxy-php-access/235794)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 16, 2013, 7:50pm UTC](https://www.ruby-forum.com/t/logs-show-massive-spam-of-proxy-php-access/235794 "2013-07-16T19:50:53Z")

</div>

Hello, since I have installed nxginx on my Ubuntu LTS, I see the logs absolutely full of text like this: 2013/07/16 11:07:43 \[error\] 24590#0: \*445 rewrite or internal redirection cycle while internally redirecting …

---

## [Gnuradio installation windows](https://www.ruby-forum.com/t/gnuradio-installation-windows/235002)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [May 24, 2013, 5:05pm UTC](https://www.ruby-forum.com/t/gnuradio-installation-windows/235002 "2013-05-24T17:05:19Z")

</div>

I’m trying to follow the windows installation guidelines for gnuradio uhd driver: UDP send fast-path: It is important to change the default UDP behavior such that 1500 byte packets still travel through the fast path …

---

## [Missing methods](https://www.ruby-forum.com/t/missing-methods/228301)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 17, 2013, 2:41pm UTC](https://www.ruby-forum.com/t/missing-methods/228301 "2013-04-17T14:41:50Z")

</div>

Hi, while I’m on porting samples to Ruby-GTK3 I’ve stumbled over two missing methods. g\_object\_bind\_property gtk\_tree\_model\_get\_path Will they come, is there an alternative or have I hack around it? Cheers, detlef

---

## [Advance search using pg\_search gem passing three, two, one o nome parameters](https://www.ruby-forum.com/t/advance-search-using-pg-search-gem-passing-three-two-one-o-nome-parameters/225441)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [March 3, 2013, 9:23pm UTC](https://www.ruby-forum.com/t/advance-search-using-pg-search-gem-passing-three-two-one-o-nome-parameters/225441 "2013-03-03T21:23:38Z")

</div>

Hello I trying this search pg\_search\_scope :advance\_search, against: \[:title, :place, :category\], using: { tsearch: { dictionary: “spanish”} } def self.searchadv(title, place, category) advance\_search(:title =\> title…

---

## [Nginx with --with-http\_perl\_module compilation problems](https://www.ruby-forum.com/t/nginx-with-with-http-perl-module-compilation-problems/226441)

<div class="topic-metadata">

**Author:** [@gduarte](https://www.ruby-forum.com/u/gduarte)\
**Replies:** 1\
**Last updated:** [November 30, 2012, 6:13pm UTC](https://www.ruby-forum.com/t/nginx-with-with-http-perl-module-compilation-problems/226441 "2012-11-30T18:13:45Z")

</div>

Hello people, yesterday I started trying to compile nginx with http\_perl\_module, but, at the end of the compilation, the linkeditor gets confused about the archtecture it’s being linked. I’m using Mac OS/X 10.6.8. He…

---

## [Unexpected response code:400 while using nginx\_tcp\_proxy\_module for WebSocket](https://www.ruby-forum.com/t/unexpected-response-code-400-while-using-nginx-tcp-proxy-module-for-websocket/222159)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 15, 2012, 5:54pm UTC](https://www.ruby-forum.com/t/unexpected-response-code-400-while-using-nginx-tcp-proxy-module-for-websocket/222159 "2012-08-15T17:54:34Z")

</div>

Hello, We are trying to use nginx\_tcp\_proxy\_module for WebSocket with the back-end CometD/Jetty. Direct CometD exposed to public is working fine and it goes with WebSocket but through nginx the transport switch to l…

---

## [WillPaginate Plugin](https://www.ruby-forum.com/t/willpaginate-plugin/217949)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 22, 2012, 9:40pm UTC](https://www.ruby-forum.com/t/willpaginate-plugin/217949 "2012-03-22T21:40:48Z")

</div>

Hola buen dia, alguien ha usado el plugin WillPaginate, me tope con el y pues ahora ando jugandomela a semi-dios, inventando marafacas cosas, asi que me surge una duda, Este plugin solo sirve para paginar tablas en la…

---

## [Exception Notification plugin install issue](https://www.ruby-forum.com/t/exception-notification-plugin-install-issue/202873)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 3, 2011, 11:28am UTC](https://www.ruby-forum.com/t/exception-notification-plugin-install-issue/202873 "2011-03-03T11:28:42Z")

</div>

Hi, I am a newbie to rails. I am trying to install the exception notification plugin into my rails app, I am unable to do it. I also had a doubt wrt this thing, is it mandatory that we need to install a gem like this…

---

## [ANN: Last.fm sidebar](https://www.ruby-forum.com/t/ann-last-fm-sidebar/174901)

<div class="topic-metadata">

**Author:** [@Michael\_Dever](https://www.ruby-forum.com/u/Michael_Dever)\
**Replies:** 1\
**Last updated:** [September 4, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/ann-last-fm-sidebar/174901 "2009-09-04T15:06:04Z")

</div>

Hey all, I’d like to announce my first sidebar for Typo. Being new to Typo, I tried to get the Audioscrobbler sidebar installed when I installed Typo last weekend, but it wouldn’t work, so I said I’d write my own. …

---

## [How to make an alternating hover table in Rails](https://www.ruby-forum.com/t/how-to-make-an-alternating-hover-table-in-rails/171183)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 10:47pm UTC](https://www.ruby-forum.com/t/how-to-make-an-alternating-hover-table-in-rails/171183 "2009-06-27T22:47:27Z")

</div>

Well, there’s not much I can offer to the community as of yet, but I figure I can offer what I do know. I’m pretty solid with javascript and css and table formatting. So, I wanted to show you how to make a table tha…

---

## [Recomendaciones e ideas sobre modelo MVC](https://www.ruby-forum.com/t/recomendaciones-e-ideas-sobre-modelo-mvc/140247)

<div class="topic-metadata">

**Author:** [@peyisar](https://www.ruby-forum.com/u/peyisar)\
**Replies:** 1\
**Last updated:** [June 12, 2008, 10:59am UTC](https://www.ruby-forum.com/t/recomendaciones-e-ideas-sobre-modelo-mvc/140247 "2008-06-12T10:59:02Z")

</div>

hola gente, como estan? Soy nuevo y queria contarles que estoy haciendo un pequenio sistema. Queria pedirle consejo sobre el modelo MVC, o sea, por donde comenzar ( por ej por la parte logica ) y por donde terminar ( …

---

## [Working with Dir.glob](https://www.ruby-forum.com/t/working-with-dir-glob/253566)

<div class="topic-metadata">

**Author:** [@Cufe](https://www.ruby-forum.com/u/Cufe)\
**Replies:** 0\
**Last updated:** [January 12, 2020, 11:59pm UTC](https://www.ruby-forum.com/t/working-with-dir-glob/253566 "2020-01-12T23:59:46Z")

</div>

So I’ve been working with Dir class lately, and this is what I came up with. I would like to share it and see how others would use this code. def find\_file(file\_name) usr\_dir = Dir.glob("#{Dir.home}/\*\*/") usr\_dir.eac…

---

## [Mocking a reference to a polymorphic model?](https://www.ruby-forum.com/t/mocking-a-reference-to-a-polymorphic-model/218157)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 22, 2012, 6:27pm UTC](https://www.ruby-forum.com/t/mocking-a-reference-to-a-polymorphic-model/218157 "2012-03-22T18:27:23Z")

</div>

The basic question: how do you mock a reference to a polymorphic class in RSpec? Trying the obvious thing leads to an error of the form: undefined method \`base\_class’ for Post:Class === The details: file: app/models…

---

## [\[ANN\] Typo 6.0.2 is out](https://www.ruby-forum.com/t/ann-typo-6-0-2-is-out/202452)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 29, 2011, 1:10pm UTC](https://www.ruby-forum.com/t/ann-typo-6-0-2-is-out/202452 "2011-01-29T13:10:10Z")

</div>

Hi list, Coming only 11 days after Typo 6.0, Typo 6.0.2 is the third release of the Irving Penn series. This is both another bug fixing release, and the beggining of a new feature oriented one, and despite the minor v…

---

## [Net::ldap no bind result](https://www.ruby-forum.com/t/net-ldap-no-bind-result/122726)

<div class="topic-metadata">

**Author:** [@davox](https://www.ruby-forum.com/u/davox)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 10:42am UTC](https://www.ruby-forum.com/t/net-ldap-no-bind-result/122726 "2007-12-11T10:42:10Z")

</div>

Hi, im having some trouble using net::ldap. bind doesnt return anything (not even false) i basically use this code: user,psw = ‘test’, ‘test’ ldap = Net::LDAP.new(:host =\> ‘myldapserverip’, :port =\> 636, :base =\>‘d…

---

## [Why if executes two times?](https://www.ruby-forum.com/t/why-if-executes-two-times/222015)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [August 9, 2012, 12:19pm UTC](https://www.ruby-forum.com/t/why-if-executes-two-times/222015 "2012-08-09T12:19:19Z")

</div>

If I set a breakpoint at if statement, I see that the statement gets executed two times… why so?

---

## [Descrambling radio waves](https://www.ruby-forum.com/t/descrambling-radio-waves/220754)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [June 19, 2012, 5:14pm UTC](https://www.ruby-forum.com/t/descrambling-radio-waves/220754 "2012-06-19T17:14:39Z")

</div>

Hi I am researching methods/algorithms to perform descrambling of scrambled radio waves as part of a research project. I was hoping to find out if anyone here knows about or has resources where GNU radio is being u…

---

## [Inconsistent behaviour when working with a string](https://www.ruby-forum.com/t/inconsistent-behaviour-when-working-with-a-string/217579)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [March 6, 2012, 11:37am UTC](https://www.ruby-forum.com/t/inconsistent-behaviour-when-working-with-a-string/217579 "2012-03-06T11:37:29Z")

</div>

Hi List, I’m writing a supposedly simple program to help me sort some files in to a different data structure. I have ~2 million files that look either like this access1202241814.merged.log.bz2 or this access\_denied…

---

## [Stuck at an Issue with OptParse and File IO](https://www.ruby-forum.com/t/stuck-at-an-issue-with-optparse-and-file-io/210648)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [August 15, 2011, 8:12am UTC](https://www.ruby-forum.com/t/stuck-at-an-issue-with-optparse-and-file-io/210648 "2011-08-15T08:12:28Z")

</div>

Hi, i am picking default values that i am using in optparser class, something like this… options.logfile = LOGFILE options.results\_dir = Pathname.new(ENV\[‘TEMP’\]) PROG = Pathname.new($0).basename EFIX = PROG.sub(/……

---

## [1.0.2+ wont build](https://www.ruby-forum.com/t/1-0-2-wont-build/208897)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [June 30, 2011, 4:44pm UTC](https://www.ruby-forum.com/t/1-0-2-wont-build/208897 "2011-06-30T16:44:11Z")

</div>

In auto/cc/gcc, you have: CFLAGS="$CFLAGS -Werror" and CFLAGS="$CFLAGS -Wunused-variable" so when building 1.0.2+ you receive this error: gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-fun…

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

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