# Top

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

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

---

## [Single table inheritance for different user types?](https://www.ruby-forum.com/t/single-table-inheritance-for-different-user-types/52177)

<div class="topic-metadata">

**Author:** [@Daniel\_Holmlund](https://www.ruby-forum.com/u/Daniel_Holmlund)\
**Replies:** 1\
**Last updated:** [January 11, 2006, 10:09pm UTC](https://www.ruby-forum.com/t/single-table-inheritance-for-different-user-types/52177 "2006-01-11T22:09:39Z")

</div>

First of all, I wanted to give a harty “thank you” to James A.s for creating rails engines, which seems like a very natural way to increase codesharing and productivity. My question is how have people implemented diff…

---

## [Activerecord.save attributes not saved](https://www.ruby-forum.com/t/activerecord-save-attributes-not-saved/50045)

<div class="topic-metadata">

**Author:** [@Sergi\_Borras](https://www.ruby-forum.com/u/Sergi_Borras)\
**Replies:** 1\
**Last updated:** [December 12, 2005, 4:27pm UTC](https://www.ruby-forum.com/t/activerecord-save-attributes-not-saved/50045 "2005-12-12T16:27:15Z")

</div>

Hi there, I just added two new attributes, created (datetime) and user\_id in a db entity called documents. Those two new attributes are not being saved to the db by the activerecord model ‘document’, they remain null…

---

## [Ruby 2.0 on Solaris](https://www.ruby-forum.com/t/ruby-2-0-on-solaris/245782)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [July 14, 2013, 1:05pm UTC](https://www.ruby-forum.com/t/ruby-2-0-on-solaris/245782 "2013-07-14T13:05:45Z")

</div>

Is it possible to install Ruby 2.0 or higher version in Solaris? If possible how an I do that?

---

## [Group validation](https://www.ruby-forum.com/t/group-validation/217391)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 29, 2012, 5:26pm UTC](https://www.ruby-forum.com/t/group-validation/217391 "2012-02-29T17:26:31Z")

</div>

hi im new in rails and starting to develop my application which is a online reservation im just wondering if there is a way in Ruby on rails to group a validation ei. i want to validate the uniqueness of date first in…

---

## [Undefined Method](https://www.ruby-forum.com/t/undefined-method/217198)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 23, 2012, 8:34pm UTC](https://www.ruby-forum.com/t/undefined-method/217198 "2012-02-23T20:34:26Z")

</div>

Hi all, I am currently trying to get a bunch of links to to display all the related console records upon button click so e.g. If a user clicks on the Dreamcast link then I would like it to display all records that hav…

---

## [Style question](https://www.ruby-forum.com/t/style-question/203705)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 25, 2011, 3:10pm UTC](https://www.ruby-forum.com/t/style-question/203705 "2011-02-25T15:10:05Z")

</div>

Hi all, Quick (I hope) question about preferred style for variable naming. I see reference in various books to a preferred Ruby style of underscores in variable names in preference to camel case. (my\_variable\_has\_th…

---

## [\[Bug #3464\] win32ole failure load TYPELIB on mswin64 vista](https://www.ruby-forum.com/t/bug-3464-win32ole-failure-load-typelib-on-mswin64-vista/190541)

<div class="topic-metadata">

**Author:** [@sakiyama\_shin](https://www.ruby-forum.com/u/sakiyama_shin)\
**Replies:** 4\
**Last updated:** [June 23, 2010, 2:41pm UTC](https://www.ruby-forum.com/t/bug-3464-win32ole-failure-load-typelib-on-mswin64-vista/190541 "2010-06-23T14:41:20Z")

</div>

Bug #3464: win32ole failure load TYPELIB on mswin64 vista http://redmine.ruby-lang.org/issues/show/3464 e$B5/I\<\<Te(B: sakiyama shin e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: ext, Target version: 1.…

---

## [Redirect www to non-www](https://www.ruby-forum.com/t/redirect-www-to-non-www/181979)

<div class="topic-metadata">

**Author:** [@johnny](https://www.ruby-forum.com/u/johnny)\
**Replies:** 4\
**Last updated:** [January 21, 2010, 12:53pm UTC](https://www.ruby-forum.com/t/redirect-www-to-non-www/181979 "2010-01-21T12:53:34Z")

</div>

How to redirect www to non-www? e.g redirect www.example.com to example.com Thanks Johnny

---

## [After upgrading to Rails 2.3.4, Lazy Loaded attributes are never loaded. Broken?](https://www.ruby-forum.com/t/after-upgrading-to-rails-2-3-4-lazy-loaded-attributes-are-never-loaded-broken/178779)

<div class="topic-metadata">

**Author:** [@soderic](https://www.ruby-forum.com/u/soderic)\
**Replies:** 4\
**Last updated:** [November 12, 2009, 3:01pm UTC](https://www.ruby-forum.com/t/after-upgrading-to-rails-2-3-4-lazy-loaded-attributes-are-never-loaded-broken/178779 "2009-11-12T15:01:04Z")

</div>

I have an application that I started developing under 2.1 and have progressed through 2.2 and am no attempting to run using 2.3.4. The application is heavily reliant on ActiveRecord and the ability to reference object…

---

## [Java2d and rack](https://www.ruby-forum.com/t/java2d-and-rack/177139)

<div class="topic-metadata">

**Author:** [@dishkuvek](https://www.ruby-forum.com/u/dishkuvek)\
**Replies:** 4\
**Last updated:** [October 12, 2009, 6:53pm UTC](https://www.ruby-forum.com/t/java2d-and-rack/177139 "2009-10-12T18:53:00Z")

</div>

Before I dive too deeply into this myself (having never done java2d before), just thought I’d ask if anyone had any experience in using java2d from jruby? Ideally I’m after a rack middleware that can transform images …

---

## [Object has invalid ID after rollback](https://www.ruby-forum.com/t/object-has-invalid-id-after-rollback/176177)

<div class="topic-metadata">

**Author:** [@tnyplz](https://www.ruby-forum.com/u/tnyplz)\
**Replies:** 4\
**Last updated:** [September 29, 2009, 2:54pm UTC](https://www.ruby-forum.com/t/object-has-invalid-id-after-rollback/176177 "2009-09-29T14:54:39Z")

</div>

I suspect there is a standard way to handle this issue but I haven’t found it. In my controller create action I have a Transaction. Lets say I’m creating a user object here. def new User.transaction do @user = Use…

---

## [Use nginx as proxy with cache for satic files](https://www.ruby-forum.com/t/use-nginx-as-proxy-with-cache-for-satic-files/174968)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [September 6, 2009, 7:23am UTC](https://www.ruby-forum.com/t/use-nginx-as-proxy-with-cache-for-satic-files/174968 "2009-09-06T07:23:15Z")

</div>

Hi, I want to use nginx as a reverse proxy to my backend server with a cache for the static files. Proxy and cache work perfectly, when I do it like this: location / { proxy\_pass http://backend.server.org/; proxy\_c…

---

## [Favourite irbrc tips?](https://www.ruby-forum.com/t/favourite-irbrc-tips/174423)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 4\
**Last updated:** [August 26, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/favourite-irbrc-tips/174423 "2009-08-26T21:45:49Z")

</div>

Other than installing wirble, what ought I be doing to enhance my irb session? martin

---

## [Nested forms](https://www.ruby-forum.com/t/nested-forms/171946)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 4\
**Last updated:** [July 12, 2009, 7:56am UTC](https://www.ruby-forum.com/t/nested-forms/171946 "2009-07-12T07:56:56Z")

</div>

Can someone please point me in the right direction on what to do here, in terms of basic architecture. I;ve seen this type of interface before. Let’s say I have something that is “sold” and I have a form for the sold…

---

## [ActiveRecord test problem](https://www.ruby-forum.com/t/activerecord-test-problem/169560)

<div class="topic-metadata">

**Author:** [@ffrancy](https://www.ruby-forum.com/u/ffrancy)\
**Replies:** 4\
**Last updated:** [June 9, 2009, 10:26am UTC](https://www.ruby-forum.com/t/activerecord-test-problem/169560 "2009-06-09T10:26:59Z")

</div>

I have a problem to run ActiveRecord’s tests. I downloaded the source code of ActiveRecord and I put it in NetBeansProject folder (I use that IDE). I opened it as a Ruby project with existing source. I had also to put …

---

## [Problem with running rake db:migrate on a Rails app](https://www.ruby-forum.com/t/problem-with-running-rake-db-migrate-on-a-rails-app/160995)

<div class="topic-metadata">

**Author:** [@polarapfel](https://www.ruby-forum.com/u/polarapfel)\
**Replies:** 4\
**Last updated:** [April 18, 2009, 5:00am UTC](https://www.ruby-forum.com/t/problem-with-running-rake-db-migrate-on-a-rails-app/160995 "2009-04-18T05:00:20Z")

</div>

Hi everybody, I am trying to get the Typo blog engine up and running in development mode but I hit the wall as early as running rake db:migrate: (in /home/tweisser/workspace/typo/typo) rake aborted! no such file to …

---

## [Primary Key Field name - Problem](https://www.ruby-forum.com/t/primary-key-field-name-problem/164134)

<div class="topic-metadata">

**Author:** [@devirv](https://www.ruby-forum.com/u/devirv)\
**Replies:** 4\
**Last updated:** [March 28, 2009, 1:57pm UTC](https://www.ruby-forum.com/t/primary-key-field-name-problem/164134 "2009-03-28T13:57:35Z")

</div>

Dear All, Can i declare a primary key field name as us\_id? instead of Id. Regards Devi.R

---

## [NoMethodError with custom RAILS\_ENV](https://www.ruby-forum.com/t/nomethoderror-with-custom-rails-env/160954)

<div class="topic-metadata">

**Author:** [@Filip\_T](https://www.ruby-forum.com/u/Filip_T)\
**Replies:** 4\
**Last updated:** [February 25, 2009, 9:00am UTC](https://www.ruby-forum.com/t/nomethoderror-with-custom-rails-env/160954 "2009-02-25T09:00:49Z")

</div>

Hi, I’ve just deployed my application to staging server, using RAILS\_ENV=staging (Ruby 1.8.7, mod\_rails). The application works fine in production (using setup as above), but I keep on getting this error (both in mod…

---

## [Convention over configuration](https://www.ruby-forum.com/t/convention-over-configuration/159526)

<div class="topic-metadata">

**Author:** [@mauro](https://www.ruby-forum.com/u/mauro)\
**Replies:** 4\
**Last updated:** [February 10, 2009, 10:30am UTC](https://www.ruby-forum.com/t/convention-over-configuration/159526 "2009-02-10T10:30:17Z")

</div>

Per poter sfruttare appieno le caratteristiche che rails mette a disposizione e’ bene adattarsi alle sue convenzioni. tra queste c’e’ l’uso della lingua inglese per i nomi dei modelli, tabelle, ecc. Sarebbe preferibi…

---

## [Name mangling in scaffolding generator](https://www.ruby-forum.com/t/name-mangling-in-scaffolding-generator/158013)

<div class="topic-metadata">

**Author:** [@cleca](https://www.ruby-forum.com/u/cleca)\
**Replies:** 4\
**Last updated:** [January 26, 2009, 11:19pm UTC](https://www.ruby-forum.com/t/name-mangling-in-scaffolding-generator/158013 "2009-01-26T23:19:09Z")

</div>

The scaffolding generator does some name mangling, for example it does pluralization. However, it looks like there are some other rules and I do not understand them. I did a script/generate scaffold EVENTLOG whenSec:…

---

## [Mind-boggling problem with update\_attributes()](https://www.ruby-forum.com/t/mind-boggling-problem-with-update-attributes/156453)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 4\
**Last updated:** [December 28, 2008, 4:34pm UTC](https://www.ruby-forum.com/t/mind-boggling-problem-with-update-attributes/156453 "2008-12-28T16:34:41Z")

</div>

So I’m working on creating a migration for a new version of one of the projects I’m working on. But Rake seems to be selectively spitting out errors. The same code that works only a few lines up will not work where I …

---

## [\[Bug #497\] NEWS$B$r=q$/(B](https://www.ruby-forum.com/t/bug-497-news-b-r-q-b/146799)

<div class="topic-metadata">

**Author:** [@Yuki\_S](https://www.ruby-forum.com/u/Yuki_S)\
**Replies:** 4\
**Last updated:** [December 26, 2008, 6:02am UTC](https://www.ruby-forum.com/t/bug-497-news-b-r-q-b/146799 "2008-12-26T06:02:27Z")

</div>

Bug #497: NEWSe$B$r=q$/e(B http://redmine.ruby-lang.org/issues/show/497 e$B5/I\<\<Te(B: Yuki S. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: DOC doc/NEWSe$B$KDI2C$9$Y$-$3$He(B universal newline trans…

---

## [Remove me from the mailing list](https://www.ruby-forum.com/t/remove-me-from-the-mailing-list/155035)

<div class="topic-metadata">

**Author:** [@Chas\_OSRiley](https://www.ruby-forum.com/u/Chas_OSRiley)\
**Replies:** 4\
**Last updated:** [December 7, 2008, 10:30am UTC](https://www.ruby-forum.com/t/remove-me-from-the-mailing-list/155035 "2008-12-07T10:30:05Z")

</div>

CEO’Riley

---

## [Finding and writing to specified area in a text file](https://www.ruby-forum.com/t/finding-and-writing-to-specified-area-in-a-text-file/153326)

<div class="topic-metadata">

**Author:** [@rmac217](https://www.ruby-forum.com/u/rmac217)\
**Replies:** 4\
**Last updated:** [November 20, 2008, 5:51pm UTC](https://www.ruby-forum.com/t/finding-and-writing-to-specified-area-in-a-text-file/153326 "2008-11-20T17:51:23Z")

</div>

Hello, I’m trying to find a specified keyword in a text file that I have open then replace the line of that keyword with some new text. Is it possible do do this? So something like: #custom.txt hello world INSERT …

---

## [What am i doing?](https://www.ruby-forum.com/t/what-am-i-doing/147896)

<div class="topic-metadata">

**Author:** [@cherok](https://www.ruby-forum.com/u/cherok)\
**Replies:** 4\
**Last updated:** [September 7, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/what-am-i-doing/147896 "2008-09-07T17:10:04Z")

</div>

this is my first application in RoR and am kind of stuck. part of my confusion is where/when to use the model, controller or view. one of my tables is called gi\_maps which is basically a hash: sqlite\> select \* from g…

---

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

<div class="topic-metadata">

**Author:** [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Replies:** 4\
**Last updated:** [August 30, 2008, 4:10am UTC](https://www.ruby-forum.com/t/proc-and-lambda/147213 "2008-08-30T04:10:07Z")

</div>

I’m new to Ruby with PHP background. Is there any super easy explanation or tutorial for proc and lamda? Do I need experience with Lisp or Smalltalk? Proc and lambda are most fun part in ruby, people say. But, I feel …

---

## [Iniziando con rails 2](https://www.ruby-forum.com/t/iniziando-con-rails-2/145632)

<div class="topic-metadata">

**Author:** [@mauro](https://www.ruby-forum.com/u/mauro)\
**Replies:** 4\
**Last updated:** [August 13, 2008, 4:11pm UTC](https://www.ruby-forum.com/t/iniziando-con-rails-2/145632 "2008-08-13T16:11:40Z")

</div>

Sto seguendo dei piccoli tutorial qua we la in rete visto che di manuali scaricabili in rete su rails 2 non ce ne sono. La prima domanda che mi viene e’: faccio due applicazioni con rails, es: app1 e app2. Da dentro …

---

## [\[ANN\] Ruby Mendicant Project Selected](https://www.ruby-forum.com/t/ann-ruby-mendicant-project-selected/196631)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 4\
**Last updated:** [April 7, 2008, 10:23pm UTC](https://www.ruby-forum.com/t/ann-ruby-mendicant-project-selected/196631 "2008-04-07T22:23:33Z")

</div>

Hi Folks, I’m happy to announce that after donations closed, I received a total of 22 weeks of funding. After inviting the community to participate in open discussion on the Ruby Mendicant mailing list, as well as c…

---

## [Changes to RSpec Bundle](https://www.ruby-forum.com/t/changes-to-rspec-bundle/133924)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 4\
**Last updated:** [April 5, 2008, 4:59am UTC](https://www.ruby-forum.com/t/changes-to-rspec-bundle/133924 "2008-04-05T04:59:20Z")

</div>

Hi, I forked the rspec bundle on github and added a new command to it (an Update RSpec Bundle command). I sent a pull request, but haven’t heard back from anyone on it. David, did you get my pull request? Or did it…

---

## [Really disabling caching](https://www.ruby-forum.com/t/really-disabling-caching/128884)

<div class="topic-metadata">

**Author:** [@casperfabricius](https://www.ruby-forum.com/u/casperfabricius)\
**Replies:** 4\
**Last updated:** [February 13, 2008, 9:03am UTC](https://www.ruby-forum.com/t/really-disabling-caching/128884 "2008-02-13T09:03:32Z")

</div>

I have a Radiant-based site that I need to run without any caching, because information about the currently logged in user (or a login box) is part of the site design. I thought disabling caching was just a matter of …

---

## [Relaciones Multiples](https://www.ruby-forum.com/t/relaciones-multiples/127767)

<div class="topic-metadata">

**Author:** [@Santiago\_Y](https://www.ruby-forum.com/u/Santiago_Y)\
**Replies:** 4\
**Last updated:** [February 1, 2008, 6:59pm UTC](https://www.ruby-forum.com/t/relaciones-multiples/127767 "2008-02-01T18:59:25Z")

</div>

Hola a todos, mi problema es el siguiente: tengo una tabla “alquiler” (id\_alquiler, id\_socio,id\_empleado) La clave primaria de la tabla “alquiler” es id\_alquiler Los campos id\_socio,id\_empleado son FK (Claves foraneas)…

---

## [EZ install for RMagick on OS X](https://www.ruby-forum.com/t/ez-install-for-rmagick-on-os-x/120430)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 4\
**Last updated:** [November 17, 2007, 11:19am UTC](https://www.ruby-forum.com/t/ez-install-for-rmagick-on-os-x/120430 "2007-11-17T11:19:06Z")

</div>

With the help of several good folks I’ve been able to come up a new, simplified process for installing RMagick on OS X using MacPorts. It’s basically a 3-step process: install MacPorts (if you haven’t already), insta…

---

## [BBN module](https://www.ruby-forum.com/t/bbn-module/196501)

<div class="topic-metadata">

**Author:** [@Mohammad\_Hamed\_F](https://www.ruby-forum.com/u/Mohammad_Hamed_F)\
**Replies:** 4\
**Last updated:** [October 24, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/bbn-module/196501 "2007-10-24T16:31:36Z")

</div>

Hi everyone, I am going to use BBN code on IEEE802.11b. But these codes need to import a module named bbn from gnuradio package. My gnuradio has not this module. Where can I find it and how I can add it to my gnuradio …

---

## [Validates\_uniqueness\_of on a facade column](https://www.ruby-forum.com/t/validates-uniqueness-of-on-a-facade-column/115419)

<div class="topic-metadata">

**Author:** [@spike666](https://www.ruby-forum.com/u/spike666)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 4:39am UTC](https://www.ruby-forum.com/t/validates-uniqueness-of-on-a-facade-column/115419 "2007-09-25T04:39:00Z")

</div>

Hey all… I’ve got a facade column set up (specifically, I’ve got a column in my database called ip\_address that stores an IP as a 32-bit integer rather than the dotted notation, but the model reads and writes as the d…

---

## [Images larger than 40k uploaded with attachment\_fu won't dis](https://www.ruby-forum.com/t/images-larger-than-40k-uploaded-with-attachment-fu-wont-dis/114202)

<div class="topic-metadata">

**Author:** [@sp00nyg](https://www.ruby-forum.com/u/sp00nyg)\
**Replies:** 4\
**Last updated:** [September 10, 2007, 4:53pm UTC](https://www.ruby-forum.com/t/images-larger-than-40k-uploaded-with-attachment-fu-wont-dis/114202 "2007-09-10T16:53:44Z")

</div>

I have a problem displaying images when using attachment\_fu. When I try to display the image, only about 40k appears in the browser, and with some images even that much is not visible (just garbage when I view source)…

---

## [Libgnuradio-core.so.0](https://www.ruby-forum.com/t/libgnuradio-core-so-0/109558)

<div class="topic-metadata">

**Author:** [@Tom\_O](https://www.ruby-forum.com/u/Tom_O)\
**Replies:** 4\
**Last updated:** [July 16, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/libgnuradio-core-so-0/109558 "2007-07-16T22:04:06Z")

</div>

Attempting to run /gnuradio-3.0.3/gnuradio-examples/python/usrp\> ./usrp\_oscope.py and I get: Traceback (most recent call last): File “./usrp\_oscope.py”, line 25, in ? from gnuradio import gr, gru File “/usr/local/li…

---

## [Mongrel and ssl](https://www.ruby-forum.com/t/mongrel-and-ssl/109090)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 4\
**Last updated:** [July 12, 2007, 3:49pm UTC](https://www.ruby-forum.com/t/mongrel-and-ssl/109090 "2007-07-12T15:49:16Z")

</div>

Hi, I currently have an app running using Mongrel, and need to add SSL to certain functions. I found this link (http://www.styledbits.com/ articles/2006/06/04/adding-ssl-to-your-rails-app-in-5-minutes) hunting throu…

---

## [Show a loading image while a new view is rendered](https://www.ruby-forum.com/t/show-a-loading-image-while-a-new-view-is-rendered/107799)

<div class="topic-metadata">

**Author:** [@mffreire](https://www.ruby-forum.com/u/mffreire)\
**Replies:** 4\
**Last updated:** [June 27, 2007, 6:46pm UTC](https://www.ruby-forum.com/t/show-a-loading-image-while-a-new-view-is-rendered/107799 "2007-06-27T18:46:43Z")

</div>

I need a help in here… I wanna show a loading image after i click a submit tag (button). This button generates a list of items and i wanna show the image while the list is created. What show i do? Does the ruby have …

---

## [Using transactions with secondary indexes in bdb](https://www.ruby-forum.com/t/using-transactions-with-secondary-indexes-in-bdb/90809)

<div class="topic-metadata">

**Author:** [@Jim\_Cain](https://www.ruby-forum.com/u/Jim_Cain)\
**Replies:** 4\
**Last updated:** [April 2, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/using-transactions-with-secondary-indexes-in-bdb/90809 "2007-04-02T23:09:49Z")

</div>

I’m having trouble figuring out how to do transactions. I’m using db 4.5.40 from Oracle and bdb 0.6.0. Here’s a code snippet: require ‘bdb’ BDB::Hash.open(‘models.db’, nil, BDB::TRUNCATE) {} BDB::Hash.open(‘makes.db’…

---

## [New user questions](https://www.ruby-forum.com/t/new-user-questions/88125)

<div class="topic-metadata">

**Author:** [@raphael\_b](https://www.ruby-forum.com/u/raphael_b)\
**Replies:** 4\
**Last updated:** [March 9, 2007, 3:55am UTC](https://www.ruby-forum.com/t/new-user-questions/88125 "2007-03-09T03:55:56Z")

</div>

Hi, I’m planning to use radiant to power a website, but before taking the plunge I have some questions. I installed the 0.6 release candidate. Here are questions I couldn’t answer by looking at the docs or the mailin…

---

## [Application error after server reset](https://www.ruby-forum.com/t/application-error-after-server-reset/81826)

<div class="topic-metadata">

**Author:** [@dxk3355](https://www.ruby-forum.com/u/dxk3355)\
**Replies:** 4\
**Last updated:** [January 15, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/application-error-after-server-reset/81826 "2007-01-15T19:09:26Z")

</div>

I was logged in my rails web app in firefox which is running on Ubuntu (WEBRick). I restarted the server and tried to continue to use the app and I get this: Application error Change this error message for exceptions…

---

## [Widgets within a page?](https://www.ruby-forum.com/t/widgets-within-a-page/72180)

<div class="topic-metadata">

**Author:** [@roa](https://www.ruby-forum.com/u/roa)\
**Replies:** 4\
**Last updated:** [October 16, 2006, 1:11am UTC](https://www.ruby-forum.com/t/widgets-within-a-page/72180 "2006-10-16T01:11:34Z")

</div>

Hi guys, I need a bit of advice… I’m fairly new to Rails, the most I’ve done is get it running and install Radiant for a project I’m working on… so I havent actually done any rails code as yet… =\] Anyway, I need to im…

---

## [Limit results to specific IDs](https://www.ruby-forum.com/t/limit-results-to-specific-ids/70443)

<div class="topic-metadata">

**Author:** [@Winton](https://www.ruby-forum.com/u/Winton)\
**Replies:** 4\
**Last updated:** [September 29, 2006, 3:18pm UTC](https://www.ruby-forum.com/t/limit-results-to-specific-ids/70443 "2006-09-29T15:18:19Z")

</div>

How would you go about searching only a specific set of IDs in acts\_as\_ferret? Should I just create a huge “or” query or is there a more stylish way? Thanks, Winton

---

## [Restful urls and additional parameters](https://www.ruby-forum.com/t/restful-urls-and-additional-parameters/70140)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [September 27, 2006, 5:09am UTC](https://www.ruby-forum.com/t/restful-urls-and-additional-parameters/70140 "2006-09-27T05:09:59Z")

</div>

I’m doing a restful refactoring of my site. Let’s say I have a link\_to an index action. My url would something like: orders\_url. What if I wanted to filter that index to show only open orders (or any other parameter).…

---

## [RSS feeds](https://www.ruby-forum.com/t/rss-feeds/101325)

<div class="topic-metadata">

**Author:** [@prasad](https://www.ruby-forum.com/u/prasad)\
**Replies:** 4\
**Last updated:** [August 9, 2006, 4:52pm UTC](https://www.ruby-forum.com/t/rss-feeds/101325 "2006-08-09T16:52:51Z")

</div>

Hi all, Can anybody tell me how we can create RSS feed using Ruby on Rails. How do I go about constructing this RSS file? Can I find an example in any site? regards, Prasad

---

## [Help with link\_to\_remote or javascript generator](https://www.ruby-forum.com/t/help-with-link-to-remote-or-javascript-generator/98433)

<div class="topic-metadata">

**Author:** [@bryan\_t](https://www.ruby-forum.com/u/bryan_t)\
**Replies:** 4\
**Last updated:** [July 15, 2006, 7:33pm UTC](https://www.ruby-forum.com/t/help-with-link-to-remote-or-javascript-generator/98433 "2006-07-15T19:33:37Z")

</div>

Hi all, I’m a relative noob to rails so I apologize in advance for asking such a basic question. I am trying to do multiple AJAX calls using the link\_to\_remote helper or the JavaScript generator update\_page. I have…

---

## [Sliding Gallery](https://www.ruby-forum.com/t/sliding-gallery/96009)

<div class="topic-metadata">

**Author:** [@Horacio\_S](https://www.ruby-forum.com/u/Horacio_S)\
**Replies:** 4\
**Last updated:** [June 23, 2006, 7:40am UTC](https://www.ruby-forum.com/t/sliding-gallery/96009 "2006-06-23T07:40:30Z")

</div>

I have a little image gallery application in rails enough for small galleries (20\< photos). But as images increase and the user needs to scroll down the page it starts getting anoying to see all pictures… I though…

---

## [Useful bit of code (hopefully)](https://www.ruby-forum.com/t/useful-bit-of-code-hopefully/59384)

<div class="topic-metadata">

**Author:** [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Replies:** 4\
**Last updated:** [May 4, 2006, 1:09pm UTC](https://www.ruby-forum.com/t/useful-bit-of-code-hopefully/59384 "2006-05-04T13:09:22Z")

</div>

Hi, I often find myself using bits of code like this inside ActiveRecord, perhaps it’s useful for others, or others can improve on it: ########### fix user input before validating it before\_validation :sanitize\_input …

---

## [Mongrel error on debian sarge](https://www.ruby-forum.com/t/mongrel-error-on-debian-sarge/59059)

<div class="topic-metadata">

**Author:** [@Jean-Christophe\_M](https://www.ruby-forum.com/u/Jean-Christophe_M)\
**Replies:** 4\
**Last updated:** [May 3, 2006, 7:11pm UTC](https://www.ruby-forum.com/t/mongrel-error-on-debian-sarge/59059 "2006-05-03T19:11:07Z")

</div>

Hi, I cannot get mongrel working on i686 debian sarge, whereas it works quite well on another ppc box under debian unstable. Instead I can use scgi\_rails or webbrick without any problem. Here is the error: mongrel\_r…

---

## [Many to Many Category structure with itself](https://www.ruby-forum.com/t/many-to-many-category-structure-with-itself/58320)

<div class="topic-metadata">

**Author:** [@kyle](https://www.ruby-forum.com/u/kyle)\
**Replies:** 4\
**Last updated:** [April 21, 2006, 9:19pm UTC](https://www.ruby-forum.com/t/many-to-many-category-structure-with-itself/58320 "2006-04-21T21:19:25Z")

</div>

Basically, I’m trying to have a table called “categories” have a many to many relationship with itself. But I also want each catagory to be able to be “copied” into another category so it is essentially a child catego…

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

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