# Top

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

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

---

## [Find mit include und commentable](https://www.ruby-forum.com/t/find-mit-include-und-commentable/163524)

<div class="topic-metadata">

**Author:** [@xinu](https://www.ruby-forum.com/u/xinu)\
**Replies:** 1\
**Last updated:** [March 24, 2009, 4:15pm UTC](https://www.ruby-forum.com/t/find-mit-include-und-commentable/163524 "2009-03-24T16:15:38Z")

</div>

Hallo. Ich habe ein kleine Problem und benÃ¶tige eure Hilfe. Ich habe Kommentar die mit commentable\_type und commentable\_id an ein Objekt gebunden sind. Im aktuellen Fall ist commentable nur ein BlogEntry. Ein BlogE…

---

## [Upstream Backup Issue](https://www.ruby-forum.com/t/upstream-backup-issue/160220)

<div class="topic-metadata">

**Author:** [@Nathan\_Folkman](https://www.ruby-forum.com/u/Nathan_Folkman)\
**Replies:** 1\
**Last updated:** [February 13, 2009, 11:45am UTC](https://www.ruby-forum.com/t/upstream-backup-issue/160220 "2009-02-13T11:45:48Z")

</div>

Hi, We have the following configuration, running nginx 0.6.34: … upstream frontend { server host\_a; server host\_b; server host\_c; server host\_d; server failover\_host backup; } server { listen 80; server\_name …

---

## [Speed up Rails application and CGI script](https://www.ruby-forum.com/t/speed-up-rails-application-and-cgi-script/147960)

<div class="topic-metadata">

**Author:** [@konstantin](https://www.ruby-forum.com/u/konstantin)\
**Replies:** 1\
**Last updated:** [September 7, 2008, 10:48pm UTC](https://www.ruby-forum.com/t/speed-up-rails-application-and-cgi-script/147960 "2008-09-07T22:48:32Z")

</div>

Hello! I was redirected to this group from another. Here is my question: what kind of configuration do you have on your production server for Rails? I need to speed up my application in 10-15 times, and I wonder how …

---

## [Default maximum result size](https://www.ruby-forum.com/t/default-maximum-result-size/135145)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 1\
**Last updated:** [April 24, 2008, 8:11am UTC](https://www.ruby-forum.com/t/default-maximum-result-size/135145 "2008-04-24T08:11:17Z")

</div>

Hi, I’ve got a Ferret index which I’m using through ActsAsFerret on a database with about 300,000 records. Searches on the index (for example wildcard - “A\*”) seem to be truncated at 512 results. This is a problem as …

---

## [Borrar variables de session](https://www.ruby-forum.com/t/borrar-variables-de-session/130504)

<div class="topic-metadata">

**Author:** [@goku](https://www.ruby-forum.com/u/goku)\
**Replies:** 1\
**Last updated:** [February 28, 2008, 9:02pm UTC](https://www.ruby-forum.com/t/borrar-variables-de-session/130504 "2008-02-28T21:02:43Z")

</div>

buenas, yo quiera saber como hago para eliminar las variables de una session despues de cierto tiempo y redireccionar a una pagina de inicio

---

## [Fix for the multiple 'find' aliasing side-effects](https://www.ruby-forum.com/t/fix-for-the-multiple-find-aliasing-side-effects/73442)

<div class="topic-metadata">

**Author:** [@dim](https://www.ruby-forum.com/u/dim)\
**Replies:** 1\
**Last updated:** [October 25, 2006, 10:18am UTC](https://www.ruby-forum.com/t/fix-for-the-multiple-find-aliasing-side-effects/73442 "2006-10-25T10:18:34Z")

</div>

I would like to transfer http://dev.rubyonrails.org/ticket/6471 to this mailing list because I don’t think the RubyOnRails TicketQueue is the right place for this discussion. Any opinions? Cheers Dimitrij

---

## [Better complex precision](https://www.ruby-forum.com/t/better-complex-precision/231180)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 1, 2014, 12:19pm UTC](https://www.ruby-forum.com/t/better-complex-precision/231180 "2014-08-01T12:19:12Z")

</div>

Hi, Complex numbers use floating point numbers by default. Is there a way to force them to use BigDecimals (or maybe Rationals) without creating my own complex class? THX, u.

---

## [General questions](https://www.ruby-forum.com/t/general-questions/157554)

<div class="topic-metadata">

**Author:** [@pierre](https://www.ruby-forum.com/u/pierre)\
**Replies:** 4\
**Last updated:** [January 7, 2014, 10:56am UTC](https://www.ruby-forum.com/t/general-questions/157554 "2014-01-07T10:56:32Z")

</div>

Dear folks, I’ve been interested in Ruby for quite a while now, but since I’m unfortunately not doing it professionally, I don’t have time to get deeper in it, which is frustrating me quite a bit. That’s why I’ve dec…

---

## [Override initialize on ActiveRecord?](https://www.ruby-forum.com/t/override-initialize-on-activerecord/226582)

<div class="topic-metadata">

**Author:** [@bikle](https://www.ruby-forum.com/u/bikle)\
**Replies:** 4\
**Last updated:** [December 22, 2012, 2:57am UTC](https://www.ruby-forum.com/t/override-initialize-on-activerecord/226582 "2012-12-22T02:57:24Z")

</div>

Quick question… your answer will determine whether I have follow up questions or not. Is it ok to override initialize on an ActiveRecord model? I’ve read some thing that say it’s ok, some that say it’s not… just wan…

---

## [Need Help With This Ruby Program!](https://www.ruby-forum.com/t/need-help-with-this-ruby-program/223249)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 27, 2012, 10:16am UTC](https://www.ruby-forum.com/t/need-help-with-this-ruby-program/223249 "2012-09-27T10:16:03Z")

</div>

I am attaching my ‘.rb’ file. Please check it. I am getting an error- “C:/Ruby193/bin/rubysrc/Event\_Manager/event\_manager.rb:78: syntax error, unexpected $end, expecting keyword\_end” How to rectify it? Where should I …

---

## [Dynamic Gem Server Docs](https://www.ruby-forum.com/t/dynamic-gem-server-docs/218201)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 25, 2012, 1:34am UTC](https://www.ruby-forum.com/t/dynamic-gem-server-docs/218201 "2012-03-25T01:34:28Z")

</div>

Anyone else thing Gem Server documentation should work like this? RDoc Generation by trans · Pull Request #16 · rubygems/rubygems · GitHub

---

## [Regarding setting ENV variable](https://www.ruby-forum.com/t/regarding-setting-env-variable/217653)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 8, 2012, 12:47pm UTC](https://www.ruby-forum.com/t/regarding-setting-env-variable/217653 "2012-03-08T12:47:34Z")

</div>

Hi Friends I want to set a env variable on nginx with perl whenever i am accessing site with https only. can anyone help how i can do this. I looked at post env variable in nginx.conf file it didnt help me.Is there a…

---

## [Proc.new v. lambda](https://www.ruby-forum.com/t/proc-new-v-lambda/217648)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 7, 2012, 5:49pm UTC](https://www.ruby-forum.com/t/proc-new-v-lambda/217648 "2012-03-07T17:49:09Z")

</div>

Is there a way to programmatically determine if an object was generated by Proc.new versus lambda?

---

## [Volk update to master/next](https://www.ruby-forum.com/t/volk-update-to-master-next/217460)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 5, 2012, 1:14pm UTC](https://www.ruby-forum.com/t/volk-update-to-master-next/217460 "2012-03-05T13:14:50Z")

</div>

Hi everyone, I just wanted to inform everyone that we made a significant update to master/next tonight to start using Volk. This merges in my safe\_align branch that I mentioned a couple of weeks ago. After verifying …

---

## [Query on db with mysql](https://www.ruby-forum.com/t/query-on-db-with-mysql/217244)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 28, 2012, 4:28pm UTC](https://www.ruby-forum.com/t/query-on-db-with-mysql/217244 "2012-02-28T16:28:21Z")

</div>

Hi all, I have a host that allows ssh access but only on the main account. I was just wondering can you setup the db without using the command line e.g db:migrate generate etc as on my main account its fine but if i s…

---

## [A somewhat odd approach to an Active Record Association](https://www.ruby-forum.com/t/a-somewhat-odd-approach-to-an-active-record-association/216794)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 14, 2012, 3:18pm UTC](https://www.ruby-forum.com/t/a-somewhat-odd-approach-to-an-active-record-association/216794 "2012-02-14T15:18:09Z")

</div>

Hello there. Here’s my situation which I’d be thankfull to get a response that gets me on the right track to a solution: I have two different models. USERS and POSTS. Untill the present moment I have a pretty strai…

---

## [Register an action to be done at a later time](https://www.ruby-forum.com/t/register-an-action-to-be-done-at-a-later-time/216057)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 25, 2012, 12:12pm UTC](https://www.ruby-forum.com/t/register-an-action-to-be-done-at-a-later-time/216057 "2012-01-25T12:12:03Z")

</div>

Hi. I have a “pseudo-shell” and this shell allows me to do something like: “in 30 minutes do start alarm” ^^^ In 30 minutes, mplayer would play some files. So far so fine. Right now when I quit the shell though, this…

---

## [CW between bursts](https://www.ruby-forum.com/t/cw-between-bursts/214769)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [December 12, 2011, 6:54am UTC](https://www.ruby-forum.com/t/cw-between-bursts/214769 "2011-12-12T06:54:08Z")

</div>

I’m not sure whether this is a GNU radio or USRP issue, so I’m posting to both lists. I played around with GNU radio’s stream tagging feature and managed to implement something that does timed bursts (partially by tak…

---

## [Remove an entry from proxy cache](https://www.ruby-forum.com/t/remove-an-entry-from-proxy-cache/210298)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 18, 2011, 1:01pm UTC](https://www.ruby-forum.com/t/remove-an-entry-from-proxy-cache/210298 "2011-08-18T13:01:18Z")

</div>

Hi, to remove an entry from proxy cache is enough just to delete the cached file or you need to do something else. If simply deleting works, is there any point then of compiling nginx with cache purge module?

---

## [Vestal Versions and attr\_accessors](https://www.ruby-forum.com/t/vestal-versions-and-attr-accessors/201750)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 13, 2011, 10:20pm UTC](https://www.ruby-forum.com/t/vestal-versions-and-attr-accessors/201750 "2011-01-13T22:20:32Z")

</div>

If I define an attr\_accessor in my model, can I somehow get Vestal Versions to track changes to the value of these? I’m specifically trying to get these “synthetic” object properties to be stored in the version diff, …

---

## [Embedding ruby - segfault after initialization when running rb\_gc\_start?](https://www.ruby-forum.com/t/embedding-ruby-segfault-after-initialization-when-running-rb-gc-start/200184)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 7, 2010, 2:41pm UTC](https://www.ruby-forum.com/t/embedding-ruby-segfault-after-initialization-when-running-rb-gc-start/200184 "2010-12-07T14:41:52Z")

</div>

Hi, I’m trying to embed Ruby into the Ur web programming language. Everything seems to work fine when using rb\_gc\_disable(). When not disabling gc it segfaults when requiring ‘net/http’. Then I tried running gc manua…

---

## [Create\_table](https://www.ruby-forum.com/t/create-table/191613)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 4\
**Last updated:** [July 17, 2010, 6:47pm UTC](https://www.ruby-forum.com/t/create-table/191613 "2010-07-17T18:47:05Z")

</div>

“The Rails Way” book mentions the following regarding the create\_table method: Why do we specify identifiers with symbols instead ofstrings? Both will work, but symbols require one less keystroke. What is meant by: “…

---

## [Deciml](https://www.ruby-forum.com/t/deciml/186341)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 4\
**Last updated:** [April 5, 2010, 2:22pm UTC](https://www.ruby-forum.com/t/deciml/186341 "2010-04-05T14:22:55Z")

</div>

Hi In my table I have t.decimal :rent, :precision =\> 12, :scale =\> 2 But when ever I enter a large value like 1234567890333.465 To the table it is stored as 9999999999.99 I would like to know how active record…

---

## [Same controller and database, different views based on domain name](https://www.ruby-forum.com/t/same-controller-and-database-different-views-based-on-domain-name/182188)

<div class="topic-metadata">

**Author:** [@eugenio](https://www.ruby-forum.com/u/eugenio)\
**Replies:** 4\
**Last updated:** [March 12, 2010, 2:58pm UTC](https://www.ruby-forum.com/t/same-controller-and-database-different-views-based-on-domain-name/182188 "2010-03-12T14:58:53Z")

</div>

what is the easiest way to achieve that result? i would like to keep controllers and models the same for all the “applications”, which, in fact, are the same. They only appear different (the views, the css, and a para…

---

## [Install problems on fedora 12](https://www.ruby-forum.com/t/install-problems-on-fedora-12/184808)

<div class="topic-metadata">

**Author:** [@Jedrin](https://www.ruby-forum.com/u/Jedrin)\
**Replies:** 4\
**Last updated:** [March 8, 2010, 11:44pm UTC](https://www.ruby-forum.com/t/install-problems-on-fedora-12/184808 "2010-03-08T23:44:13Z")

</div>

I just got set up with fedora 12 and am a new user for that distro. I got ruby 1.8.6 installed. Then I tried to install rails using yum which gave me rails 2.3.4. When I tried to start a rails project I had an error s…

---

## [Confused about the superclass](https://www.ruby-forum.com/t/confused-about-the-superclass/183095)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 4\
**Last updated:** [February 8, 2010, 11:06am UTC](https://www.ruby-forum.com/t/confused-about-the-superclass/183095 "2010-02-08T11:06:04Z")

</div>

Hello, irb(main):001:0\> class Myclass irb(main):002:1\> def play irb(main):003:2\> end irb(main):004:1\> end irb(main):027:0\> Myclass.class =\> Class irb(main):028:0\> Myclass.superclass =\> Object irb(main):029:0\>…

---

## [Install a separate set of gems](https://www.ruby-forum.com/t/install-a-separate-set-of-gems/182787)

<div class="topic-metadata">

**Author:** [@yijisoo](https://www.ruby-forum.com/u/yijisoo)\
**Replies:** 4\
**Last updated:** [February 3, 2010, 12:52pm UTC](https://www.ruby-forum.com/t/install-a-separate-set-of-gems/182787 "2010-02-03T12:52:44Z")

</div>

I run a small RoR application on a company server. I try to install my own list of gems because I would like to test new features, but the admin did not want to install these because these may disrupt other applicati…

---

## [Cost model for a RoR where users could upload lots of file? what approach?](https://www.ruby-forum.com/t/cost-model-for-a-ror-where-users-could-upload-lots-of-file-what-approach/176175)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 4\
**Last updated:** [September 27, 2009, 4:49pm UTC](https://www.ruby-forum.com/t/cost-model-for-a-ror-where-users-could-upload-lots-of-file-what-approach/176175 "2009-09-27T16:49:09Z")

</div>

Hi, Any ideas/suggestions re what a good cost model / approach would be if one’s Ruby on Rails application was to be successful, but noting users (as part of the service/application) could upload lots of files (image…

---

## [How ActiveRecords create tables](https://www.ruby-forum.com/t/how-activerecords-create-tables/176033)

<div class="topic-metadata">

**Author:** [@cristie](https://www.ruby-forum.com/u/cristie)\
**Replies:** 4\
**Last updated:** [September 25, 2009, 2:45am UTC](https://www.ruby-forum.com/t/how-activerecords-create-tables/176033 "2009-09-25T02:45:50Z")

</div>

I’ll start off by saying I am new to Ruby and Rails… Suppose I run the following; $ script/generate model person which creates: class CreatePeople \< ActiveRecord::Migration def self.up create\_table :people do |t| …

---

## [Problem with Double Submit](https://www.ruby-forum.com/t/problem-with-double-submit/174996)

<div class="topic-metadata">

**Author:** [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Replies:** 4\
**Last updated:** [September 7, 2009, 8:33am UTC](https://www.ruby-forum.com/t/problem-with-double-submit/174996 "2009-09-07T08:33:19Z")

</div>

Hi, We occasionally have a user pressing “submit” button more than once. I know I can disable submit button using “onclick”. But I sometimes need a more solid solution especially for a form that could change a record…

---

## [Testing controller](https://www.ruby-forum.com/t/testing-controller/173684)

<div class="topic-metadata">

**Author:** [@jimb](https://www.ruby-forum.com/u/jimb)\
**Replies:** 4\
**Last updated:** [August 14, 2009, 7:24am UTC](https://www.ruby-forum.com/t/testing-controller/173684 "2009-08-14T07:24:11Z")

</div>

I wrote some tests for my controller which all worked as they should until I added http authentication using ‘before\_filter :authenticate’ This is the authenticate method: def authenticate authenticate\_or\_request\_wit…

---

## [Regular expressions: Find part of a string](https://www.ruby-forum.com/t/regular-expressions-find-part-of-a-string/169530)

<div class="topic-metadata">

**Author:** [@Jermaine](https://www.ruby-forum.com/u/Jermaine)\
**Replies:** 4\
**Last updated:** [June 5, 2009, 12:10am UTC](https://www.ruby-forum.com/t/regular-expressions-find-part-of-a-string/169530 "2009-06-05T00:10:44Z")

</div>

Hello Everyone, I’m quite new to regular expressions, and I’m looking for a way to find the first 3 letters in a string. So let’s say I have the following string: “foobar”, I want to know what the first three letters…

---

## [Upgrade application from rails 2.2.2 to 2.3.2](https://www.ruby-forum.com/t/upgrade-application-from-rails-2-2-2-to-2-3-2/163737)

<div class="topic-metadata">

**Author:** [@guoliang](https://www.ruby-forum.com/u/guoliang)\
**Replies:** 4\
**Last updated:** [April 25, 2009, 11:52am UTC](https://www.ruby-forum.com/t/upgrade-application-from-rails-2-2-2-to-2-3-2/163737 "2009-04-25T11:52:47Z")

</div>

Hi, We are upgrading our application to 2.3.2 recently and got a strange problem with session id. We uses ActiveRecord to store sessions and the session id column type was VARCHAR(255). After I started the server, I …

---

## [Creating Methods in the Model?](https://www.ruby-forum.com/t/creating-methods-in-the-model/165368)

<div class="topic-metadata">

**Author:** [@nickfaraday](https://www.ruby-forum.com/u/nickfaraday)\
**Replies:** 4\
**Last updated:** [April 14, 2009, 2:54am UTC](https://www.ruby-forum.com/t/creating-methods-in-the-model/165368 "2009-04-14T02:54:54Z")

</div>

Hey Everyone. First day diving in to ROR and Ruby… My question is how do you define methods with in the model class and/or should I even be doing this? It is my understanding that you should put as much of the busine…

---

## [Sending a Sinusoidal Signal](https://www.ruby-forum.com/t/sending-a-sinusoidal-signal/162976)

<div class="topic-metadata">

**Author:** [@dbeken](https://www.ruby-forum.com/u/dbeken)\
**Replies:** 4\
**Last updated:** [March 16, 2009, 1:11pm UTC](https://www.ruby-forum.com/t/sending-a-sinusoidal-signal/162976 "2009-03-16T13:11:43Z")

</div>

Hello, i am currently working on the USRP2 board with the LFRX and LFTX daughterboards. My big goal is to send and receive a signal with FM transmission (I am using RFX2400 boards for that). But for now I just want …

---

## [Get not working](https://www.ruby-forum.com/t/get-not-working/158051)

<div class="topic-metadata">

**Author:** [@freebird](https://www.ruby-forum.com/u/freebird)\
**Replies:** 4\
**Last updated:** [January 19, 2009, 6:38am UTC](https://www.ruby-forum.com/t/get-not-working/158051 "2009-01-19T06:38:01Z")

</div>

I have a class Halt. If i type Halt, the output is Halt =\> Halt(id: integer, troute\_id: integer, seq: integer, day: integer, arrival: integer, departure: integer, duration: integer, tnode\_id: integer, mode: string,…

---

## [Dead USRP box?](https://www.ruby-forum.com/t/dead-usrp-box/156126)

<div class="topic-metadata">

**Author:** [@Bob\_Cameron](https://www.ruby-forum.com/u/Bob_Cameron)\
**Replies:** 4\
**Last updated:** [December 22, 2008, 8:57am UTC](https://www.ruby-forum.com/t/dead-usrp-box/156126 "2008-12-22T08:57:48Z")

</div>

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

---

## [Javascript event handling after ajax call](https://www.ruby-forum.com/t/javascript-event-handling-after-ajax-call/144835)

<div class="topic-metadata">

**Author:** [@surge](https://www.ruby-forum.com/u/surge)\
**Replies:** 4\
**Last updated:** [August 3, 2008, 2:14am UTC](https://www.ruby-forum.com/t/javascript-event-handling-after-ajax-call/144835 "2008-08-03T02:14:38Z")

</div>

I’m using link\_to\_remote to populate a div with some data from the db and then show the div. The problem is that I need to show it reasonably close to the place where I clicked. As you know, Firefox passes its event o…

---

## [Error with Chronic after installing a different plugin](https://www.ruby-forum.com/t/error-with-chronic-after-installing-a-different-plugin/139537)

<div class="topic-metadata">

**Author:** [@gorgeoussoul](https://www.ruby-forum.com/u/gorgeoussoul)\
**Replies:** 4\
**Last updated:** [July 22, 2008, 3:32pm UTC](https://www.ruby-forum.com/t/error-with-chronic-after-installing-a-different-plugin/139537 "2008-07-22T15:32:01Z")

</div>

I’ve had Chronic installed for some time and it’s been working well. Yesterday I loaded ImageMagick and RMagick and ran “gem update --system” (part of RMagick’s installation instructions). I haven’t had time to do an…

---

## [Net::SSH problems](https://www.ruby-forum.com/t/net-ssh-problems/139730)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 4\
**Last updated:** [June 9, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/net-ssh-problems/139730 "2008-06-09T21:56:11Z")

</div>

I am trying to connect to one of our UNIX servers. I can connect and can validate myself but I cant seem to figure out how to ‘cd’ to another directory besides my ‘/home’ directory and then execute commands from the n…

---

## [How to handle uploaded files in HA cluster?](https://www.ruby-forum.com/t/how-to-handle-uploaded-files-in-ha-cluster/134643)

<div class="topic-metadata">

**Author:** [@durchanek](https://www.ruby-forum.com/u/durchanek)\
**Replies:** 4\
**Last updated:** [April 14, 2008, 3:05pm UTC](https://www.ruby-forum.com/t/how-to-handle-uploaded-files-in-ha-cluster/134643 "2008-04-14T15:05:22Z")

</div>

Hi, i am planning to build HA cluster for rails applications, using guideline from Tim Loosen. Database replication should be easy with MySQL, I am currently using master-slave replication for backups, so configuri…

---

## [InvalidAuthenticityToken problems with my login form](https://www.ruby-forum.com/t/invalidauthenticitytoken-problems-with-my-login-form/124007)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 4\
**Last updated:** [December 23, 2007, 1:59pm UTC](https://www.ruby-forum.com/t/invalidauthenticitytoken-problems-with-my-login-form/124007 "2007-12-23T13:59:15Z")

</div>

I am trying to convert my codeand to use the new Rails 2.0 feature RequestForgeryProtection but I get an InvalidAuthenticityToken error, right from the beginning with my login form… I followed the recommandations : …

---

## [How to include an java applet in a rhtml page](https://www.ruby-forum.com/t/how-to-include-an-java-applet-in-a-rhtml-page/123137)

<div class="topic-metadata">

**Author:** [@abraham](https://www.ruby-forum.com/u/abraham)\
**Replies:** 4\
**Last updated:** [December 19, 2007, 12:57am UTC](https://www.ruby-forum.com/t/how-to-include-an-java-applet-in-a-rhtml-page/123137 "2007-12-19T00:57:57Z")

</div>

Hi Im quite new to rails and was wondering how to include a java applet in a rhtml file? Is it the same as in HTML? for example: Thank You!

---

## [RFC - Recursive Array Method call acting on element batches](https://www.ruby-forum.com/t/rfc-recursive-array-method-call-acting-on-element-batches/121164)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [November 27, 2007, 2:50pm UTC](https://www.ruby-forum.com/t/rfc-recursive-array-method-call-acting-on-element-batches/121164 "2007-11-27T14:50:48Z")

</div>

I work for the Department of Redundancy Department and I’m thinking there must be a better, more elegant way to doing the following: With an array of 200 elements Call a method to act on 10 elements at a time Repeat …

---

## [Executing .rb file within view](https://www.ruby-forum.com/t/executing-rb-file-within-view/119250)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [November 5, 2007, 7:26pm UTC](https://www.ruby-forum.com/t/executing-rb-file-within-view/119250 "2007-11-05T19:26:37Z")

</div>

Hello everyone, I need to execute a ruby script from within my view. It’s a script that dynamically generates an image as output, so the invocation should look something like this: \<%= image\_tag “/images/myScript.rb?…

---

## [FFTW problem](https://www.ruby-forum.com/t/fftw-problem/115344)

<div class="topic-metadata">

**Author:** [@Mohammad\_Hamed\_F](https://www.ruby-forum.com/u/Mohammad_Hamed_F)\
**Replies:** 4\
**Last updated:** [September 24, 2007, 7:02pm UTC](https://www.ruby-forum.com/t/fftw-problem/115344 "2007-09-24T19:02:57Z")

</div>

Hi, I am new to GNU Radio. I was going wo install it on Cygwin for winXP. But unfortunately I encounter a problem in installing FFTW 3.1.2. Using “make check” command the following errors appears: make\[2\]: \*\*\* \[check…

---

## [Choose a pagination solution](https://www.ruby-forum.com/t/choose-a-pagination-solution/112920)

<div class="topic-metadata">

**Author:** [@niconoe](https://www.ruby-forum.com/u/niconoe)\
**Replies:** 4\
**Last updated:** [August 25, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/choose-a-pagination-solution/112920 "2007-08-25T14:16:20Z")

</div>

Hi ! I’m looking for help to choose a pagination solution. As the built-in pagination is not very practical and will be soon deprecated, I was trying to finc something else. My problem is that most solutions (for exa…

---

## [Limit on eager loaded association?](https://www.ruby-forum.com/t/limit-on-eager-loaded-association/104256)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 4\
**Last updated:** [May 16, 2007, 2:56am UTC](https://www.ruby-forum.com/t/limit-on-eager-loaded-association/104256 "2007-05-16T02:56:11Z")

</div>

If I use :include to eager load a has\_many association, can I limit the number returned on that has\_many association. I know I can limit the amount of records returned, but how do I limit how many are returned on its …

---

## [Rake rails:update:javascripts fails in 1.2](https://www.ruby-forum.com/t/rake-railsjavascripts-fails-in-1-2/103584)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [May 8, 2007, 8:39am UTC](https://www.ruby-forum.com/t/rake-railsjavascripts-fails-in-1-2/103584 "2007-05-08T08:39:21Z")

</div>

What’s up with this? $ rake rails:update:javascripts (in /var/www/apps/releases/20061027204658) rake aborted! undefined method \`gem’ for main:Object /var/www/apps/releases/20061027204658/Rakefile:4

---

## [Non mi rileva gli elementi della fixtures](https://www.ruby-forum.com/t/non-mi-rileva-gli-elementi-della-fixtures/91296)

<div class="topic-metadata">

**Author:** [@robyonrails](https://www.ruby-forum.com/u/robyonrails)\
**Replies:** 4\
**Last updated:** [April 10, 2007, 10:19am UTC](https://www.ruby-forum.com/t/non-mi-rileva-gli-elementi-della-fixtures/91296 "2007-04-10T10:19:50Z")

</div>

Sto facendo unit testing in RoR. Il punto Ã¨ che non posso usare gli elementi della fixtures. Facendo fixtures :learned\_things questo def test\_childs assert\_not\_nil @learned\_things … end fallisce: Failure: te…

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

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