# Top

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

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

---

## [USRP2 and UHD](https://www.ruby-forum.com/t/usrp2-and-uhd/210544)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 10, 2011, 7:02pm UTC](https://www.ruby-forum.com/t/usrp2-and-uhd/210544 "2011-08-10T19:02:51Z")

</div>

Hello list, I just burned the latest UHD firmware onto the SD card I am using with my USRP2, and when I use the “uhd\_find\_devices” command I am told that no devices are found. Previously I had been using the stock fi…

---

## [How to install new version of SQLite in the bundle?](https://www.ruby-forum.com/t/how-to-install-new-version-of-sqlite-in-the-bundle/210232)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 3, 2011, 2:24am UTC](https://www.ruby-forum.com/t/how-to-install-new-version-of-sqlite-in-the-bundle/210232 "2011-08-03T02:24:57Z")

</div>

I am learning rails and referring to the – Ruby on Rails Guides: Getting Started with Rails. I executed command: bundle install It displayed a lot of names and among them was SQLite. I see that it is of old version a…

---

## [Confused by logic.would love a hand](https://www.ruby-forum.com/t/confused-by-logic-would-love-a-hand/210169)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 1, 2011, 6:23pm UTC](https://www.ruby-forum.com/t/confused-by-logic-would-love-a-hand/210169 "2011-08-01T18:23:58Z")

</div>

I have an interesting problem that I’m trying to wrap my head around. I’m creating a subscription based service that will charge extra for premium products. What does this mean?..ok, let’s say I’ve created a subscript…

---

## [Problem in daughter boards](https://www.ruby-forum.com/t/problem-in-daughter-boards/209651)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [July 20, 2011, 2:26pm UTC](https://www.ruby-forum.com/t/problem-in-daughter-boards/209651 "2011-07-20T14:26:52Z")

</div>

Dear all i have a usrp1, RFX2400 and WBX and i have a coaxial cable from the wifi card to the rfx2400 TX/RX port i want to pass the stream from the wifi card to the rfx2400 then to the wbx to transmit it over the …

---

## [Main menu generated from database](https://www.ruby-forum.com/t/main-menu-generated-from-database/203881)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 2, 2011, 9:52am UTC](https://www.ruby-forum.com/t/main-menu-generated-from-database/203881 "2011-03-02T09:52:39Z")

</div>

Hello, I’d like to have the main menu of my web application dynamically generated from categories stored in a database. I created a partial for this menu: (views/category/\_list.html.erb) \<% @categories.each do |cat…

---

## [Add header Expires and Cache-Control when response is 404](https://www.ruby-forum.com/t/add-header-expires-and-cache-control-when-response-is-404/202954)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [February 9, 2011, 3:20pm UTC](https://www.ruby-forum.com/t/add-header-expires-and-cache-control-when-response-is-404/202954 "2011-02-09T15:20:38Z")

</div>

Hello, I need to add header Expires, when the response code is 404. Unfortunately HttpHeadersModule can set the header just when the response is 200, 204, 301, 302 or 304. It’s no problem to add the header using Http…

---

## [Problema con JasperReports](https://www.ruby-forum.com/t/problema-con-jasperreports/200278)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 8, 2010, 12:40pm UTC](https://www.ruby-forum.com/t/problema-con-jasperreports/200278 "2010-12-08T12:40:58Z")

</div>

Hola que tal?.. soy nuevo en el forum y bueno quisiera ver si alguien de este forum podría ayudarme con un problema… que es el siguiente: he implementado el famoso jasperreports con rails todo funciona bien porque el …

---

## [TPB scheduler fills block buffers](https://www.ruby-forum.com/t/tpb-scheduler-fills-block-buffers/199776)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 7, 2010, 6:25pm UTC](https://www.ruby-forum.com/t/tpb-scheduler-fills-block-buffers/199776 "2010-12-07T18:25:27Z")

</div>

Hi, I am writing an application for which I want to keep the latency to a minimum, and this involves trying to keep the buffers between the blocks as empty as possible. Basically, I have a source block with an elemen…

---

## [Using DB2 with Rails 3](https://www.ruby-forum.com/t/using-db2-with-rails-3/198920)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 16, 2010, 5:15pm UTC](https://www.ruby-forum.com/t/using-db2-with-rails-3/198920 "2010-11-16T17:15:58Z")

</div>

I have developed a rails 3 app and for various reasons I have been compelled to try using DB2 as the underlying database system. Does anyone have much experience of using DB2 with rails 3? Any good pointers on resourc…

---

## [Railslist website setup and installation Already lost](https://www.ruby-forum.com/t/railslist-website-setup-and-installation-already-lost/198013)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [October 24, 2010, 10:56pm UTC](https://www.ruby-forum.com/t/railslist-website-setup-and-installation-already-lost/198013 "2010-10-24T22:56:22Z")

</div>

Hi I am trying to start railslist on my desktop. I downloaded instant rails and railslist. Can anybody tell me what is the next step, or can you provide me step by step installation procedure. thank you in advance NS …

---

## [Defining self-reflexive operators in Ruby](https://www.ruby-forum.com/t/defining-self-reflexive-operators-in-ruby/194620)

<div class="topic-metadata">

**Author:** [@harryspier](https://www.ruby-forum.com/u/harryspier)\
**Replies:** 3\
**Last updated:** [September 8, 2010, 6:44am UTC](https://www.ruby-forum.com/t/defining-self-reflexive-operators-in-ruby/194620 "2010-09-08T06:44:54Z")

</div>

In the same way that a += 1 means a = a+1 is it possible in Ruby to create an operator such as .! (or something like that) such that someObject.!someMethod gives the same result as someObject = someObject.someMethod

---

## [Controller syntax](https://www.ruby-forum.com/t/controller-syntax/193129)

<div class="topic-metadata">

**Author:** [@Nathan\_Kirk](https://www.ruby-forum.com/u/Nathan_Kirk)\
**Replies:** 3\
**Last updated:** [August 12, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/controller-syntax/193129 "2010-08-12T16:22:16Z")

</div>

why is this required: def new @post = Post.find(params\[:post\_id\]) @comment = @post.comments.build end instead of: def new @comment = Post.find(params\[:post\_id\]).comments.build end is the 2nd style possible? If n…

---

## [Tutorials for virtual rails](https://www.ruby-forum.com/t/tutorials-for-virtual-rails/192252)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 27, 2010, 7:11am UTC](https://www.ruby-forum.com/t/tutorials-for-virtual-rails/192252 "2010-07-27T07:11:27Z")

</div>

I just finished installing virtual box and virtual rails on my laptop running vista os. this is all I know other then a bit of ruby code. im just starting out and learning ROR on my own. Does anyone have recommendat…

---

## [Cucumber + capybara: checking list items](https://www.ruby-forum.com/t/cucumber-capybara-checking-list-items/187495)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 0\
**Last updated:** [April 24, 2010, 1:10am UTC](https://www.ruby-forum.com/t/cucumber-capybara-checking-list-items/187495 "2010-04-24T01:10:48Z")

</div>

I’m unsure how to check a few things related to lists of items. In this specific case, I have a articles with title and abstract. When there are no articles, I’d like to ensure that there is a list on the page, but th…

---

## [! The bundled mysql.rb driver has been removed from Rails](https://www.ruby-forum.com/t/the-bundled-mysql-rb-driver-has-been-removed-from-rails/183726)

<div class="topic-metadata">

**Author:** [@aashishkiran](https://www.ruby-forum.com/u/aashishkiran)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 5:32am UTC](https://www.ruby-forum.com/t/the-bundled-mysql-rb-driver-has-been-removed-from-rails/183726 "2010-02-19T05:32:44Z")

</div>

i am running depot app using Groovy and Grails Programming i have mysql gem installed. but i am getting error !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try agai…

---

## [Limit disk space allocation](https://www.ruby-forum.com/t/limit-disk-space-allocation/182965)

<div class="topic-metadata">

**Author:** [@prabesh](https://www.ruby-forum.com/u/prabesh)\
**Replies:** 3\
**Last updated:** [February 5, 2010, 9:03pm UTC](https://www.ruby-forum.com/t/limit-disk-space-allocation/182965 "2010-02-05T21:03:00Z")

</div>

I have a project management application . Anyone can sign up but as the space is limited, I need to limit the space for each user so they can’t upload more than the allocated quota. How Can I allocate the fixed space …

---

## [Routen Problem?](https://www.ruby-forum.com/t/routen-problem/179476)

<div class="topic-metadata">

**Author:** [@bladepit](https://www.ruby-forum.com/u/bladepit)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 9:54pm UTC](https://www.ruby-forum.com/t/routen-problem/179476 "2009-11-25T21:54:16Z")

</div>

Hallo an alle, ich versuche grade in Ruby on Rails mittels eines form\_tags eine Route aufzurufen. Dieser Methode die dahinter steckt sollen zwei Sachen per Post Ã¼bergeben werden. In der Methode soll dann wieder eine …

---

## [Simple picture form element](https://www.ruby-forum.com/t/simple-picture-form-element/174765)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 3\
**Last updated:** [September 2, 2009, 12:04pm UTC](https://www.ruby-forum.com/t/simple-picture-form-element/174765 "2009-09-02T12:04:11Z")

</div>

I need to make a form where a user clicks on one of two pictures to select which option they want. After they click the picture, the background or possibly border of the image should change depending on the picture cl…

---

## [Import error](https://www.ruby-forum.com/t/import-error/173966)

<div class="topic-metadata">

**Author:** [@harshal\_jadhav](https://www.ruby-forum.com/u/harshal_jadhav)\
**Replies:** 3\
**Last updated:** [August 19, 2009, 8:47pm UTC](https://www.ruby-forum.com/t/import-error/173966 "2009-08-19T20:47:33Z")

</div>

Hi, I had an import error ’ cannot import eng\_option’ while running the code for dialtone. This happened after i ran the code successfully couple of times. I switched on and off the laptop a couple of times. Could…

---

## [Can't remove duplicate](https://www.ruby-forum.com/t/cant-remove-duplicate/173852)

<div class="topic-metadata">

**Author:** [@femto](https://www.ruby-forum.com/u/femto)\
**Replies:** 0\
**Last updated:** [August 17, 2009, 3:43am UTC](https://www.ruby-forum.com/t/cant-remove-duplicate/173852 "2009-08-17T03:43:26Z")

</div>

Hello all, I can’t remove duplicate,I’m using ferret to index log file in order to monitor application activity, what I want to do is index data based on the uniqueness of \[filename,line\](actullay should be \[host,file…

---

## [Stupid questions about erb](https://www.ruby-forum.com/t/stupid-questions-about-erb/172790)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [July 28, 2009, 4:01am UTC](https://www.ruby-forum.com/t/stupid-questions-about-erb/172790 "2009-07-28T04:01:28Z")

</div>

I have been trying to find these answers in Google, but not getting any clarity. I am writing in Rails 2.3.2 but have always lived in a 1.2.x world. In the 1.2.x world, putting this in an rhtml file would always rende…

---

## [Help convert php code to eruby?](https://www.ruby-forum.com/t/help-convert-php-code-to-eruby/196981)

<div class="topic-metadata">

**Author:** [@rayholland](https://www.ruby-forum.com/u/rayholland)\
**Replies:** 0\
**Last updated:** [July 8, 2009, 12:35am UTC](https://www.ruby-forum.com/t/help-convert-php-code-to-eruby/196981 "2009-07-08T00:35:29Z")

</div>

Hi, I want to convert my site from php to eruby(no rails). I’m really new to ruby and need some help. The most trival php code i use in my web-page is to use php for password protect my pages. Can someone help me to…

---

## [HTML page source not updated](https://www.ruby-forum.com/t/html-page-source-not-updated/171242)

<div class="topic-metadata">

**Author:** [@on9west](https://www.ruby-forum.com/u/on9west)\
**Replies:** 3\
**Last updated:** [July 6, 2009, 7:39pm UTC](https://www.ruby-forum.com/t/html-page-source-not-updated/171242 "2009-07-06T19:39:45Z")

</div>

Dear all After I search something, it can successfully display the result in the browser. However, I view the Page source and found that the HTML code between the ‘event\_list’ div tag is not updated , the content is s…

---

## [Irb command history issues with ruby 1.9.1p129](https://www.ruby-forum.com/t/irb-command-history-issues-with-ruby-1-9-1p129/169194)

<div class="topic-metadata">

**Author:** [@sa125](https://www.ruby-forum.com/u/sa125)\
**Replies:** 3\
**Last updated:** [June 2, 2009, 1:26pm UTC](https://www.ruby-forum.com/t/irb-command-history-issues-with-ruby-1-9-1p129/169194 "2009-06-02T13:26:08Z")

</div>

Hi all, I’ve recently installed ruby 1.9.1 from source w/o any special issues on ubuntu linux 9.04. Everything works great except scrolling command history in irb with the up/down arrow keys. I’m sure you guys can ap…

---

## [Plz help to correct my query](https://www.ruby-forum.com/t/plz-help-to-correct-my-query/169003)

<div class="topic-metadata">

**Author:** [@venkat\_ruby](https://www.ruby-forum.com/u/venkat_ruby)\
**Replies:** 3\
**Last updated:** [May 29, 2009, 6:32am UTC](https://www.ruby-forum.com/t/plz-help-to-correct-my-query/169003 "2009-05-29T06:32:15Z")

</div>

Hi, I want to display both terminal\_id and user\_id. If i try to echo by using p i.e p @list It is displaying only terminal\_id. Please help me to correct my query. @list = NetworkTerminal.find(:all, :select =\> “netw…

---

## [Observers or callbacks?](https://www.ruby-forum.com/t/observers-or-callbacks/163499)

<div class="topic-metadata">

**Author:** [@tekwiz](https://www.ruby-forum.com/u/tekwiz)\
**Replies:** 3\
**Last updated:** [May 8, 2009, 3:51am UTC](https://www.ruby-forum.com/t/observers-or-callbacks/163499 "2009-05-08T03:51:19Z")

</div>

Why use an Observer for a single model rather than using a callback in the ActiveRecord object? They seem like they work identically. Is there a difference I’m missing? For example, these seem like they would do the…

---

## [Acts\_as\_ferret: experiencing bugs with very simple search](https://www.ruby-forum.com/t/acts-as-ferret-experiencing-bugs-with-very-simple-search/165461)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 0\
**Last updated:** [April 14, 2009, 6:25am UTC](https://www.ruby-forum.com/t/acts-as-ferret-experiencing-bugs-with-very-simple-search/165461 "2009-04-14T06:25:23Z")

</div>

I am doing a very simple search on my DB using acts\_as\_ferret. I put this in my “Venue” model: acts\_as\_ferret :fields =\> \[:name, :city\] And this is in my controller search action: @t = Venue.find\_by\_contents(params\[:…

---

## [Add a method as C extension to a class defined in Ruby](https://www.ruby-forum.com/t/add-a-method-as-c-extension-to-a-class-defined-in-ruby/164654)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [April 3, 2009, 10:40pm UTC](https://www.ruby-forum.com/t/add-a-method-as-c-extension-to-a-class-defined-in-ruby/164654 "2009-04-03T22:40:42Z")

</div>

Hi, in case I want to add a method (using C) for a class I’ve created in pure Ruby, must I also create the class in C? If not, how to fill MY\_CLASS here?: rb\_define\_method(MY\_CLASS, “my\_method”, my\_method, arg\_count); …

---

## [Rails2.3 plugin install git:// problem](https://www.ruby-forum.com/t/rails2-3-plugin-install-git-problem/161817)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 3\
**Last updated:** [March 2, 2009, 8:12pm UTC](https://www.ruby-forum.com/t/rails2-3-plugin-install-git-problem/161817 "2009-03-02T20:12:46Z")

</div>

What am I missing here? This doesn’t work: -- mode: compilation; default-directory: “~/journeys/” -- Compilation started at Mon Mar 2 08:13:15 script/plugin install git://github.com/rubyist/aasm.git Plugin not foun…

---

## [Years gone by (deprecation of years method)](https://www.ruby-forum.com/t/years-gone-by-deprecation-of-years-method/160859)

<div class="topic-metadata">

**Author:** [@reggieb](https://www.ruby-forum.com/u/reggieb)\
**Replies:** 3\
**Last updated:** [February 20, 2009, 2:52pm UTC](https://www.ruby-forum.com/t/years-gone-by-deprecation-of-years-method/160859 "2009-02-20T14:52:20Z")

</div>

Can anyone give me some insight as to why the ActiveSupport::CoreExtensions::Float::Time method ‘years’ is being deprecated? I have an application managing contracts and being able to manipulate and report on them bas…

---

## [Class setter](https://www.ruby-forum.com/t/class-setter/154246)

<div class="topic-metadata">

**Author:** [@vespasian](https://www.ruby-forum.com/u/vespasian)\
**Replies:** 3\
**Last updated:** [November 26, 2008, 6:09pm UTC](https://www.ruby-forum.com/t/class-setter/154246 "2008-11-26T18:09:25Z")

</div>

For the life of me I can figure out why the setter below returns “v” and not nil class A def initialize(id) @id = id end def id @id end def id=(v) nil end end a = A.new(1) a.id = 2 =\> 2 Any idea? TIA, v…

---

## [Data Structs in Ruby](https://www.ruby-forum.com/t/data-structs-in-ruby/152247)

<div class="topic-metadata">

**Author:** [@edipofederle](https://www.ruby-forum.com/u/edipofederle)\
**Replies:** 3\
**Last updated:** [November 1, 2008, 11:15am UTC](https://www.ruby-forum.com/t/data-structs-in-ruby/152247 "2008-11-01T11:15:31Z")

</div>

Hello, How would the implementation of such a stack or queue, and Ruby, already has something “ready” to handle … Thakns. I sorry but my english is not very good.

---

## [Couldn't find Admin with ID=list](https://www.ruby-forum.com/t/couldnt-find-admin-with-id-list/146553)

<div class="topic-metadata">

**Author:** [@shruti\_m.upadhyay](https://www.ruby-forum.com/u/shruti_m.upadhyay)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 10:16am UTC](https://www.ruby-forum.com/t/couldnt-find-admin-with-id-list/146553 "2008-10-14T10:16:21Z")

</div>

when i show list og products i got 'Couldn’t find Admin with ID=list ’ error.so plz give the solution for this error

---

## [UI framework choice](https://www.ruby-forum.com/t/ui-framework-choice/147774)

<div class="topic-metadata">

**Author:** [@Tud](https://www.ruby-forum.com/u/Tud)\
**Replies:** 0\
**Last updated:** [September 5, 2008, 9:11am UTC](https://www.ruby-forum.com/t/ui-framework-choice/147774 "2008-09-05T09:11:51Z")

</div>

Hello, I need to develop a Rails application and to choose one framework for the user interface. These are my thoughts about the possible choices jquery + one css framework (blueprint, Yui css, tripoli, …) pros I…

---

## [Annotations](https://www.ruby-forum.com/t/annotations/147173)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 3\
**Last updated:** [August 31, 2008, 12:27am UTC](https://www.ruby-forum.com/t/annotations/147173 "2008-08-31T00:27:02Z")

</div>

This is a quick ping to see where JRuby is on Java 5 annotation support. Charles posted about it nearly a year ago and I was just wondering where that had gone.

---

## [Trace-trees and the ruby intepreter](https://www.ruby-forum.com/t/trace-trees-and-the-ruby-intepreter/146604)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 3\
**Last updated:** [August 27, 2008, 2:48am UTC](https://www.ruby-forum.com/t/trace-trees-and-the-ruby-intepreter/146604 "2008-08-27T02:48:52Z")

</div>

I just saw a recent article on ArsTechnica (Firefox to get massive JavaScript performance boost | Ars Technica) which discussed using trace optimization (http://andreasgal.com/) to boost the performance of JavaScript. …

---

## [Nginx mercurial mirror](https://www.ruby-forum.com/t/nginx-mercurial-mirror/144843)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 3\
**Last updated:** [August 3, 2008, 11:41pm UTC](https://www.ruby-forum.com/t/nginx-mercurial-mirror/144843 "2008-08-03T23:41:34Z")

</div>

I have published a Mercurial mirror of Nginx: http://hg.mirror.mperillo.ath.cx/ It should contain the full history of Nginx. The import has been done using two scripts, that can be found here: http://hg.mperillo.ath.…

---

## [Problems learning rake db:migrate](https://www.ruby-forum.com/t/problems-learning-rake-db-migrate/144542)

<div class="topic-metadata">

**Author:** [@A\_Love\_of\_Surf](https://www.ruby-forum.com/u/A_Love_of_Surf)\
**Replies:** 3\
**Last updated:** [July 30, 2008, 10:53pm UTC](https://www.ruby-forum.com/t/problems-learning-rake-db-migrate/144542 "2008-07-30T22:53:25Z")

</div>

i added , force =\> true to the migration file which was created when i generated the model. can anyone tell me what is going wrong here? ####################################### MIGRATION: ###########################…

---

## [Getting error Unknown method 'new' for a new model instance](https://www.ruby-forum.com/t/getting-error-unknown-method-new-for-a-new-model-instance/144331)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 28, 2008, 11:50pm UTC](https://www.ruby-forum.com/t/getting-error-unknown-method-new-for-a-new-model-instance/144331 "2008-07-28T23:50:55Z")

</div>

I have a model called Test. In the controller I have @circuit = Test.new. Any ideas why rails is complaining about the ‘new’ method??

---

## [Opinion on saving objects needed](https://www.ruby-forum.com/t/opinion-on-saving-objects-needed/143317)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 3\
**Last updated:** [July 17, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/opinion-on-saving-objects-needed/143317 "2008-07-17T17:24:51Z")

</div>

Hello, Well, right now I have the following models. I have three tables: users, events and attendances. Attendances is a join table that contains the event\_id, user\_id and rsvp (boolean representing if the user is g…

---

## [Private class methods- functionality or shortcoming?](https://www.ruby-forum.com/t/private-class-methods-functionality-or-shortcoming/139960)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [June 11, 2008, 1:45pm UTC](https://www.ruby-forum.com/t/private-class-methods-functionality-or-shortcoming/139960 "2008-06-11T13:45:43Z")

</div>

I just switched to Ruby and came across it. If we have to make a class method private then we should write it as: class Abc class\<\<self private def fun p “hello” end …

---

## [\[ruby-core:16238\]$B$N8!\>Z(B](https://www.ruby-forum.com/t/ruby-core-16238-b-n8-z-b/135823)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 3\
**Last updated:** [April 26, 2008, 4:07pm UTC](https://www.ruby-forum.com/t/ruby-core-16238-b-n8-z-b/135823 "2008-04-26T16:07:30Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B e$B%U%i%s%9HG%Q%C%A%b%s%9%?!\<$G$"$k$H$3$m$Ne(BGuy Decouxe$B$K$h$k%Q%Ce(B e$B%Ae(B\[ruby-core:16238\]e$B$re(B1.8.7e$B$K\<h$j9~$\_$?$$$s$G$9$,!"$3$l$N%A%’%Ce(B e$B%/$r9T$&;~4V$N$"$k?M$O$$$^…

---

## [Sorting Helper issue](https://www.ruby-forum.com/t/sorting-helper-issue/135135)

<div class="topic-metadata">

**Author:** [@durgesh](https://www.ruby-forum.com/u/durgesh)\
**Replies:** 3\
**Last updated:** [April 18, 2008, 6:12pm UTC](https://www.ruby-forum.com/t/sorting-helper-issue/135135 "2008-04-18T18:12:29Z")

</div>

Hi Friends, I am very new to RoR. I have now got the pager working for my listing page and was trying to get the sorting to work. However I get this error: MissingSourceFile in PeopleController#index Missing helper …

---

## [Adding Logic to first rails app in case of error from 2nd rails app](https://www.ruby-forum.com/t/adding-logic-to-first-rails-app-in-case-of-error-from-2nd-rails-app/130602)

<div class="topic-metadata">

**Author:** [@keaja](https://www.ruby-forum.com/u/keaja)\
**Replies:** 3\
**Last updated:** [March 3, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/adding-logic-to-first-rails-app-in-case-of-error-from-2nd-rails-app/130602 "2008-03-03T17:31:40Z")

</div>

Hi All, I have been following the latest advanced rails recipe tutorial, “handing recurring credit card payments” and its excellent. The code works great if there are no problems with the user creation, credit card c…

---

## [Attachment\_fu: how to remove images?](https://www.ruby-forum.com/t/attachment-fu-how-to-remove-images/129982)

<div class="topic-metadata">

**Author:** [@peter](https://www.ruby-forum.com/u/peter)\
**Replies:** 3\
**Last updated:** [February 23, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/attachment-fu-how-to-remove-images/129982 "2008-02-23T21:09:49Z")

</div>

I just used attachment\_fu for the first time, and it works quite well. I have a user-model, and each of them has\_one :image (and the images belongs\_to :user). I have a question on this though: how can i remove images?…

---

## [Re: ERRORE INCOMPRENSIBILE](https://www.ruby-forum.com/t/re-errore-incomprensibile/128338)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [February 9, 2008, 12:24pm UTC](https://www.ruby-forum.com/t/re-errore-incomprensibile/128338 "2008-02-09T12:24:49Z")

</div>

I log di webrick cosa dicono? incolla un po’ di codice del tuo server webrick, può risultare più semplice capire i motivi dell’errore ciao ---------- Initial Header ----------- From : removed\_email\_address@doma…

---

## [Treetop: Can the parser be put inside a module?](https://www.ruby-forum.com/t/treetop-can-the-parser-be-put-inside-a-module/127972)

<div class="topic-metadata">

**Author:** [@Chiyuan\_Z](https://www.ruby-forum.com/u/Chiyuan_Z)\
**Replies:** 3\
**Last updated:** [February 4, 2008, 4:17am UTC](https://www.ruby-forum.com/t/treetop-can-the-parser-be-put-inside-a-module/127972 "2008-02-04T04:17:34Z")

</div>

Hi! I’m wondering if Treetop can provide (or is it already have?) a mechanize like this: module MyModule Treetop.load(“my”) end so that I’ll get a MyModule::MyParser instead of a top-level MyParser. Or something l…

---

## [Is there a way to send chat message via AOL AIM (with ruby of course!)](https://www.ruby-forum.com/t/is-there-a-way-to-send-chat-message-via-aol-aim-with-ruby-of-course/127639)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 31, 2008, 4:58am UTC](https://www.ruby-forum.com/t/is-there-a-way-to-send-chat-message-via-aol-aim-with-ruby-of-course/127639 "2008-01-31T04:58:24Z")

</div>

poking around, there seem to be numerous walking dead projects, anyone have any first hand experience before I go down this path?

---

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

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 3\
**Last updated:** [January 30, 2008, 6:32pm UTC](https://www.ruby-forum.com/t/join-table/127592 "2008-01-30T18:32:35Z")

</div>

Siguendo los pasos del Agile tengo que crear una join table: create\_table :products do |t| t.column … end create\_table :categories do |t| t.column … end create\_table :categories\_products, :id=\>false do |t| t.colu…

---

## [Alphabet](https://www.ruby-forum.com/t/alphabet/123295)

<div class="topic-metadata">

**Author:** [@edberner](https://www.ruby-forum.com/u/edberner)\
**Replies:** 3\
**Last updated:** [December 16, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/alphabet/123295 "2007-12-16T16:30:29Z")

</div>

What is the best way to do this? A Andover B Babson … C … . … . … . … \<%= @letter = ‘a’ %\> \<% while @letter != ‘z’ %\> \<%= @letter %\> \<% for school in @schools %\> \<% if school.title.first == @letter %\> \<%= lin…

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

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