# Top

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

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

---

## [Calling Rake Tasks From Within Ruby Code](https://www.ruby-forum.com/t/calling-rake-tasks-from-within-ruby-code/70411)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [December 5, 2006, 6:40pm UTC](https://www.ruby-forum.com/t/calling-rake-tasks-from-within-ruby-code/70411 "2006-12-05T18:40:20Z")

</div>

I need to call a rake task from within ruby code. I know that I can just do something like this: %x\[rake my\_rake\_task\] But, I need to wrap this in an ActiveRecord transaction. Is there a way to call a rake task w/o…

---

## [Pthreads](https://www.ruby-forum.com/t/pthreads/77928)

<div class="topic-metadata">

**Author:** [@semmons99](https://www.ruby-forum.com/u/semmons99)\
**Replies:** 2\
**Last updated:** [December 1, 2006, 7:23pm UTC](https://www.ruby-forum.com/t/pthreads/77928 "2006-12-01T19:23:12Z")

</div>

I need to write a quicksort using pthreads, and was hoping to use Ruby to do so (the Prof. just loves C/C++). Can anyone shed some light on what compiling ruby with pthreads actually does, and what I need to do to wr…

---

## [Seconds/Minutes/Days Ago](https://www.ruby-forum.com/t/seconds-minutes-days-ago/75762)

<div class="topic-metadata">

**Author:** [@jbeduya](https://www.ruby-forum.com/u/jbeduya)\
**Replies:** 2\
**Last updated:** [November 13, 2006, 8:50am UTC](https://www.ruby-forum.com/t/seconds-minutes-days-ago/75762 "2006-11-13T08:50:13Z")

</div>

Is this a ready made function in Ruby and/or Rails to display something like “20 minutes ago” with a given date and the current date? Thanks in advance.

---

## [Polymorphic assc. uses base\_class of object instead of class](https://www.ruby-forum.com/t/polymorphic-assc-uses-base-class-of-object-instead-of-class/72920)

<div class="topic-metadata">

**Author:** [@johan](https://www.ruby-forum.com/u/johan)\
**Replies:** 2\
**Last updated:** [October 20, 2006, 12:33am UTC](https://www.ruby-forum.com/t/polymorphic-assc-uses-base-class-of-object-instead-of-class/72920 "2006-10-20T00:33:55Z")

</div>

Example: class User \< ActiveRecord::Base end class Member \< User has\_one :blog, :as =\> :blogable end class Blog \< ActiveRecrod::Base belongs\_to :blogable, :polymorphic =\> true end The member.blog.blogable\_type i…

---

## [Pkcs#12](https://www.ruby-forum.com/t/pkcs-12/72437)

<div class="topic-metadata">

**Author:** [@prhlava](https://www.ruby-forum.com/u/prhlava)\
**Replies:** 2\
**Last updated:** [October 17, 2006, 1:33pm UTC](https://www.ruby-forum.com/t/pkcs-12/72437 "2006-10-17T13:33:23Z")

</div>

Hi, please, could you advise what I should use for working with pkcs#12 file? I tried OpenSSL::PKCS12, but #1 I could not find detailed docs on it #2 As I understand this class can only create pkcs12. My task is to…

---

## [Unset relationship on the fly](https://www.ruby-forum.com/t/unset-relationship-on-the-fly/71913)

<div class="topic-metadata">

**Author:** [@adrianliem](https://www.ruby-forum.com/u/adrianliem)\
**Replies:** 2\
**Last updated:** [October 12, 2006, 12:45pm UTC](https://www.ruby-forum.com/t/unset-relationship-on-the-fly/71913 "2006-10-12T12:45:32Z")

</div>

how can we unset an Active Record relationship of an instance on the fly? i have this: class User \< AR has\_one :profile end @user is the instance of User, and it has relationship to profile (@user.profile). the pro…

---

## [RE: Win32Serial Extension Library for Ruby](https://www.ruby-forum.com/t/re-win32serial-extension-library-for-ruby/71098)

<div class="topic-metadata">

**Author:** [@esox\_ch](https://www.ruby-forum.com/u/esox_ch)\
**Replies:** 2\
**Last updated:** [October 5, 2006, 4:14pm UTC](https://www.ruby-forum.com/t/re-win32serial-extension-library-for-ruby/71098 "2006-10-05T16:14:55Z")

</div>

Curiosità: non ti conviene usare la libreria MSCOMM di VB tramite win32ole? Cosi non dovresti compilare niente… jeko

---

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

<div class="topic-metadata">

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

</div>

Hi, just wanted to officially announce the release of acts\_as\_Ferret 0.3.0. As you see, I’m trying to catch up with Ferret’s version numbers :wink: svn://projects.jkraemer.net/acts\_as\_ferret/tags/0.3.0/ or svn://pro…

---

## [Self-Referential has\_many :through](https://www.ruby-forum.com/t/self-referential-has-many-through/100989)

<div class="topic-metadata">

**Author:** [@rurounijones](https://www.ruby-forum.com/u/rurounijones)\
**Replies:** 2\
**Last updated:** [August 3, 2006, 12:42pm UTC](https://www.ruby-forum.com/t/self-referential-has-many-through/100989 "2006-08-03T12:42:31Z")

</div>

Hello all. I am trying to create a self-referential has\_many :through. I used the following site as a guide http://blog.hasmanythrough.com/articles/2006/04/21/self-referential-through but it still doesn’t appear to b…

---

## [Virtual-domain behaviour](https://www.ruby-forum.com/t/virtual-domain-behaviour/99763)

<div class="topic-metadata">

**Author:** [@bodhi](https://www.ruby-forum.com/u/bodhi)\
**Replies:** 2\
**Last updated:** [July 25, 2006, 1:17pm UTC](https://www.ruby-forum.com/t/virtual-domain-behaviour/99763 "2006-07-25T13:17:14Z")

</div>

Hi All, I’m just throwing together a virtual domain behaviour, eg map dir.example.com internally to example.com/dir/. I got a prototype working, but when adding the code to select a child page based on the host name …

---

## [Agile Web Dev on Rails - ActiveRecord::RecordNotFound Prob](https://www.ruby-forum.com/t/agile-web-dev-on-rails-activerecord-recordnotfound-prob/96893)

<div class="topic-metadata">

**Author:** [@davet](https://www.ruby-forum.com/u/davet)\
**Replies:** 2\
**Last updated:** [July 3, 2006, 6:39pm UTC](https://www.ruby-forum.com/t/agile-web-dev-on-rails-activerecord-recordnotfound-prob/96893 "2006-07-03T18:39:05Z")

</div>

Hi there I’ve also made a start on the Agile Web Dev using Rails book! I’ve been hit with a problem when hitting the ‘Add to Cart’ button - I get the following error message: ActiveRecord::RecordNotFound in StoreCon…

---

## [Re: Speaking of eql? (was: Ruby and Java equality usage)](https://www.ruby-forum.com/t/re-speaking-of-eql-was-ruby-and-java-equality-usage/96254)

<div class="topic-metadata">

**Author:** [@MolitorS\_Stephen\_L](https://www.ruby-forum.com/u/MolitorS_Stephen_L)\
**Replies:** 2\
**Last updated:** [June 27, 2006, 8:26pm UTC](https://www.ruby-forum.com/t/re-speaking-of-eql-was-ruby-and-java-equality-usage/96254 "2006-06-27T20:26:20Z")

</div>

“Robert D.” removed\_email\_address@domain.invalid writes: Note something that’s peripherally related to == and eql? is the method “hash”, which subclasses MUST override if they override eql? or == so that the …

---

## [Base class model not found, even with require](https://www.ruby-forum.com/t/base-class-model-not-found-even-with-require/63338)

<div class="topic-metadata">

**Author:** [@hirodusk](https://www.ruby-forum.com/u/hirodusk)\
**Replies:** 2\
**Last updated:** [June 14, 2006, 11:33am UTC](https://www.ruby-forum.com/t/base-class-model-not-found-even-with-require/63338 "2006-06-14T11:33:02Z")

</div>

I want to create a base class for a few of my models, as follows: class SingletonRecord \< ActiveRecord::Base def self.get instance = self.find\_all\[0\] instance ||= Current.new return instance end def save …

---

## [Re: syslog lib/module for remote logging](https://www.ruby-forum.com/t/re-syslog-lib-module-for-remote-logging/95470)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 2\
**Last updated:** [June 2, 2006, 3:42pm UTC](https://www.ruby-forum.com/t/re-syslog-lib-module-for-remote-logging/95470 "2006-06-02T15:42:14Z")

</div>

fr Park: You can try something like this: require ‘socket’ require ‘win32/eventlog’ include Win32 syslog\_dest = 13 syslog\_port = 514 syslog\_server = ‘192.168.123.122’ s = UDPSocket.new EventLog.open(‘Application’).ta…

---

## [Date transform](https://www.ruby-forum.com/t/date-transform/94875)

<div class="topic-metadata">

**Author:** [@irong](https://www.ruby-forum.com/u/irong)\
**Replies:** 2\
**Last updated:** [May 18, 2006, 2:46am UTC](https://www.ruby-forum.com/t/date-transform/94875 "2006-05-18T02:46:48Z")

</div>

hi all, i want my users to enter a date in “ddmmyyyy” format, do someone know how may i transform it in “yyyy-mm-dd” in the controler before i add it to the base please? thks irong

---

## [LFRX board gain problems in usrp\_oscope?](https://www.ruby-forum.com/t/lfrx-board-gain-problems-in-usrp-oscope/59793)

<div class="topic-metadata">

**Author:** [@Brett\_L\_Trotter](https://www.ruby-forum.com/u/Brett_L_Trotter)\
**Replies:** 2\
**Last updated:** [May 11, 2006, 5:35am UTC](https://www.ruby-forum.com/t/lfrx-board-gain-problems-in-usrp-oscope/59793 "2006-05-11T05:35:41Z")

</div>

When I try and use usrp\_oscope.py on my USRP board with an LFRX board, setting gain at 4 or above results in a non-updating display. Setting below 3 works OK- though still have not been able to find an appropriate ant…

---

## [Newbie: OSX Ruby/MySQL issue?](https://www.ruby-forum.com/t/newbie-osx-ruby-mysql-issue/59971)

<div class="topic-metadata">

**Author:** [@Tim\_Jones](https://www.ruby-forum.com/u/Tim_Jones)\
**Replies:** 2\
**Last updated:** [May 9, 2006, 5:34pm UTC](https://www.ruby-forum.com/t/newbie-osx-ruby-mysql-issue/59971 "2006-05-09T17:34:23Z")

</div>

I’m three pages into the OnLamp RoR Tutorial \[1\] and am wrestling with what appears to be a MySQL connection problem. I’ve created a simple controller called “recipe” with a corresponding “recipes” mysql table. The re…

---

## [Installation of ruby on rail on linux fedora](https://www.ruby-forum.com/t/installation-of-ruby-on-rail-on-linux-fedora/58026)

<div class="topic-metadata">

**Author:** [@anil](https://www.ruby-forum.com/u/anil)\
**Replies:** 2\
**Last updated:** [April 18, 2006, 6:07am UTC](https://www.ruby-forum.com/t/installation-of-ruby-on-rail-on-linux-fedora/58026 "2006-04-18T06:07:02Z")

</div>

i installed and work fine with ruby on rails on windows. i used onlamp.com sites tutorial for that. now i want to install it on linux. how i can? Please help… Thank You in advance

---

## [Strange Error at the end of a succesful Migration](https://www.ruby-forum.com/t/strange-error-at-the-end-of-a-succesful-migration/57033)

<div class="topic-metadata">

**Author:** [@DSTaylor\_S](https://www.ruby-forum.com/u/DSTaylor_S)\
**Replies:** 2\
**Last updated:** [April 6, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/strange-error-at-the-end-of-a-succesful-migration/57033 "2006-04-06T19:15:54Z")

</div>

HI all, I’ve got a migration that creates a few new tables and populates a bunch of data into those tables from existing models. It works great. As expected. Tables are created. Relationships are made. Everything co…

---

## [These objects aren't equal..I'm confused](https://www.ruby-forum.com/t/these-objects-arent-equal-im-confused/55449)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 2\
**Last updated:** [March 21, 2006, 7:16am UTC](https://www.ruby-forum.com/t/these-objects-arent-equal-im-confused/55449 "2006-03-21T07:16:17Z")

</div>

I’m testing to see if two objects are equal. One is accessed directly from the fixture, and the other is accessed through a relationship. Here’s the test: def test\_hero assert\_equal players(:hero), hands(:first).her…

---

## [Has\_and\_belongs\_to\_many -- how to create test fixtures?](https://www.ruby-forum.com/t/has-and-belongs-to-many-how-to-create-test-fixtures/78912)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 2\
**Last updated:** [March 9, 2006, 1:01pm UTC](https://www.ruby-forum.com/t/has-and-belongs-to-many-how-to-create-test-fixtures/78912 "2006-03-09T13:01:51Z")

</div>

Hallo – can anyone offer me any pointers as to I should handle many-to-many relationships in Rails tests? Cheers, doug.

---

## [Strange problem with rb-postgres](https://www.ruby-forum.com/t/strange-problem-with-rb-postgres/75809)

<div class="topic-metadata">

**Author:** [@ngw](https://www.ruby-forum.com/u/ngw)\
**Replies:** 2\
**Last updated:** [March 3, 2006, 8:41pm UTC](https://www.ruby-forum.com/t/strange-problem-with-rb-postgres/75809 "2006-03-03T20:41:57Z")

</div>

Hi \*, I’m using rb-postgres: require ‘postgres’ begin dbh = PGconn.new(“127.0.0.1”, 5432, “”, “”, “test”, “usertest”, “passwdtest”) puts dbh.server\_version dbh.close rescue PGError =\> e puts e.message end This…

---

## [Passing a proc as block to a method from a C extension](https://www.ruby-forum.com/t/passing-a-proc-as-block-to-a-method-from-a-c-extension/70135)

<div class="topic-metadata">

**Author:** [@Dominik\_B](https://www.ruby-forum.com/u/Dominik_B)\
**Replies:** 2\
**Last updated:** [February 20, 2006, 1:49am UTC](https://www.ruby-forum.com/t/passing-a-proc-as-block-to-a-method-from-a-c-extension/70135 "2006-02-20T01:49:34Z")

</div>

Hi, I am looking for a way to do the equivalent of the following ruby function in a C extension: def foo(my\_proc) bar(&my\_proc) end (and it should also work if bar is instance\_eval or module\_eval) I couldn’t find…

---

## [SwitchTower and multiple database.yml files - how do you dea](https://www.ruby-forum.com/t/switchtower-and-multiple-database-yml-files-how-do-you-dea/96853)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 2\
**Last updated:** [January 24, 2006, 10:59pm UTC](https://www.ruby-forum.com/t/switchtower-and-multiple-database-yml-files-how-do-you-dea/96853 "2006-01-24T22:59:50Z")

</div>

Hi everyone, What are other people doing with regards to database.yml being in version control? My dilema: I set up my rails app in svn using these instructions: http://wiki.rubyonrails.com/rails/pages/HowtoUseRails…

---

## [Is there a best practice in dealing with javascript dependen](https://www.ruby-forum.com/t/is-there-a-best-practice-in-dealing-with-javascript-dependen/52087)

<div class="topic-metadata">

**Author:** [@Duane\_J](https://www.ruby-forum.com/u/Duane_J)\
**Replies:** 2\
**Last updated:** [January 11, 2006, 6:03pm UTC](https://www.ruby-forum.com/t/is-there-a-best-practice-in-dealing-with-javascript-dependen/52087 "2006-01-11T18:03:57Z")

</div>

As I’ve begun to work with several javascript libraries out there, I’ve run in to some dependency issues that must have been solved by others before. For example, I’m trying to implement the jstree library from Laurie …

---

## [Glimmer DSL for Web 0.8.2 HTML Value-less Boolean Attributes](https://www.ruby-forum.com/t/glimmer-dsl-for-web-0-8-2-html-value-less-boolean-attributes/268221)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [March 17, 2026, 2:11am UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-web-0-8-2-html-value-less-boolean-attributes/268221 "2026-03-17T02:11:51Z")

</div>

Glimmer DSL for Web (Fukuoka Award Winning Ruby-in-the-Browser Frontend Framework for Rails) had a new release in version 0.8.2, which now supports HTML Value-less Boolean Attributes, simplifying the Ruby HTML DSL whe…

---

## [Hiring ROR Engineers in Pune, India](https://www.ruby-forum.com/t/hiring-ror-engineers-in-pune-india/241482)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 9, 2015, 3:31pm UTC](https://www.ruby-forum.com/t/hiring-ror-engineers-in-pune-india/241482 "2015-04-09T15:31:13Z")

</div>

Hi!! We are hiring Ruby on Rails developers. Experience: 2.5 yrs - 6.0 yrs Job Location: Pune, India. Interested professionals can share your updated resume to my Mail: removed\_email\_address@domain.invalid

---

## [\[ruby-trunk - Bug #10421\] \[Closed\] BasicObject継承クラスで object\_id メソッドを定義すると redefining 警告が出る](https://www.ruby-forum.com/t/ruby-trunk-bug-10421-closed-basicobject-object-id-redefining/232708)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 23, 2014, 12:14pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-10421-closed-basicobject-object-id-redefining/232708 "2014-10-23T12:14:13Z")

</div>

Issue #10421 has been updated by Nobuyoshi N… Status changed from Open to Closed % Done changed from 0 to 100 Applied in changeset r48111. vm\_method.c: no redefinition warnings for undefined methods vm\_method.c (r…

---

## [/usr/bin/ld: cannot find -lmysqlclient\_r installing ruby gem mysql2 in Fedora Linux + MySQL 5.5.15](https://www.ruby-forum.com/t/usr-bin-ld-cannot-find-lmysqlclient-r-installing-ruby-gem-mysql2-in-fedora-linux-mysql-5-5-15/214294)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [November 27, 2011, 2:24pm UTC](https://www.ruby-forum.com/t/usr-bin-ld-cannot-find-lmysqlclient-r-installing-ruby-gem-mysql2-in-fedora-linux-mysql-5-5-15/214294 "2011-11-27T14:24:09Z")

</div>

\[dinooz@fedora rails\]$ uname -a Linux fedora 2.6.35.10-74.fc14.i686 #1 SMP Thu Dec 23 16:17:40 UTC 2010 i686 i686 i386 GNU/Linux \[dinooz@fedora rails\]$ \[dinooz@fedora rails\]$ rpm -qa |grep MySQL MySQL-client-5.5.1…

---

## [Shaped frames (even the example) cause warning window](https://www.ruby-forum.com/t/shaped-frames-even-the-example-cause-warning-window/180473)

<div class="topic-metadata">

**Author:** [@quintus](https://www.ruby-forum.com/u/quintus)\
**Replies:** 0\
**Last updated:** [December 19, 2009, 3:42pm UTC](https://www.ruby-forum.com/t/shaped-frames-even-the-example-cause-warning-window/180473 "2009-12-19T15:42:16Z")

</div>

Hi, I just found that the “ShapedWindow.rbw” example (from bigdemo) causes a Warning Dialog window to appear when you click the display button, saying: “Ignoring attempt to set cHRM RGB triangle with zero area”. Afte…

---

## [Way to keep ampersand from getting sanitized?](https://www.ruby-forum.com/t/way-to-keep-ampersand-from-getting-sanitized/174442)

<div class="topic-metadata">

**Author:** [@p8yton](https://www.ruby-forum.com/u/p8yton)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 8:36pm UTC](https://www.ruby-forum.com/t/way-to-keep-ampersand-from-getting-sanitized/174442 "2009-08-26T20:36:43Z")

</div>

I have an error message with an html character entity in it ( µ/ µ ). My trouble is, rails swaps my & with & - leaving me with µ getting shown literally in the message rather than a nice, neat Greek mu: ì. I should …

---

## [Index deleting original files?](https://www.ruby-forum.com/t/index-deleting-original-files/166149)

<div class="topic-metadata">

**Author:** [@oderas](https://www.ruby-forum.com/u/oderas)\
**Replies:** 0\
**Last updated:** [April 22, 2009, 10:08am UTC](https://www.ruby-forum.com/t/index-deleting-original-files/166149 "2009-04-22T10:08:38Z")

</div>

Hi, I was following the tutorial over at http://ferret.davebalmain.com/api/files/TUTORIAL.html but when I tried to index a local directory, all the files were replaced by two new files called segments and segments\_0. …

---

## [Building an amateur satellite radio with gnuradio](https://www.ruby-forum.com/t/building-an-amateur-satellite-radio-with-gnuradio/152487)

<div class="topic-metadata">

**Author:** [@pond](https://www.ruby-forum.com/u/pond)\
**Replies:** 0\
**Last updated:** [November 4, 2008, 2:24pm UTC](https://www.ruby-forum.com/t/building-an-amateur-satellite-radio-with-gnuradio/152487 "2008-11-04T14:24:33Z")

</div>

Hello, I’m looking for some advice on what parts to buy from Minicircuits for my particular application. I am looking into using GNU Radio and the USRP (v1) to make an amateur satellite radio suitable for 9600 bps (…

---

## [Error when executing rake db:schema:load](https://www.ruby-forum.com/t/error-when-executing-rake-dbload/151880)

<div class="topic-metadata">

**Author:** [@grios](https://www.ruby-forum.com/u/grios)\
**Replies:** 0\
**Last updated:** [October 27, 2008, 2:10pm UTC](https://www.ruby-forum.com/t/error-when-executing-rake-dbload/151880 "2008-10-27T14:10:51Z")

</div>

Hi I’m beginning with rails and I hit this problem trying to deploy my application. The local environment is CentOS 5.2 just as the target environment, the database is Oracle 10g. Locally all works fine but in the se…

---

## [STI class\_name returns the parent class name](https://www.ruby-forum.com/t/sti-class-name-returns-the-parent-class-name/145370)

<div class="topic-metadata">

**Author:** [@tonypm](https://www.ruby-forum.com/u/tonypm)\
**Replies:** 0\
**Last updated:** [August 8, 2008, 2:33pm UTC](https://www.ruby-forum.com/t/sti-class-name-returns-the-parent-class-name/145370 "2008-08-08T14:33:19Z")

</div>

Is this a bug or intended action - or am I missing something. If I have class Thing \< ActiveRecord::Base and class ZThing \< Thing and I do z=ZThing.create Then z.class returns ZThing(id: …etc as I would expect …

---

## [App vs Engine - raise error message](https://www.ruby-forum.com/t/app-vs-engine-raise-error-message/90270)

<div class="topic-metadata">

**Author:** [@Wes\_Hays](https://www.ruby-forum.com/u/Wes_Hays)\
**Replies:** 0\
**Last updated:** [March 27, 2007, 8:05am UTC](https://www.ruby-forum.com/t/app-vs-engine-raise-error-message/90270 "2007-03-27T08:05:47Z")

</div>

I have some code that I was duplicating across applications so I made it an engine. The engine works fine but the only problem is when I raise an error in the before\_destroy method in my model (the model is not in the …

---

## [Is the model() method no longer necessary](https://www.ruby-forum.com/t/is-the-model-method-no-longer-necessary/76384)

<div class="topic-metadata">

**Author:** [@jdonnell](https://www.ruby-forum.com/u/jdonnell)\
**Replies:** 0\
**Last updated:** [November 18, 2006, 1:57am UTC](https://www.ruby-forum.com/t/is-the-model-method-no-longer-necessary/76384 "2006-11-18T01:57:57Z")

</div>

I’m under the impression that the model() method is deprecated and that all ar models should be loaded automatically. They aren’t getting loaded in some cases. For example, I’m using memcached for my session store and…

---

## [Out the box tests failing (user and login engines)](https://www.ruby-forum.com/t/out-the-box-tests-failing-user-and-login-engines/56176)

<div class="topic-metadata">

**Author:** [@Andre\_Sachs](https://www.ruby-forum.com/u/Andre_Sachs)\
**Replies:** 0\
**Last updated:** [March 28, 2006, 4:24pm UTC](https://www.ruby-forum.com/t/out-the-box-tests-failing-user-and-login-engines/56176 "2006-03-28T16:24:19Z")

</div>

Hi, I am having some difficulty running the tests that arrive with the login and user engines using the following command : rake test\_plugins I am running rails 1.0 with ruby 1.8.4 Any ideas or help would be appreci…

---

## [Migration failed "Mysql2::Error: Incorrect key file for table"](https://www.ruby-forum.com/t/migration-failed-mysql2-incorrect-key-file-for-table/244633)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [May 17, 2016, 12:07am UTC](https://www.ruby-forum.com/t/migration-failed-mysql2-incorrect-key-file-for-table/244633 "2016-05-17T00:07:45Z")

</div>

Hello, I am trying to run a migration on a db that has about 100K records. When I run the migration I get this error == 20160503165700 AddDetailsToTransactions: migrating – add\_column(:transactions, :invoice\_number, …

---

## [Re: Digital Audio Broadcast (DAB), anybody running gr-dab?](https://www.ruby-forum.com/t/re-digital-audio-broadcast-dab-anybody-running-gr-dab/243164)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 28, 2015, 8:49am UTC](https://www.ruby-forum.com/t/re-digital-audio-broadcast-dab-anybody-running-gr-dab/243164 "2015-08-28T08:49:37Z")

</div>

Hi Ruben and all, thank you for your response. I am not sure if my last response found it’s way to you and the list. Nevertheless it contained a typo error. To keep it short: I could just test it again and indeed the…

---

## [JRubyConf.EU - CFP is open!](https://www.ruby-forum.com/t/jrubyconf-eu-cfp-is-open/241354)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [March 31, 2015, 11:21pm UTC](https://www.ruby-forum.com/t/jrubyconf-eu-cfp-is-open/241354 "2015-03-31T23:21:36Z")

</div>

Hello my fellow JRubyists! I’d like to let you know that our call for proposals opened! https://cfp.eurucamp.org/ Please go ahead and submit talk proposals! Did something awesome with JRuby? Your favorite JRuby tip y…

---

## [Let's go 2.1.1 folks! - Ruby versions and some history](https://www.ruby-forum.com/t/lets-go-2-1-1-folks-ruby-versions-and-some-history/239813)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [March 15, 2014, 3:56am UTC](https://www.ruby-forum.com/t/lets-go-2-1-1-folks-ruby-versions-and-some-history/239813 "2014-03-15T03:56:39Z")

</div>

\[ In part inspired as an answer to https://www.ruby-forum.com/topic/4464748. \] \[ My answer has grown enough and diverged in some extent from the original issue so that I think it has deserved a thread to itself. \] De…

---

## [GSoC 2013 Status : Project - LDPC codes and more FEC in GNU Radio](https://www.ruby-forum.com/t/gsoc-2013-status-project-ldpc-codes-and-more-fec-in-gnu-radio/235720)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 11, 2013, 11:18am UTC](https://www.ruby-forum.com/t/gsoc-2013-status-project-ldpc-codes-and-more-fec-in-gnu-radio/235720 "2013-07-11T11:18:23Z")

</div>

Hi, I’m Manu, one of the 5 GSoC students. I am working on LDPC codes, in parallel with Tracie, mentored by Jens. Going on is the 4th week of GSoC. Given below is a description of current status of the project. I’m g…

---

## [Join table query question](https://www.ruby-forum.com/t/join-table-query-question/228678)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 3\
**Last updated:** [May 3, 2013, 4:13am UTC](https://www.ruby-forum.com/t/join-table-query-question/228678 "2013-05-03T04:13:44Z")

</div>

Hi, I’m a novice and could use help with a join table question. I have a join table “galleries\_questions”. I can’t figure out how to query it for pictures in a selected gallery. Controller: @gallery = Gallery.where(…

---

## [Fatal Error during bundle install](https://www.ruby-forum.com/t/fatal-error-during-bundle-install/226531)

<div class="topic-metadata">

**Author:** [@niteshnarayanlal](https://www.ruby-forum.com/u/niteshnarayanlal)\
**Replies:** 3\
**Last updated:** [December 12, 2012, 9:25pm UTC](https://www.ruby-forum.com/t/fatal-error-during-bundle-install/226531 "2012-12-12T21:25:54Z")

</div>

Hi I was trying to run bundle install from cmd prmpt but getting the following error . ruby 1.9.3p327 (2012-11-10) \[i386-mingw32\] C:\\Users\\sony\>D: D:\>cd SupportBee-Apps D:\\SupportBee-Apps\>cd apps D:\\SupportBee-Apps…

---

## [Proc and lambdas](https://www.ruby-forum.com/t/proc-and-lambdas/223085)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 21, 2012, 5:39pm UTC](https://www.ruby-forum.com/t/proc-and-lambdas/223085 "2012-09-21T17:39:17Z")

</div>

I am confusing about Proc and lambdas. I need to just find out the longest word in the given array using Proc or lambda. Can any one post the code,?

---

## [Pulling data from a one-to-many association](https://www.ruby-forum.com/t/pulling-data-from-a-one-to-many-association/215637)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 11, 2012, 4:12pm UTC](https://www.ruby-forum.com/t/pulling-data-from-a-one-to-many-association/215637 "2012-01-11T16:12:09Z")

</div>

Another newbie question. My dummy app has the following models: class User \< ActiveRecord::Base has\_one :list end class List \< ActiveRecord::Base belongs\_to :user has\_many :celebs end class Celeb \< ActiveRecord::…

---

## [Mysql sequence number mismatch erreur](https://www.ruby-forum.com/t/mysql-sequence-number-mismatch-erreur/213339)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [October 30, 2011, 8:59pm UTC](https://www.ruby-forum.com/t/mysql-sequence-number-mismatch-erreur/213339 "2011-10-30T20:59:56Z")

</div>

bonjour, J’ai un problème avec la récupération d’un champ de type text dans une table mysql avec ce message d’erreur: invalid packet: sequence number mismatch(41 != 7(expected)) Est ce que vous savez comment je peux …

---

## [Selectively ignoring exceptions in examples](https://www.ruby-forum.com/t/selectively-ignoring-exceptions-in-examples/211333)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 1, 2011, 4:35pm UTC](https://www.ruby-forum.com/t/selectively-ignoring-exceptions-in-examples/211333 "2011-09-01T16:35:16Z")

</div>

Hi all Long time since I’ve posted here, hope you’re all well :slight\_smile: I have a question about ignoring exceptions when they’re not interesting. For example, I have a few cases in my code along these lines it …

---

## [Newbie: handling a method error](https://www.ruby-forum.com/t/newbie-handling-a-method-error/210860)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 19, 2011, 1:04pm UTC](https://www.ruby-forum.com/t/newbie-handling-a-method-error/210860 "2011-08-19T13:04:45Z")

</div>

Hi… I have 2 tables, connected with belongs\_to and has\_one and everything works ok until I get one entry in base where I dont have set id of belongs\_to entry. How can I prevent it(except that that all entry has ids :…

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

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