# Top

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

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

---

## [Gem::Enable is false when --disable-gems and -rubygems](https://www.ruby-forum.com/t/gem-enable-is-false-when-disable-gems-and-rubygems/135085)

<div class="topic-metadata">

**Author:** [@Yugui](https://www.ruby-forum.com/u/Yugui)\
**Replies:** 1\
**Last updated:** [April 17, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/gem-enable-is-false-when-disable-gems-and-rubygems/135085 "2008-04-17T18:30:16Z")

</div>

Yuguie$B$G$9!#e(B $ ruby --disable-gems -rubygems -ve ‘p Gem::Enable’ ruby 1.9.0 (2008-04-16 revision 0) \[i686-darwin9.2.2\] false e$B$3$N\>l9g!"7k6Ie(BRubyGemse$B$OM-8z$K$J$C$F$$$k$N$Ge(B Gem::Enablee$B$Oe(Btruee$B$K…

---

## [Cant find irb](https://www.ruby-forum.com/t/cant-find-irb/116471)

<div class="topic-metadata">

**Author:** [@William\_Lidinsky](https://www.ruby-forum.com/u/William_Lidinsky)\
**Replies:** 1\
**Last updated:** [October 5, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/cant-find-irb/116471 "2007-10-05T22:54:20Z")

</div>

I just installed ruby on Fedora 7, but I can’t bring up irb. Details Using the Fedora7 Software Installer I installed ruby-libs-1.8.6-2.fc7.i386.rpm Then I installed ruby-1.8.6-2.fc7.i386.rpm As a result rub…

---

## [Single table inheritance problem](https://www.ruby-forum.com/t/single-table-inheritance-problem/196404)

<div class="topic-metadata">

**Author:** [@migo](https://www.ruby-forum.com/u/migo)\
**Replies:** 1\
**Last updated:** [July 23, 2007, 9:59am UTC](https://www.ruby-forum.com/t/single-table-inheritance-problem/196404 "2007-07-23T09:59:18Z")

</div>

Hallo, I am having a very strange Problem with STI in my application. setup: two tables one called “wikis” on called “categories” with a hbtm relationship. the wikis table is the sti one with a model PageWiki being …

---

## [Tuning Mongrel w/ httperf](https://www.ruby-forum.com/t/tuning-mongrel-w-httperf/109787)

<div class="topic-metadata">

**Author:** [@ddancer](https://www.ruby-forum.com/u/ddancer)\
**Replies:** 1\
**Last updated:** [July 20, 2007, 12:17am UTC](https://www.ruby-forum.com/t/tuning-mongrel-w-httperf/109787 "2007-07-20T00:17:11Z")

</div>

Hello Friends, I’ve recently watched the peepcode on httperf and read various blog articles about performance testing web servers w/ httperf. My problem is that my mongrel apps all seem to be running just horribly sl…

---

## [Mongrel working but not mongrel cluster!](https://www.ruby-forum.com/t/mongrel-working-but-not-mongrel-cluster/109496)

<div class="topic-metadata">

**Author:** [@addame](https://www.ruby-forum.com/u/addame)\
**Replies:** 1\
**Last updated:** [July 16, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/mongrel-working-but-not-mongrel-cluster/109496 "2007-07-16T18:44:14Z")

</div>

Hi guys, I have installed mongrel and mongrel cluster in a new linux box … at the end of the day I was able to lunch mongrel (mongrel\_rails start -e production) and all is working fine with. However, when I tried to …

---

## [Memory requirements of FCGI process versus mongrel server](https://www.ruby-forum.com/t/memory-requirements-of-fcgi-process-versus-mongrel-server/108437)

<div class="topic-metadata">

**Author:** [@Hasham](https://www.ruby-forum.com/u/Hasham)\
**Replies:** 1\
**Last updated:** [July 3, 2007, 8:02pm UTC](https://www.ruby-forum.com/t/memory-requirements-of-fcgi-process-versus-mongrel-server/108437 "2007-07-03T20:02:05Z")

</div>

I think running multiple fcgi processes require less memory and cpu resources than equal number of mongrel servers, then what is reason of mongrel being platform of choice? And is there any work in progress to make ra…

---

## [Problem with pound + mongrel](https://www.ruby-forum.com/t/problem-with-pound-mongrel/90271)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 1\
**Last updated:** [March 27, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/problem-with-pound-mongrel/90271 "2007-03-27T16:11:34Z")

</div>

I’m deploying my first Rails app on a Debian server. For this I have chosen a Mongrel cluster to serve my app, and Pound to balance it. My problem is I can’t get it to work. I keep getting an “503 Service Unavailable”…

---

## [Re: Upload en ajax](https://www.ruby-forum.com/t/re-upload-en-ajax/89362)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 20, 2007, 11:32am UTC](https://www.ruby-forum.com/t/re-upload-en-ajax/89362 "2007-03-20T11:32:13Z")

</div>

Aha, efectivamente es así, ahora para copiarlo en el directorio que quiera, basta con leer el params\[:file\_data\].read y copiarlo en otra parte. Muchísimas gracias ----- Mensaje original ---- De: Daniel R. Troitiño re…

---

## [slightly-OT: wxpython on Gentoo](https://www.ruby-forum.com/t/slightly-ot-wxpython-on-gentoo/74651)

<div class="topic-metadata">

**Author:** [@jordanh](https://www.ruby-forum.com/u/jordanh)\
**Replies:** 1\
**Last updated:** [November 7, 2006, 10:51am UTC](https://www.ruby-forum.com/t/slightly-ot-wxpython-on-gentoo/74651 "2006-11-07T10:51:37Z")

</div>

Only slightly-OT because it’s stopping me from running the gnuradio examples. I’m trying to get wxpython emerged, and I get a hall of mirrors. When I emerge wxpython, I get this: !!! You must put gtk2 in your USE if…

---

## [Typo-4.0.3.zip in \*nix format](https://www.ruby-forum.com/t/typo-4-0-3-zip-in-nix-format/67292)

<div class="topic-metadata">

**Author:** [@ericrchr](https://www.ruby-forum.com/u/ericrchr)\
**Replies:** 1\
**Last updated:** [September 6, 2006, 2:56am UTC](https://www.ruby-forum.com/t/typo-4-0-3-zip-in-nix-format/67292 "2006-09-06T02:56:56Z")

</div>

Hi everybody, I’ve noticed that the zip file on rubyforge containts Typo files in Unix format. I’ve tried them and they won’t work out of the box with Rails on Windows (ruby/rails doesn’t find the end of file). Can y…

---

## [Lots of problems running engines](https://www.ruby-forum.com/t/lots-of-problems-running-engines/102218)

<div class="topic-metadata">

**Author:** [@stigi](https://www.ruby-forum.com/u/stigi)\
**Replies:** 1\
**Last updated:** [August 17, 2006, 10:16am UTC](https://www.ruby-forum.com/t/lots-of-problems-running-engines/102218 "2006-08-17T10:16:23Z")

</div>

hi, i’m using rails 1.1.6 tried to install engines (1.1.3 and also 1.1) and login\_engine. script/plugin install performes fine with both but i still ended up with the routing problem (/user/login…). so i read about …

---

## [Timeout - Related to dispatch.fcgi](https://www.ruby-forum.com/t/timeout-related-to-dispatch-fcgi/65192)

<div class="topic-metadata">

**Author:** [@Neil\_Houston](https://www.ruby-forum.com/u/Neil_Houston)\
**Replies:** 1\
**Last updated:** [August 16, 2006, 7:42pm UTC](https://www.ruby-forum.com/t/timeout-related-to-dispatch-fcgi/65192 "2006-08-16T19:42:37Z")

</div>

Sometimes my site Times out; fastcgi.crash.log i have two lines as well as multiple attempts to start : asked to terminate immediately terminated by explicit exit - Usually followed/precursored by Starting messages,…

---

## [LoginEngine, Sessions and users](https://www.ruby-forum.com/t/loginengine-sessions-and-users/100490)

<div class="topic-metadata">

**Author:** [@Bradley\_M](https://www.ruby-forum.com/u/Bradley_M)\
**Replies:** 1\
**Last updated:** [July 29, 2006, 5:35pm UTC](https://www.ruby-forum.com/t/loginengine-sessions-and-users/100490 "2006-07-29T17:35:44Z")

</div>

Hi, From what I understand, the general consensus is that you shouldn’t store objects in the session, because your object references may become stale. The LoginEngine seems to use session\[:user\] frequently instead …

---

## [Small issue: datebox has a 404 error](https://www.ruby-forum.com/t/small-issue-datebox-has-a-404-error/69889)

<div class="topic-metadata">

**Author:** [@afg](https://www.ruby-forum.com/u/afg)\
**Replies:** 1\
**Last updated:** [February 18, 2006, 1:29am UTC](https://www.ruby-forum.com/t/small-issue-datebox-has-a-404-error/69889 "2006-02-18T01:29:13Z")

</div>

Still toying with datebox. I found I’m get a 404 error for /engine\_files/datebox\_engine/stylesheets/menuarrow.gif It is being generated by the reference to menuarrow.gif on line 22 of public/stylesheets/calendar-blue…

---

## [Background task](https://www.ruby-forum.com/t/background-task/209852)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [July 25, 2011, 9:38pm UTC](https://www.ruby-forum.com/t/background-task/209852 "2011-07-25T21:38:19Z")

</div>

I want to make a rails app that displays accumulated data from activerecord when a user loads the web page. To accumulate the data I want to have a background task that goes out every 5 minutes (roughly) and gets the …

---

## [Basic question](https://www.ruby-forum.com/t/basic-question/189025)

<div class="topic-metadata">

**Author:** [@gyan](https://www.ruby-forum.com/u/gyan)\
**Replies:** 5\
**Last updated:** [May 22, 2010, 8:02pm UTC](https://www.ruby-forum.com/t/basic-question/189025 "2010-05-22T20:02:44Z")

</div>

Hello, I’m new to Nginx and I have a basic problem. In short my “index.htm” isn’t dynamically loading on any sub-directories other than root. For example, “http://www.mydomain.com/” will load the index.htm page just…

---

## [Please help!](https://www.ruby-forum.com/t/please-help/184396)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 5\
**Last updated:** [March 2, 2010, 12:27am UTC](https://www.ruby-forum.com/t/please-help/184396 "2010-03-02T00:27:45Z")

</div>

After “# gem update” I have problems: ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) \[x86\_64-linux\] gem list /usr/local/lib/site\_ruby/1.8/rubygems/gem\_path\_searcher.rb:95:in lib\_dirs\_for': undefined methodjoin’ for “.”…

---

## [Multiple Entries in Log File](https://www.ruby-forum.com/t/multiple-entries-in-log-file/179627)

<div class="topic-metadata">

**Author:** [@cpriest](https://www.ruby-forum.com/u/cpriest)\
**Replies:** 5\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/multiple-entries-in-log-file/179627 "2009-12-19T15:25:27Z")

</div>

I have nginx setup as a load balancer to three servers. Is there any reason a request would hit the log file more than once unless there were actually more than one incoming (from the internet) requests? For example,…

---

## [AJAX error](https://www.ruby-forum.com/t/ajax-error/179802)

<div class="topic-metadata">

**Author:** [@carter](https://www.ruby-forum.com/u/carter)\
**Replies:** 5\
**Last updated:** [December 7, 2009, 11:40pm UTC](https://www.ruby-forum.com/t/ajax-error/179802 "2009-12-07T23:40:48Z")

</div>

Hello, I am new to AJAX and need help displaying a shopping cart using Ajax. I can display the cart in the sidebar fine if I just redirect to the same page, but the wanted to use AJAX to do this. I am getting some so…

---

## [Help, Ruby 1.8.6-p287 broke my "use" library and I don't know why](https://www.ruby-forum.com/t/help-ruby-1-8-6-p287-broke-my-use-library-and-i-dont-know-why/149669)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 5\
**Last updated:** [September 28, 2008, 2:48am UTC](https://www.ruby-forum.com/t/help-ruby-1-8-6-p287-broke-my-use-library-and-i-dont-know-why/149669 "2008-09-28T02:48:47Z")

</div>

Hi everyone, I need help! I’ve got a library called “use” that let’s you mixin methods from modules in a fine-grained fashion. Unfortunately, something broke it between Ruby 1.8.6-p111 and Ruby 1.8.6-p287. It may ha…

---

## [Blocks and scoping question](https://www.ruby-forum.com/t/blocks-and-scoping-question/148286)

<div class="topic-metadata">

**Author:** [@mischa](https://www.ruby-forum.com/u/mischa)\
**Replies:** 5\
**Last updated:** [September 11, 2008, 10:39am UTC](https://www.ruby-forum.com/t/blocks-and-scoping-question/148286 "2008-09-11T10:39:18Z")

</div>

Hello, The following makes sense to me: lambda {|x| puts x; \[1,2\].collect{|x| x+1} }.call(“aaa”) aaa =\> \[2, 3\] The following does not so much: lambda {|x| puts x; \[1,2\].collect{|x| x+1}; puts x }.call(“aaa”) aaa …

---

## [Is there an official ruby road map?](https://www.ruby-forum.com/t/is-there-an-official-ruby-road-map/146731)

<div class="topic-metadata">

**Author:** [@john\_maclean](https://www.ruby-forum.com/u/john_maclean)\
**Replies:** 5\
**Last updated:** [August 25, 2008, 2:07am UTC](https://www.ruby-forum.com/t/is-there-an-official-ruby-road-map/146731 "2008-08-25T02:07:30Z")

</div>

Is there one for Ruby and if not does it really matter?

---

## [Setting my paid\_until\_date](https://www.ruby-forum.com/t/setting-my-paid-until-date/125820)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 5\
**Last updated:** [January 12, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/setting-my-paid-until-date/125820 "2008-01-12T17:13:19Z")

</div>

Why doesnt this work…it’s not setting my paid\_until\_date. VIEW CODE Paid until \<%= date\_select ‘property’, ‘paid\_until\_date’, :order =\> \[:day, :month, :year\] %\> CONTROLLER ACTION def record\_payment @property = Prop…

---

## [Form\_for question](https://www.ruby-forum.com/t/form-for-question/119062)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 5\
**Last updated:** [November 4, 2007, 9:52pm UTC](https://www.ruby-forum.com/t/form-for-question/119062 "2007-11-04T21:52:38Z")

</div>

Hi! A little question, I think quite stupid, so sorry in advance :wink: I find some differences between the official rails documentation and the Thomas book ‘agile web dev…’, and I don’t understand it. I the official …

---

## [TypeError: html has no properties](https://www.ruby-forum.com/t/typeerror-html-has-no-properties/112239)

<div class="topic-metadata">

**Author:** [@Glen](https://www.ruby-forum.com/u/Glen)\
**Replies:** 5\
**Last updated:** [August 16, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/typeerror-html-has-no-properties/112239 "2007-08-16T18:59:44Z")

</div>

I’m trying to update a div after form submission, for some reason it is dying on this line: render :update do |page| page\[:body\].replace\_html :url =\> body\_report\_show(:id =\> params\[:report\_id\]) end I get an alert w…

---

## [Has\_many relationship](https://www.ruby-forum.com/t/has-many-relationship/104196)

<div class="topic-metadata">

**Author:** [@shinkaku](https://www.ruby-forum.com/u/shinkaku)\
**Replies:** 5\
**Last updated:** [May 21, 2007, 4:03pm UTC](https://www.ruby-forum.com/t/has-many-relationship/104196 "2007-05-21T16:03:43Z")

</div>

I have a basic forum where users can leave messages for other users. I did this using a has\_many relationship. I’m able have a user access their messages, but I want to be able to display the name of the user who sent…

---

## [Writing good test suites?](https://www.ruby-forum.com/t/writing-good-test-suites/74689)

<div class="topic-metadata">

**Author:** [@phillyloco](https://www.ruby-forum.com/u/phillyloco)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 10:54am UTC](https://www.ruby-forum.com/t/writing-good-test-suites/74689 "2006-11-07T10:54:57Z")

</div>

Hello, Before I started using rails, I never really was one to write unit tests or any types of test suites really. The more I’ve been using rails the more I started to write bigger and more comprehensive test suites…

---

## [Newbie question Canvas or frame](https://www.ruby-forum.com/t/newbie-question-canvas-or-frame/71624)

<div class="topic-metadata">

**Author:** [@merrua](https://www.ruby-forum.com/u/merrua)\
**Replies:** 5\
**Last updated:** [October 10, 2006, 6:13pm UTC](https://www.ruby-forum.com/t/newbie-question-canvas-or-frame/71624 "2006-10-10T18:13:56Z")

</div>

In ruby-tk Do you need a canvas to show a picture or is it ok to show a picture on a frame? When should you use a canvas?

---

## [Problem with eventmachine](https://www.ruby-forum.com/t/problem-with-eventmachine/69182)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 5\
**Last updated:** [September 19, 2006, 2:52pm UTC](https://www.ruby-forum.com/t/problem-with-eventmachine/69182 "2006-09-19T14:52:47Z")

</div>

I have following code, the problem is, when i start a connection to the socket through telnet, the data send by the server i get as usual, but when i try to do the same through ruby code, the data send by the server …

---

## [Relationships: one model referencing same table for differen](https://www.ruby-forum.com/t/relationships-one-model-referencing-same-table-for-differen/98353)

<div class="topic-metadata">

**Author:** [@Ali\_Williams](https://www.ruby-forum.com/u/Ali_Williams)\
**Replies:** 5\
**Last updated:** [July 14, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/relationships-one-model-referencing-same-table-for-differen/98353 "2006-07-14T22:41:47Z")

</div>

Hi, After I’ve saved, I want to display the Description from the Codes table that corresponds with the ID in the Cause table. Rails doesn’t seem to like that, because on my form, I have two sets of data in combo bo…

---

## [What is protected?](https://www.ruby-forum.com/t/what-is-protected/97344)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 5\
**Last updated:** [July 6, 2006, 5:41pm UTC](https://www.ruby-forum.com/t/what-is-protected/97344 "2006-07-06T17:41:31Z")

</div>

In http://www.aidanf.net/rails\_user\_authentication\_tutorial there is the string/method protected in the model. What does it do? Can’t find that in http://api.rubyonrails.org/.

---

## [Is it possible to run some script before controller is hit](https://www.ruby-forum.com/t/is-it-possible-to-run-some-script-before-controller-is-hit/235151)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [June 3, 2013, 2:44pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-run-some-script-before-controller-is-hit/235151 "2013-06-03T14:44:48Z")

</div>

This has everything to do with new European cookie law ;-( Is it possible to start some script (on every call), before rails application is hit. Script would check for the presence of a cookie and if it is there just …

---

## [Qa\_constellation\_receiver test's constellation fails](https://www.ruby-forum.com/t/qa-constellation-receiver-tests-constellation-fails/226629)

<div class="topic-metadata">

**Author:** [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Replies:** 4\
**Last updated:** [February 16, 2013, 1:24am UTC](https://www.ruby-forum.com/t/qa-constellation-receiver-tests-constellation-fails/226629 "2013-02-16T01:24:06Z")

</div>

Discuss-gnuradio mailing list removed\_email\_address@domain.invalid https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

---

## [Portaudio](https://www.ruby-forum.com/t/portaudio/219149)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 22, 2012, 5:09am UTC](https://www.ruby-forum.com/t/portaudio/219149 "2012-04-22T05:09:36Z")

</div>

Under what circumstances will the build be dependent on portaudio? – Marcus L. Principal Investigator Shirleys Bay Radio Astronomy Consortium

---

## [New webpage look](https://www.ruby-forum.com/t/new-webpage-look/212653)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 13, 2011, 6:41am UTC](https://www.ruby-forum.com/t/new-webpage-look/212653 "2011-10-13T06:41:12Z")

</div>

If you go to gnuradio.org often, you might have noticed a few changes. First, the content organization was updated by Martin B., which helps categorize everything a lot better than before. We’re trying to make the inf…

---

## [\[Ruby/C\] Very little piece of code driving me crazy](https://www.ruby-forum.com/t/ruby-c-very-little-piece-of-code-driving-me-crazy/209463)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [July 14, 2011, 2:44pm UTC](https://www.ruby-forum.com/t/ruby-c-very-little-piece-of-code-driving-me-crazy/209463 "2011-07-14T14:44:04Z")

</div>

Hi there ! I have a very very little piece of code in C using the libruby, and it crashes… I’m probably missing something but I just can’t put my finger on it. Here’s the code : (I know, I don’t finalize Ruby ^^’ bu…

---

## [How do I make an email system that works for my site?](https://www.ruby-forum.com/t/how-do-i-make-an-email-system-that-works-for-my-site/198535)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 3, 2010, 6:26pm UTC](https://www.ruby-forum.com/t/how-do-i-make-an-email-system-that-works-for-my-site/198535 "2010-11-03T18:26:35Z")

</div>

I want to build an app where users can send emails within the site, as well to a client like gmail. Sort of how myspace.com sends emails within its self, As well as gmail. Is there a book that explains how to do both? …

---

## [Rails 3 install on Ruby Enterprise](https://www.ruby-forum.com/t/rails-3-install-on-ruby-enterprise/193953)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 4\
**Last updated:** [September 7, 2010, 2:27am UTC](https://www.ruby-forum.com/t/rails-3-install-on-ruby-enterprise/193953 "2010-09-07T02:27:08Z")

</div>

hi there - attempting to sudo gem install rails --pre on a system running ruby enterprise-1.8.7-2010.02. however, I’m getting an error: active model requires i18n before you say anything, I already ran the dependent g…

---

## [Scaffolding](https://www.ruby-forum.com/t/scaffolding/190999)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 4\
**Last updated:** [July 3, 2010, 12:13pm UTC](https://www.ruby-forum.com/t/scaffolding/190999 "2010-07-03T12:13:02Z")

</div>

Hello All, I am using scaffolding but i can not figure out that how to write my own methods except CRUD. I mean i know how to use CRUD methods but if i write my own method in my controller and call that from views the…

---

## [Session active\_record\_store](https://www.ruby-forum.com/t/session-active-record-store/190009)

<div class="topic-metadata">

**Author:** [@nick](https://www.ruby-forum.com/u/nick)\
**Replies:** 4\
**Last updated:** [June 11, 2010, 11:55pm UTC](https://www.ruby-forum.com/t/session-active-record-store/190009 "2010-06-11T23:55:06Z")

</div>

I attempted to make a toy rails 2.3.5 application in Debian ‘squeeze’ that uses the database to store sessions. My environment.rb is require File.join(File.dirname(FILE), ‘boot’) Rails::Initializer.run do |config| c…

---

## [Problem saving object](https://www.ruby-forum.com/t/problem-saving-object/186071)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 4\
**Last updated:** [March 31, 2010, 7:16pm UTC](https://www.ruby-forum.com/t/problem-saving-object/186071 "2010-03-31T19:16:39Z")

</div>

I’m using the Cache-Money gem on this app, and I’m getting this weird error whenever I try to create a new object. Rails 2.3.5 ruby 1.8.7 (2008-08-11 patchlevel 72) \[x86\_64-linux\] NoMethodError (undefined method \`\<=\>’…

---

## [Persisting an object](https://www.ruby-forum.com/t/persisting-an-object/184323)

<div class="topic-metadata">

**Author:** [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Replies:** 4\
**Last updated:** [February 28, 2010, 11:51pm UTC](https://www.ruby-forum.com/t/persisting-an-object/184323 "2010-02-28T23:51:48Z")

</div>

ok this is really basic rails question, but how do I keep an object alive between controller action? I thought I could create an object and it would remain alive, but I am guessing the controller object gets recreated…

---

## [Unpacking gems and gem version numbers](https://www.ruby-forum.com/t/unpacking-gems-and-gem-version-numbers/181190)

<div class="topic-metadata">

**Author:** [@coolmenu](https://www.ruby-forum.com/u/coolmenu)\
**Replies:** 4\
**Last updated:** [January 7, 2010, 7:43pm UTC](https://www.ruby-forum.com/t/unpacking-gems-and-gem-version-numbers/181190 "2010-01-07T19:43:06Z")

</div>

I’m thinking about unpacking the gems that my app uses. If my development box has exactly the gem versions I want to unpack, do I still need to specify each gem’s version in config/environment.rb? config.gem “papercl…

---

## [Multiple views of the same model](https://www.ruby-forum.com/t/multiple-views-of-the-same-model/176705)

<div class="topic-metadata">

**Author:** [@Jonas\_L](https://www.ruby-forum.com/u/Jonas_L)\
**Replies:** 4\
**Last updated:** [October 5, 2009, 2:43pm UTC](https://www.ruby-forum.com/t/multiple-views-of-the-same-model/176705 "2009-10-05T14:43:41Z")

</div>

Hi, How can I implement two different views on the same model? My model has 30 attributes. The First view should display 1-12 and the second view the rest of them. In my case I am dealing with two medical anamneses w…

---

## [Is there a decent canonical way to get total days in a month from say Time class?](https://www.ruby-forum.com/t/is-there-a-decent-canonical-way-to-get-total-days-in-a-month-from-say-time-class/169996)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 4\
**Last updated:** [June 11, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/is-there-a-decent-canonical-way-to-get-total-days-in-a-month-from-say-time-class/169996 "2009-06-11T12:53:19Z")

</div>

I suppose I could flip through local until I generate an exception, but somehow I would think there would be a set of class methods to get: daysofmonth = Time.daysofmonth(y,m) daysofyear = Time.daysofyear(y) leapday…

---

## [Transforming DateTime in this format: Fri Mar 13 13:00:52 -0700 2009](https://www.ruby-forum.com/t/transforming-datetime-in-this-format-fri-mar-13-1352-0700-2009/162843)

<div class="topic-metadata">

**Author:** [@Lee\_DSoSSSSjgi](https://www.ruby-forum.com/u/Lee_DSoSSSSjgi)\
**Replies:** 4\
**Last updated:** [March 16, 2009, 9:32am UTC](https://www.ruby-forum.com/t/transforming-datetime-in-this-format-fri-mar-13-1352-0700-2009/162843 "2009-03-16T09:32:52Z")

</div>

I’m trying to reformat the following DateTime: ‘Fri Mar 13 13:00:52 -0700 2009’ to be ‘2009-03-13 13:00:42’, but can’t quite seem to get it. I’ve tried strftime(’%a %b %d %H %M %S -0700 %Y’) amongst other things and …

---

## [Trouble Linking to libusrp](https://www.ruby-forum.com/t/trouble-linking-to-libusrp/149881)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 4\
**Last updated:** [September 30, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/trouble-linking-to-libusrp/149881 "2008-09-30T22:43:36Z")

</div>

Hi all, I’m working in Ubuntu 8.04 writing code in C++ that access the USRP. I’m trying to link to the usrp library (libusrp) with the -lusrp flag, but g++ spits out the following error: /usr/bin/ld: cannot find -lus…

---

## [New to Ruby, question about gem](https://www.ruby-forum.com/t/new-to-ruby-question-about-gem/144677)

<div class="topic-metadata">

**Author:** [@akinsgre](https://www.ruby-forum.com/u/akinsgre)\
**Replies:** 4\
**Last updated:** [August 1, 2008, 10:22pm UTC](https://www.ruby-forum.com/t/new-to-ruby-question-about-gem/144677 "2008-08-01T22:22:13Z")

</div>

I had just installed Rails 2.1.0, or at least that’s the feedback I got when I typed “gem install rails” However, when I look in my gem paths I see that rails-1.2.6 is the only directory there. Am I missing something…

---

## [Model error\_messages\_for](https://www.ruby-forum.com/t/model-error-messages-for/143795)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 4\
**Last updated:** [July 22, 2008, 10:06pm UTC](https://www.ruby-forum.com/t/model-error-messages-for/143795 "2008-07-22T22:06:38Z")

</div>

I have this in my form view: \<%= error\_messages\_for ‘post’ %\> I’m not using form\_for, just a regular form\_tag: \<% form\_tag :action =\> ‘save\_requirement’ do %\> The error messages do not pop up, any suggestions? Thank…

---

## [Fragment caching keeping stale product prices](https://www.ruby-forum.com/t/fragment-caching-keeping-stale-product-prices/139041)

<div class="topic-metadata">

**Author:** [@random52k](https://www.ruby-forum.com/u/random52k)\
**Replies:** 4\
**Last updated:** [May 30, 2008, 11:35pm UTC](https://www.ruby-forum.com/t/fragment-caching-keeping-stale-product-prices/139041 "2008-05-30T23:35:33Z")

</div>

I’ve got a list of products in my system and a master list of products available from my distributor. Every night I import a new distributor product file and update the prices for my list of products if any of them …

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

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