# Top

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

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

---

## [Weird errors with self-installed ruby 1.8.3 on Mac OS X 10.4](https://www.ruby-forum.com/t/weird-errors-with-self-installed-ruby-1-8-3-on-mac-os-x-10-4/49171)

<div class="topic-metadata">

**Author:** [@jon.evans](https://www.ruby-forum.com/u/jon.evans)\
**Replies:** 2\
**Last updated:** [December 22, 2005, 8:26pm UTC](https://www.ruby-forum.com/t/weird-errors-with-self-installed-ruby-1-8-3-on-mac-os-x-10-4/49171 "2005-12-22T20:26:40Z")

</div>

Hi All, I’m hoping someone has seen this error before and can advise me. I was having problems with Switchtower hanging, and I found a blog posting which pointed the finger at Apple’s install of Ruby 1.8.2 (?). I do…

---

## [System Tray Icon](https://www.ruby-forum.com/t/system-tray-icon/99538)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 2\
**Last updated:** [December 13, 2005, 11:30am UTC](https://www.ruby-forum.com/t/system-tray-icon/99538 "2005-12-13T11:30:56Z")

</div>

Any one know of a simple way to load an icon to the system tray via Ruby? Ideally, I’d like cross platform, but would settle for Windows only. My goal is to make a simple utility that runs in the background, runs the…

---

## [Testing pipeline for plugins](https://www.ruby-forum.com/t/testing-pipeline-for-plugins/49323)

<div class="topic-metadata">

**Author:** [@listbox](https://www.ruby-forum.com/u/listbox)\
**Replies:** 2\
**Last updated:** [December 2, 2005, 6:58pm UTC](https://www.ruby-forum.com/t/testing-pipeline-for-plugins/49323 "2005-12-02T18:58:23Z")

</div>

Hello Railers! I have a question regarding plugin testing. I currently have a number of plugins, most of which mix themselves either into AR (via meta- methods or direct extensions of the Base) or into AP (via pre- an…

---

## [Definition of "radians per sample"](https://www.ruby-forum.com/t/definition-of-radians-per-sample/234737)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 27, 2015, 2:59am UTC](https://www.ruby-forum.com/t/definition-of-radians-per-sample/234737 "2015-03-27T02:59:05Z")

</div>

Hello, the documentation for the PLL blocks in GNURadio says: “All settings max\_freq and min\_freq are in terms of radians per sample, NOT HERTZ.” Therefore I thought that to specify a bandwidth bw it would have to co…

---

## [Range request not working for gzipped content](https://www.ruby-forum.com/t/range-request-not-working-for-gzipped-content/231682)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 23, 2014, 1:44am UTC](https://www.ruby-forum.com/t/range-request-not-working-for-gzipped-content/231682 "2014-08-23T01:44:23Z")

</div>

I found that whenever Content-Encoding: gzip is on. Nginx will return 200 instead of 206. When gzip is off, nginx will return range request normally. Is that the expected behavior for nginx? Thanks Don Posted at N…

---

## [FastCGI caching and X-Accel-Redirect responses](https://www.ruby-forum.com/t/fastcgi-caching-and-x-accel-redirect-responses/231158)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 24, 2014, 3:29pm UTC](https://www.ruby-forum.com/t/fastcgi-caching-and-x-accel-redirect-responses/231158 "2014-07-24T15:29:55Z")

</div>

I have Nginx sitting in front of a php5-fpm pool via fastcgi. The application will serve static assets by means of responding with an X-Accel-Redirect to an internal location. My intention is to avoid repeatedly hitti…

---

## [Re: gr\_firdes.cc/firdes.cc - window functions - flawe](https://www.ruby-forum.com/t/re-gr-firdes-cc-firdes-cc-window-functions-flawe/246400)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [October 8, 2013, 8:26pm UTC](https://www.ruby-forum.com/t/re-gr-firdes-cc-firdes-cc-window-functions-flawe/246400 "2013-10-08T20:26:33Z")

</div>

$ git diff v3.6.3 HEAD gr-filter/lib/firdes.cc (but modified since you remain @ v3.6.3) diff --git a/gr-filter/lib/firdes.cc b/gr-filter/lib/firdes.cc index 5c3320d…d55a4ba 100644 — a/gr-filter/lib/firdes.cc +++ b/…

---

## [Maximum length of packets using benchmark\_tx/rx and packet\_utils](https://www.ruby-forum.com/t/maximum-length-of-packets-using-benchmark-tx-rx-and-packet-utils/226992)

<div class="topic-metadata">

**Author:** [@Chris\_Valenta](https://www.ruby-forum.com/u/Chris_Valenta)\
**Replies:** 1\
**Last updated:** [February 28, 2013, 3:08pm UTC](https://www.ruby-forum.com/t/maximum-length-of-packets-using-benchmark-tx-rx-and-packet-utils/226992 "2013-02-28T15:08:06Z")

</div>

Hey all, I’m curious if there is a reason why the maximum length for a digital packet payload is 4096 bits in packet\_utils.py Currently this is limited because of the length of the whitening mask, but if whitening is …

---

## [Use Time.zone.parse outside of Rails](https://www.ruby-forum.com/t/use-time-zone-parse-outside-of-rails/224276)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [November 6, 2012, 1:45pm UTC](https://www.ruby-forum.com/t/use-time-zone-parse-outside-of-rails/224276 "2012-11-06T13:45:45Z")

</div>

Hi guys, I am trying to use an ActiveRecord function in a Ruby script, and I can’t get it to work. I am using ActiceRecord 3.2.8. require ‘active\_support/all’ Time.zone.parse(“2012-10-20”) NoMethodError: undefined…

---

## [Help stylesheet\_link\_tag](https://www.ruby-forum.com/t/help-stylesheet-link-tag/217436)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 1, 2012, 3:20pm UTC](https://www.ruby-forum.com/t/help-stylesheet-link-tag/217436 "2012-03-01T15:20:07Z")

</div>

I was reading the book “Agile Web D. with Rails 4th Edition”. In Chapter 11, Iteration C2: Adding a Page Layout 1 Pragprog Books Online Store 5 \<%= stylesheet\_link\_tag “scaffold” %\> \<%= stylesheet\_lin…

---

## [Session Gem: How to get line-by-line output from shell script using](https://www.ruby-forum.com/t/session-gem-how-to-get-line-by-line-output-from-shell-script-using/215624)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 11, 2012, 1:06am UTC](https://www.ruby-forum.com/t/session-gem-how-to-get-line-by-line-output-from-shell-script-using/215624 "2012-01-11T01:06:02Z")

</div>

Thanks in advance for your help! I need line-by-line output from a bash script from inside ruby (and ultimately, rails). So far, all I can get using IO.popen or backticks, is the output after the script has finished …

---

## [RDoc - Multiline description list](https://www.ruby-forum.com/t/rdoc-multiline-description-list/215081)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [December 21, 2011, 4:15pm UTC](https://www.ruby-forum.com/t/rdoc-multiline-description-list/215081 "2011-12-21T16:15:20Z")

</div>

I have a piece of RDoc in my code: # The following are the list of supported options: # # \[create\] Indicates if the address should be created; values are # \*always\*, \*never\*, \*sender\* or \*reciever\*. # # \[assert::\] Indi…

---

## [How to use Rjb on Windows 7?](https://www.ruby-forum.com/t/how-to-use-rjb-on-windows-7/212476)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 4, 2011, 10:32pm UTC](https://www.ruby-forum.com/t/how-to-use-rjb-on-windows-7/212476 "2011-10-04T22:32:41Z")

</div>

My OS is Windows 7. My Ruby version is ruby 1.9.2p290 (2011-07-09) \[i386-mingw32\] I have downloaded rjb-1.3.5-x86-mswin32-60.gem from RubyForge and install it gem install rjb-1.3.5-x86-mswin32-60.gem --local No erro…

---

## [How to check at which GPS time correspond the pps edge of set\_time\_next\_pps()](https://www.ruby-forum.com/t/how-to-check-at-which-gps-time-correspond-the-pps-edge-of-set-time-next-pps/210320)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [August 4, 2011, 9:29pm UTC](https://www.ruby-forum.com/t/how-to-check-at-which-gps-time-correspond-the-pps-edge-of-set-time-next-pps/210320 "2011-08-04T21:29:45Z")

</div>

Hi USRP N210, UHD 3.2.1, GPSDO Jackson Labs installed windows7 Using set\_time\_next\_pps() How can I be sure at which GPS time (in seconds from 01/01/1970) the pps egde correspond to So far, here is how I do : \_ get…

---

## [Validates :presence](https://www.ruby-forum.com/t/validates-presence/208638)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [June 23, 2011, 5:54pm UTC](https://www.ruby-forum.com/t/validates-presence/208638 "2011-06-23T17:54:06Z")

</div>

Hello, comrads! I can’t understand some thing. For example, I have a table(mysql), which includes boolean field named :truly . Model name is Test I create a validation: validates :truly, :presence =\> true When I ad…

---

## [Watir is unable to click Facebook "Login" button after button.click is executed](https://www.ruby-forum.com/t/watir-is-unable-to-click-facebook-login-button-after-button-click-is-executed/206633)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 6, 2011, 1:30pm UTC](https://www.ruby-forum.com/t/watir-is-unable-to-click-facebook-login-button-after-button-click-is-executed/206633 "2011-05-06T13:30:22Z")

</div>

Hi, I tried to use Watir & ruby & IE9 to automate Facebook login but seems the “Login” button is protected by Facebook. Below is my code snip: ie = IE.new ie.goto(‘Log into Facebook’) ie.text\_field(:id, ‘email’).v…

---

## [Thinking sphinx: query price\> 0](https://www.ruby-forum.com/t/thinking-sphinx-query-price-0/205728)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 15, 2011, 4:37am UTC](https://www.ruby-forum.com/t/thinking-sphinx-query-price-0/205728 "2011-04-15T04:37:02Z")

</div>

Is a model of products with the indices define\_index do indexes: name indexes description has product\_shops.price,: as =\>: price has catalog\_product\_connections.catalog\_id,: as =\>: catalog\_id end Need ability to f…

---

## [RSpec2 issue with RCov](https://www.ruby-forum.com/t/rspec2-issue-with-rcov/201049)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [December 29, 2010, 2:41am UTC](https://www.ruby-forum.com/t/rspec2-issue-with-rcov/201049 "2010-12-29T02:41:22Z")

</div>

Hello, I am experiencing an issue with RSpec2, while running RCov. In my Rakefile, I have a task defined like this: namespace :test do desc "Run all specs." RSpec::Core::RakeTask.new(:spec) do |t| t.pattern =…

---

## [Printing in middle of an erb file](https://www.ruby-forum.com/t/printing-in-middle-of-an-erb-file/189969)

<div class="topic-metadata">

**Author:** [@dominic](https://www.ruby-forum.com/u/dominic)\
**Replies:** 1\
**Last updated:** [June 10, 2010, 6:45pm UTC](https://www.ruby-forum.com/t/printing-in-middle-of-an-erb-file/189969 "2010-06-10T18:45:28Z")

</div>

Hello, I’m having a problem to output things in the right order with erb1.9 and lighttpd . I don’t know if it’s the normal behaviour of erb but this is how it works for me: Content of my ERB file: test{\<%= 1 %\>2\<% pu…

---

## [ActionMailer](https://www.ruby-forum.com/t/actionmailer/178831)

<div class="topic-metadata">

**Author:** [@rolanghel](https://www.ruby-forum.com/u/rolanghel)\
**Replies:** 1\
**Last updated:** [November 20, 2009, 11:07am UTC](https://www.ruby-forum.com/t/actionmailer/178831 "2009-11-20T11:07:34Z")

</div>

hola, tengo una aplicacion en ror, que envia mensajes de correo, en el environment tengo lo siguiente: ActionMailer::Base.smtp\_settings = { :address =\> “smtp.gmail.com”, :port =\> “587”, :domain =\> “www.gmail.com”, …

---

## [Instead of MySql, use ActiveRecord or other ORM](https://www.ruby-forum.com/t/instead-of-mysql-use-activerecord-or-other-orm/175811)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 1\
**Last updated:** [September 20, 2009, 11:28am UTC](https://www.ruby-forum.com/t/instead-of-mysql-use-activerecord-or-other-orm/175811 "2009-09-20T11:28:25Z")

</div>

While it’s trivial to connect to the db with ActiveRecord: This call creates a connection to our database. ActiveRecord::Base.establish\_connection( :adapter =\> “mysql”, :host =\> “127.0.0.1”, :username =\> “ruby”, …

---

## [Undefined method 'fixtures' for UserTest:Class (NoMethodError)](https://www.ruby-forum.com/t/undefined-method-fixtures-for-usertest-class-nomethoderror/168223)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [May 18, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/undefined-method-fixtures-for-usertest-class-nomethoderror/168223 "2009-05-18T15:06:26Z")

</div>

Hi, I’m a noob trying to work through adding restful\_authentication to a blog. The login page allows me to login and I can create a post after loggin in…but my rake:test units won’t run because I’m getting an undefin…

---

## [Floating Point exception w/ down server in upstream](https://www.ruby-forum.com/t/floating-point-exception-w-down-server-in-upstream/166874)

<div class="topic-metadata">

**Author:** [@JacobSingh](https://www.ruby-forum.com/u/JacobSingh)\
**Replies:** 1\
**Last updated:** [April 30, 2009, 1:28pm UTC](https://www.ruby-forum.com/t/floating-point-exception-w-down-server-in-upstream/166874 "2009-04-30T13:28:04Z")

</div>

Hello, I’ve been using nginx pretty successfully for awhile, and this problem started recently. I’ve got CentOS 5 and the nginx from yum (nginx/0.6.32). Here is my config: upstream search1.us\_seach { server …

---

## [Impossible de dÃ©marrer mongrel](https://www.ruby-forum.com/t/impossible-de-da-marrer-mongrel/165786)

<div class="topic-metadata">

**Author:** [@angelo](https://www.ruby-forum.com/u/angelo)\
**Replies:** 1\
**Last updated:** [April 17, 2009, 1:54pm UTC](https://www.ruby-forum.com/t/impossible-de-da-marrer-mongrel/165786 "2009-04-17T13:54:50Z")

</div>

Bonjour à tous, j’ai encore un problème dans mon installation Après avoir voulu essayé de passer de ruby vers jruby, je n’arrive plus à lancer mongrel J’ai suivi ce tutoriel pour essayer de passer à Jruby: et je me…

---

## [Rake db:test:purge , nil.object detected](https://www.ruby-forum.com/t/rake-dbpurge-nil-object-detected/163276)

<div class="topic-metadata">

**Author:** [@pietia](https://www.ruby-forum.com/u/pietia)\
**Replies:** 1\
**Last updated:** [March 18, 2009, 10:01pm UTC](https://www.ruby-forum.com/t/rake-dbpurge-nil-object-detected/163276 "2009-03-18T22:01:19Z")

</div>

Hii have problem running rake db:test:purge ( my test database is empty ) : adter running with trace it shouts : matthew:rails code pietia$ rake db:test:purge --trace (in /Users/pietia/Documents/praca/projekty/silk/ra…

---

## [Ruby win32api call getMenuItemInfo](https://www.ruby-forum.com/t/ruby-win32api-call-getmenuiteminfo/159635)

<div class="topic-metadata">

**Author:** [@battreal](https://www.ruby-forum.com/u/battreal)\
**Replies:** 1\
**Last updated:** [March 10, 2009, 4:40am UTC](https://www.ruby-forum.com/t/ruby-win32api-call-getmenuiteminfo/159635 "2009-03-10T04:40:43Z")

</div>

Hi all, I have successfully managed to implement the following apis findWindow=Win32API.new(“user32.dll”, “FindWindow”, \[‘P’,‘P’\], ‘N’) sendMessage=Win32API.new(“user32.dll”, “SendMessage”,\[‘N’,‘N’,‘N’,‘P’\], ‘N’) ge…

---

## [Support for generic types of interfaces](https://www.ruby-forum.com/t/support-for-generic-types-of-interfaces/162341)

<div class="topic-metadata">

**Author:** [@stefan8107](https://www.ruby-forum.com/u/stefan8107)\
**Replies:** 1\
**Last updated:** [March 9, 2009, 7:27am UTC](https://www.ruby-forum.com/t/support-for-generic-types-of-interfaces/162341 "2009-03-09T07:27:55Z")

</div>

Hi I have found out that there is a problem if you tried to create a generic type of some interface. Here is an example: require ‘System’ include System include System::Collections::Generic List.of(ICloneable).n…

---

## [Acts\_as\_authentificated ), problÃ¨me, logs bizarres](https://www.ruby-forum.com/t/acts-as-authentificated-probla-me-logs-bizarres/159487)

<div class="topic-metadata">

**Author:** [@chil](https://www.ruby-forum.com/u/chil)\
**Replies:** 1\
**Last updated:** [February 8, 2009, 12:47pm UTC](https://www.ruby-forum.com/t/acts-as-authentificated-probla-me-logs-bizarres/159487 "2009-02-08T12:47:24Z")

</div>

Salut, Je viens de mettre en production mon application et j’ai affaire Ã un problÃ¨me qui n’existait pas auparavant et je n’arrive pas Ã trouver la cause mÃªme dans les logs. J’utilise rails 1.2.3 (le site a Ã©tÃ©…

---

## [I have a problem in executing following line](https://www.ruby-forum.com/t/i-have-a-problem-in-executing-following-line/146356)

<div class="topic-metadata">

**Author:** [@muhammad-usman](https://www.ruby-forum.com/u/muhammad-usman)\
**Replies:** 1\
**Last updated:** [August 20, 2008, 9:40am UTC](https://www.ruby-forum.com/t/i-have-a-problem-in-executing-following-line/146356 "2008-08-20T09:40:35Z")

</div>

when i run ruby script/generate scaffold Item Manage it displays: wrong number of arguments(1 for 2) i am using book “Biggining ruby on rails”

---

## [Mise en place de ImageScience](https://www.ruby-forum.com/t/mise-en-place-de-imagescience/145264)

<div class="topic-metadata">

**Author:** [@damienmckenna](https://www.ruby-forum.com/u/damienmckenna)\
**Replies:** 1\
**Last updated:** [August 7, 2008, 1:51pm UTC](https://www.ruby-forum.com/t/mise-en-place-de-imagescience/145264 "2008-08-07T13:51:19Z")

</div>

Bonjour, Je cherche à mettre en place le gem ImageScience sous Debian et à l’implémenter dans mon application Rails. Cependant celui-ci tente d’accéder à un répertoire pour lequel ce qui semble être une variable préd…

---

## [Custom Tokenizer not working](https://www.ruby-forum.com/t/custom-tokenizer-not-working/135625)

<div class="topic-metadata">

**Author:** [@S\_D](https://www.ruby-forum.com/u/S_D)\
**Replies:** 1\
**Last updated:** [April 23, 2008, 7:09pm UTC](https://www.ruby-forum.com/t/custom-tokenizer-not-working/135625 "2008-04-23T19:09:05Z")

</div>

First, thanks to Jens K. for pointing a stupid error on my part regarding the use of test\_token\_stream(). My current problem, a custom tokenizer I’ve written in Ruby does not properly create an index (or at least sea…

---

## [Strange permissions error](https://www.ruby-forum.com/t/strange-permissions-error/128080)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 1\
**Last updated:** [February 4, 2008, 11:52pm UTC](https://www.ruby-forum.com/t/strange-permissions-error/128080 "2008-02-04T23:52:39Z")

</div>

While trying to run a rake task which accesses the ferret index, I keep getting this error: Permission denied - script/…/config/…/index/production/shared/rebuild I have run chgrp and chmod appropriately and am fairly …

---

## [Displaying special characters (li ke Ã©)](https://www.ruby-forum.com/t/displaying-special-characters-li-ke-a/125250)

<div class="topic-metadata">

**Author:** [@Daniel\_Doorduin](https://www.ruby-forum.com/u/Daniel_Doorduin)\
**Replies:** 1\
**Last updated:** [January 7, 2008, 3:31pm UTC](https://www.ruby-forum.com/t/displaying-special-characters-li-ke-a/125250 "2008-01-07T15:31:13Z")

</div>

Hi wx guru’s, When I want to display strings with special characters like Ã© (e + /) in a wxRuby gui element, only an empty string is displayed. Not only the ‘special’ characters are hidden but all characters! I am …

---

## [MultiTerm query segfault - remote denial of service](https://www.ruby-forum.com/t/multiterm-query-segfault-remote-denial-of-service/114213)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 1\
**Last updated:** [September 10, 2007, 9:38am UTC](https://www.ruby-forum.com/t/multiterm-query-segfault-remote-denial-of-service/114213 "2007-09-10T09:38:10Z")

</div>

Hi ferreteers, I came across a segfault in the query parser. It had already been reported\[1\] and fixed\[2\], but it can lead to a denial of service. If you use Ferret anywhere that you allow users to execute queries, …

---

## [Nested REST resource routes without controller name](https://www.ruby-forum.com/t/nested-rest-resource-routes-without-controller-name/112266)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 1\
**Last updated:** [August 16, 2007, 10:47pm UTC](https://www.ruby-forum.com/t/nested-rest-resource-routes-without-controller-name/112266 "2007-08-16T22:47:16Z")

</div>

I am curious if the following URL pattern is appropriate to use with REST and map.resources: Let’s say I want to build a website with information about cars. I decide that there will be a page to view/manage cars by…

---

## [Multiple layers nested has\_many through](https://www.ruby-forum.com/t/multiple-layers-nested-has-many-through/106261)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 1\
**Last updated:** [July 13, 2007, 8:31am UTC](https://www.ruby-forum.com/t/multiple-layers-nested-has-many-through/106261 "2007-07-13T08:31:15Z")

</div>

I’ve seen previous posts finding ways to do multiple has\_many :through assocations like the following class A \< ActiveRecord::Base has\_many :xs has\_many :ys, :through=\>:xs has\_many :zs, :through=\>:ys end I’ve seen…

---

## [ETS eMoney?](https://www.ruby-forum.com/t/ets-emoney/76403)

<div class="topic-metadata">

**Author:** [@random52k](https://www.ruby-forum.com/u/random52k)\
**Replies:** 1\
**Last updated:** [November 19, 2006, 1:27am UTC](https://www.ruby-forum.com/t/ets-emoney/76403 "2006-11-19T01:27:48Z")

</div>

Anyone used ETS Corporation’s EMoney ECOM Gateway ? I’m working on a project that will have to interface to it and if the work has already been done was hoping not to re-invent the wheel. Failing that, which payment …

---

## [Is there a bug with habtm and the "\_ids" method?](https://www.ruby-forum.com/t/is-there-a-bug-with-habtm-and-the-ids-method/72089)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [October 17, 2006, 3:23pm UTC](https://www.ruby-forum.com/t/is-there-a-bug-with-habtm-and-the-ids-method/72089 "2006-10-17T15:23:20Z")

</div>

Hi, Is there some problem with the habtm “\_ids” function. See this example: class User \< ActiveRecord::Base has\_and\_belongs\_to\_many :groups end class Group \< ActiveRecord::Base has\_and\_belongs\_to\_many :users end …

---

## [Uninitialized constant error](https://www.ruby-forum.com/t/uninitialized-constant-error/95666)

<div class="topic-metadata">

**Author:** [@thillerson](https://www.ruby-forum.com/u/thillerson)\
**Replies:** 1\
**Last updated:** [January 19, 2006, 10:51am UTC](https://www.ruby-forum.com/t/uninitialized-constant-error/95666 "2006-01-19T10:51:38Z")

</div>

I have a single table inheritance model for some classes Payment \< ActiveRecord::Base CreditCardPayment \< Payment ECheckPayment \< Payment ManualPayment \< Payment they all get persisted to the payments table I’m get…

---

## [Req: more usable search](https://www.ruby-forum.com/t/req-more-usable-search/50372)

<div class="topic-metadata">

**Author:** [@hatless](https://www.ruby-forum.com/u/hatless)\
**Replies:** 1\
**Last updated:** [December 15, 2005, 11:31pm UTC](https://www.ruby-forum.com/t/req-more-usable-search/50372 "2005-12-15T23:31:33Z")

</div>

As far as I can tell, the current search function only does single-word or maybe phrase searches. Not so useful. Boolean search syntax would be fine, but I think you;d get the most usability out of basic typical searc…

---

## [Rails-0.14.3 Error?](https://www.ruby-forum.com/t/rails-0-14-3-error/47570)

<div class="topic-metadata">

**Author:** [@peter.j.donald](https://www.ruby-forum.com/u/peter.j.donald)\
**Replies:** 1\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/rails-0-14-3-error/47570 "2005-11-12T12:49:30Z")

</div>

Hi, I upgraded to 0.14.3 from 0.14.2 and started receiving an error for the following code; class Project \< ActiveRecord::Base … has\_many :versions, :order =\> ‘position ASC’ … def unarchived\_versions versions.sel…

---

## [Nokogiri: How to get the data from the following page?](https://www.ruby-forum.com/t/nokogiri-how-to-get-the-data-from-the-following-page/259608)

<div class="topic-metadata">

**Author:** [@Phimer951](https://www.ruby-forum.com/u/Phimer951)\
**Replies:** 0\
**Last updated:** [May 19, 2020, 12:21pm UTC](https://www.ruby-forum.com/t/nokogiri-how-to-get-the-data-from-the-following-page/259608 "2020-05-19T12:21:33Z")

</div>

Hi, I´m relatively new into programming and I´m trying to get the name, price, etc. from each product of the following link: “%category-title% günstig online kaufen bei Conrad”. My Code: require “open-uri” require “No…

---

## [Advanced Form Building Technique](https://www.ruby-forum.com/t/advanced-form-building-technique/259516)

<div class="topic-metadata">

**Author:** [@dcoder](https://www.ruby-forum.com/u/dcoder)\
**Replies:** 0\
**Last updated:** [May 8, 2020, 2:01pm UTC](https://www.ruby-forum.com/t/advanced-form-building-technique/259516 "2020-05-08T14:01:20Z")

</div>

I am attempting to pre-populate a form and generate that form based on preferences in a separate model. I will layout the design logic for my concept. Because, its needed for filling in unique data for a specified facili…

---

## [Code review request](https://www.ruby-forum.com/t/code-review-request/251996)

<div class="topic-metadata">

**Author:** [@rishard](https://www.ruby-forum.com/u/rishard)\
**Replies:** 0\
**Last updated:** [March 1, 2019, 3:20pm UTC](https://www.ruby-forum.com/t/code-review-request/251996 "2019-03-01T15:20:33Z")

</div>

Hello. Can I ask for a little review of my code? I have been a php-developer for a long time. I really want to learn professional programming on rubi / ruby on rails. This is my class, this is my controller. Please te…

---

## [Solr Search with one to many associations](https://www.ruby-forum.com/t/solr-search-with-one-to-many-associations/238947)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [February 5, 2014, 10:04am UTC](https://www.ruby-forum.com/t/solr-search-with-one-to-many-associations/238947 "2014-02-05T10:04:03Z")

</div>

I have a 2 entities which have one to many relation say teacher and slot. Each teacher has many classes he/she takes up and each class is a slot. I want to perform search on teacher by sunspot solr for all the teacher…

---

## [UHD source headers in next](https://www.ruby-forum.com/t/uhd-source-headers-in-next/227828)

<div class="topic-metadata">

**Author:** [@copot](https://www.ruby-forum.com/u/copot)\
**Replies:** 3\
**Last updated:** [March 29, 2013, 8:48pm UTC](https://www.ruby-forum.com/t/uhd-source-headers-in-next/227828 "2013-03-29T20:48:51Z")

</div>

Greetings, Trying to use usrp\_source in a C++ application; it seems there is a mismatch between where the headers are installed and where they are supposed to be installed. The heqaders are installed in: include/gnur…

---

## [\[ANN\] Ruby-GNOME2 1.2.3](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-2-3/227482)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 0\
**Last updated:** [March 17, 2013, 1:53pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-2-3/227482 "2013-03-17T13:53:09Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 1.2.3: http://ruby-gnome2.sourceforge.jp/hiki.cgi?News\_20130317\_2 http://ruby-gnome2.sourceforge.jp/hiki.cgi?News\_20130317\_1 (Ruby-GNOME2 1.2.2 also had been released …

---

## [Add a line into a file at multiple locations above a existing line](https://www.ruby-forum.com/t/add-a-line-into-a-file-at-multiple-locations-above-a-existing-line/222306)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 27, 2012, 2:00pm UTC](https://www.ruby-forum.com/t/add-a-line-into-a-file-at-multiple-locations-above-a-existing-line/222306 "2012-08-27T14:00:35Z")

</div>

Hi All, I am working a ruby code to append lines to a existing file at some specified location. I do that by finding a particular string and append the line below that. In a certain case i am trying to add a particul…

---

## [Best way of implementing controllers for m:n model relation (Car-\>Parts)](https://www.ruby-forum.com/t/best-way-of-implementing-controllers-for-m-n-model-relation-car-parts/218687)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [April 11, 2012, 3:22pm UTC](https://www.ruby-forum.com/t/best-way-of-implementing-controllers-for-m-n-model-relation-car-parts/218687 "2012-04-11T15:22:10Z")

</div>

Hello, in the last few weeks I\`ve taken a clooser look on Ruby and I am actually impressed on how helpful this “toolset” is. However, prior to ruby I was mainly working with functional languages like ASP and PHP for …

---

## [(de)serialization problem with rails 3.2](https://www.ruby-forum.com/t/de-serialization-problem-with-rails-3-2/216277)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 29, 2012, 1:09am UTC](https://www.ruby-forum.com/t/de-serialization-problem-with-rails-3-2/216277 "2012-03-29T01:09:05Z")

</div>

I have a custom serializer object that I use for an attribute of ActiveRecord as presented in this article: If I assign a value to that attribute with a form (in my case a nested form), I don’t get the deserialized v…

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

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