# Top

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

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

---

## [Newby Ruby Regular Expression Question](https://www.ruby-forum.com/t/newby-ruby-regular-expression-question/140266)

<div class="topic-metadata">

**Author:** [@Ruchira\_B](https://www.ruby-forum.com/u/Ruchira_B)\
**Replies:** 4\
**Last updated:** [June 12, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/newby-ruby-regular-expression-question/140266 "2008-06-12T17:46:12Z")

</div>

Dear Expert, I have recently started Ruby programming. I have used Perl before and liked it mostly due to the power of regular expressions. But Ruby’s ability scale and modularize is absolutely amazing. I want to f…

---

## [InvalidAuthenticityToken exception when deleting cookies](https://www.ruby-forum.com/t/invalidauthenticitytoken-exception-when-deleting-cookies/134872)

<div class="topic-metadata">

**Author:** [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Replies:** 4\
**Last updated:** [April 19, 2008, 4:53pm UTC](https://www.ruby-forum.com/t/invalidauthenticitytoken-exception-when-deleting-cookies/134872 "2008-04-19T16:53:19Z")

</div>

Hello, I’ve been testing my project with some manual tests. One of them consists of deleting cookies (“clean personal info” in firefox) just before submit the login form. Then, I get an error. The error message is: A…

---

## [How to modify the param value in block](https://www.ruby-forum.com/t/how-to-modify-the-param-value-in-block/134186)

<div class="topic-metadata">

**Author:** [@infinit](https://www.ruby-forum.com/u/infinit)\
**Replies:** 4\
**Last updated:** [April 9, 2008, 5:18am UTC](https://www.ruby-forum.com/t/how-to-modify-the-param-value-in-block/134186 "2008-04-09T05:18:57Z")

</div>

For example I hv the following code: def test n = 1 yield(n) puts n end test {|x| x = x + 1; puts x} the output is: 2 1 How can I modify the parameter x in block? Appreciate for your help.

---

## [Ruby equivalence for php include("file.php");](https://www.ruby-forum.com/t/ruby-equivalence-for-php-include-file-php/131292)

<div class="topic-metadata">

**Author:** [@Miquel\_O](https://www.ruby-forum.com/u/Miquel_O)\
**Replies:** 4\
**Last updated:** [March 7, 2008, 7:34pm UTC](https://www.ruby-forum.com/t/ruby-equivalence-for-php-include-file-php/131292 "2008-03-07T19:34:51Z")

</div>

Hi there I’m doing some RoR exercices to begin a website and I want to include a file which contains the header template. I have coded using php before and I know it’s done using include(“file.php”) and I don’t know …

---

## [Redirecting to page from the model](https://www.ruby-forum.com/t/redirecting-to-page-from-the-model/130275)

<div class="topic-metadata">

**Author:** [@keaja](https://www.ruby-forum.com/u/keaja)\
**Replies:** 4\
**Last updated:** [February 26, 2008, 11:35pm UTC](https://www.ruby-forum.com/t/redirecting-to-page-from-the-model/130275 "2008-02-26T23:35:07Z")

</div>

How should I handle redirecting to pages from the model? Basically I have credit cards that get processed in a model. If successful, I want the user to be redirected to a certain page, of unsuccessful I would like the…

---

## [Start\_form / start\_end](https://www.ruby-forum.com/t/start-form-start-end/73437)

<div class="topic-metadata">

**Author:** [@Fluffy\_Hippo](https://www.ruby-forum.com/u/Fluffy_Hippo)\
**Replies:** 4\
**Last updated:** [February 14, 2008, 4:35am UTC](https://www.ruby-forum.com/t/start-form-start-end/73437 "2008-02-14T04:35:06Z")

</div>

I upgraded a project to a more recent version of edge today and in my testing the log started throwing these warnings: DEPRECATION WARNING: start\_form\_tag is deprecated and will be removed from Rails 2.0 See http://…

---

## [Multiple views, and some routers](https://www.ruby-forum.com/t/multiple-views-and-some-routers/126344)

<div class="topic-metadata">

**Author:** [@andreh](https://www.ruby-forum.com/u/andreh)\
**Replies:** 4\
**Last updated:** [January 17, 2008, 6:24pm UTC](https://www.ruby-forum.com/t/multiple-views-and-some-routers/126344 "2008-01-17T18:24:38Z")

</div>

Hi, I’m new to Rails (just a Java Programmer tired of having to configure a lot of xml’s and mapping classes just to make a simple page (…)) anyway, I’m experiencing some problems with routers, i’ve created a new pro…

---

## [MySql Errors On .save](https://www.ruby-forum.com/t/mysql-errors-on-save/118944)

<div class="topic-metadata">

**Author:** [@twaters](https://www.ruby-forum.com/u/twaters)\
**Replies:** 4\
**Last updated:** [November 1, 2007, 8:32pm UTC](https://www.ruby-forum.com/t/mysql-errors-on-save/118944 "2007-11-01T20:32:58Z")

</div>

Hi All, I am a real neophyte with Rails and am struggling with something. I hope you can point me in the right direction. I have a model of an object that class Thing\< ActiveRecord::Base attr\_accessor :locator\_id h…

---

## [I want most, but not all routes created by map.resources](https://www.ruby-forum.com/t/i-want-most-but-not-all-routes-created-by-map-resources/111562)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 4\
**Last updated:** [August 8, 2007, 9:18pm UTC](https://www.ruby-forum.com/t/i-want-most-but-not-all-routes-created-by-map-resources/111562 "2007-08-08T21:18:49Z")

</div>

How do I do that? I’m my case, I don’t want GET /resource/:id;edit and DELETE / resource/:id ;edit is not needed for my app, and DELETE is not allowed. Do I have create all the routes by hand? Or can I pass some kin…

---

## [Editing multiple models in one form](https://www.ruby-forum.com/t/editing-multiple-models-in-one-form/225958)

<div class="topic-metadata">

**Author:** [@vanderkerkoff](https://www.ruby-forum.com/u/vanderkerkoff)\
**Replies:** 4\
**Last updated:** [July 26, 2007, 9:39am UTC](https://www.ruby-forum.com/t/editing-multiple-models-in-one-form/225958 "2007-07-26T09:39:42Z")

</div>

Very new to this but would appreciate a hand as this is driving me mad, I’m trying to update both degree and assigned from a single form, the degree section updates fine but assigned just retains the same values, any …

---

## [LoadError](https://www.ruby-forum.com/t/loaderror/106361)

<div class="topic-metadata">

**Author:** [@anrake](https://www.ruby-forum.com/u/anrake)\
**Replies:** 4\
**Last updated:** [June 12, 2007, 8:04am UTC](https://www.ruby-forum.com/t/loaderror/106361 "2007-06-12T08:04:39Z")

</div>

Hi, for the past few days, my site goes down a couplle times a day and when it does I get an error like that below in my prod.log. If I reload the main index page a few times the app eventually recovers and loads prop…

---

## [ImageMagick as plugin?](https://www.ruby-forum.com/t/imagemagick-as-plugin/87945)

<div class="topic-metadata">

**Author:** [@dkanders](https://www.ruby-forum.com/u/dkanders)\
**Replies:** 4\
**Last updated:** [March 7, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/imagemagick-as-plugin/87945 "2007-03-07T19:09:11Z")

</div>

Hi All, I’m wondering if there is a way to check and make sure I have Imagemagick/RMagick/DarwinPorts installed properly… I’m pretty sure I have it installed, but when I go to use imagemagic\_tag in my application, it…

---

## [Exempt\_from\_layout has no effect](https://www.ruby-forum.com/t/exempt-from-layout-has-no-effect/77752)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 4\
**Last updated:** [November 30, 2006, 7:48pm UTC](https://www.ruby-forum.com/t/exempt-from-layout-has-no-effect/77752 "2006-11-30T19:48:43Z")

</div>

I am trying to experiment with a plugin that uses a .rjpg template to generate an image rendered by rmagick. All seems well, but the file is rendering with application.rhtml layout around it. And considering the data…

---

## [Thread dump?](https://www.ruby-forum.com/t/thread-dump/73203)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [November 16, 2006, 2:14am UTC](https://www.ruby-forum.com/t/thread-dump/73203 "2006-11-16T02:14:23Z")

</div>

Hi there, I have a process that seems to be stuck somewhere. Is there the possibility of doing a thread dump to show where it is hanging on? Cheers - Christian

---

## [Confirmation fields on forms](https://www.ruby-forum.com/t/confirmation-fields-on-forms/74386)

<div class="topic-metadata">

**Author:** [@Chad](https://www.ruby-forum.com/u/Chad)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 11:05am UTC](https://www.ruby-forum.com/t/confirmation-fields-on-forms/74386 "2006-11-07T11:05:22Z")

</div>

I am unsure how to use a confirmation only field in my forms. The perfect example is when registering a user, you want them to type their password twice but you only want to have one record for it. The form fields; u…

---

## [Newbie question - using sql "Like '%...." in Find problem](https://www.ruby-forum.com/t/newbie-question-using-sql-like-in-find-problem/73543)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 4\
**Last updated:** [October 26, 2006, 4:30am UTC](https://www.ruby-forum.com/t/newbie-question-using-sql-like-in-find-problem/73543 "2006-10-26T04:30:19Z")

</div>

Hi all, I’m trying to implement a simple search box: @items = Item.find(:all, :conditions =\> \[“description like %?% or text like %?%”, @search\_text, @search\_text\]) The problem with this is rails automatically enclose…

---

## [Trouble Filtering the \\ character](https://www.ruby-forum.com/t/trouble-filtering-the-character/71328)

<div class="topic-metadata">

**Author:** [@ben-v](https://www.ruby-forum.com/u/ben-v)\
**Replies:** 4\
**Last updated:** [October 7, 2006, 2:56pm UTC](https://www.ruby-forum.com/t/trouble-filtering-the-character/71328 "2006-10-07T14:56:09Z")

</div>

In my application, I cannot allow the user to enter the “” character in their URL. The only problem is, if I try if sURL.include? “”, it gives me an error, because I’m guessing it assumes that I am trying to escape ch…

---

## [Observe\_field submit behavior](https://www.ruby-forum.com/t/observe-field-submit-behavior/99342)

<div class="topic-metadata">

**Author:** [@Steven](https://www.ruby-forum.com/u/Steven)\
**Replies:** 4\
**Last updated:** [July 22, 2006, 2:42am UTC](https://www.ruby-forum.com/t/observe-field-submit-behavior/99342 "2006-07-22T02:42:43Z")

</div>

I am using observe\_field on a number of multi-selects and checkbox form elements whose values would normally come in as arrays on a normal (non-Ajax) form post. I understand that by using the :with =\> ‘name’ I will g…

---

## [Re: Scalablity question (Stand-alone server)](https://www.ruby-forum.com/t/re-scalablity-question-stand-alone-server/97959)

<div class="topic-metadata">

**Author:** [@sgware](https://www.ruby-forum.com/u/sgware)\
**Replies:** 4\
**Last updated:** [July 11, 2006, 11:00pm UTC](https://www.ruby-forum.com/t/re-scalablity-question-stand-alone-server/97959 "2006-07-11T23:00:42Z")

</div>

Hi, Thanks for your message about Ruby on Rails. I think you’ll find that you’re likely to get a quicker and more accurate response to your message on the Ruby on Rails specific mailing list. For subscription and po…

---

## [AJAX effects make browser jump to top of page](https://www.ruby-forum.com/t/ajax-effects-make-browser-jump-to-top-of-page/63987)

<div class="topic-metadata">

**Author:** [@jimmyether](https://www.ruby-forum.com/u/jimmyether)\
**Replies:** 4\
**Last updated:** [June 21, 2006, 2:37am UTC](https://www.ruby-forum.com/t/ajax-effects-make-browser-jump-to-top-of-page/63987 "2006-06-21T02:37:22Z")

</div>

I’ve been having this really annoying issue with any visual effect that I use in Rails. Say, for instance, that I have an Element.show or Element.hide link to expose a hidden div. Well, the effects work great, but if …

---

## [JOB: Senior Ruby Engineer EUR50-100k (fully remote!)](https://www.ruby-forum.com/t/job-senior-ruby-engineer-eur50-100k-fully-remote/262082)

<div class="topic-metadata">

**Author:** [@ReedsyHQ](https://www.ruby-forum.com/u/ReedsyHQ)\
**Replies:** 0\
**Last updated:** [November 12, 2021, 5:27pm UTC](https://www.ruby-forum.com/t/job-senior-ruby-engineer-eur50-100k-fully-remote/262082 "2021-11-12T17:27:52Z")

</div>

We are Reedsy - A community of 1,000,000 authors and publishing professionals. We help authors create and market the best indie books :nerd\_face: Looking for Ruby engineers to join our remote team! Have a look at our of…

---

## [Android Training in Chennai](https://www.ruby-forum.com/t/android-training-in-chennai/248640)

<div class="topic-metadata">

**Author:** [@pavithradass123](https://www.ruby-forum.com/u/pavithradass123)\
**Replies:** 0\
**Last updated:** [October 16, 2018, 7:27am UTC](https://www.ruby-forum.com/t/android-training-in-chennai/248640 "2018-10-16T07:27:28Z")

</div>

Android is a mobile operating system based on the Linux kernel and developed by Google. Android is designed primarily for touch screen mobile devices such as Smartphone and tablet computers, with specialized user interfa…

---

## [Rails invent me something](https://www.ruby-forum.com/t/rails-invent-me-something/245133)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [November 9, 2016, 4:02pm UTC](https://www.ruby-forum.com/t/rails-invent-me-something/245133 "2016-11-09T16:02:36Z")

</div>

Hi, i’m french sorry for my english. I have a little with Rails, he say me somethings is not related and i have a bug. This is my forum controller: class Admin::ForumsController \< ApplicationController layout "admin" …

---

## [Sse.rb :|: Streaming console ansi applications](https://www.ruby-forum.com/t/sse-rb-streaming-console-ansi-applications/245126)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [October 30, 2016, 11:41pm UTC](https://www.ruby-forum.com/t/sse-rb-streaming-console-ansi-applications/245126 "2016-10-30T23:41:19Z")

</div>

http://tenderlovemaking.com/2012/07/30/is-it-live.html all my examples are built from this information… my streaming examples are working… new rails user and im working on my live streaming web app… things are workin…

---

## [Nginx hack day project](https://www.ruby-forum.com/t/nginx-hack-day-project/244443)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 11:43pm UTC](https://www.ruby-forum.com/t/nginx-hack-day-project/244443 "2016-04-11T23:43:08Z")

</div>

I was trying to think of a hack day project, and one idea was to implement a blob server similar to Facebook’s haystack. Facebook did their server with the evhttpd library, I was thinking of making it an nginx module. …

---

## [\[Closed\] ruby -c and ripper inconsistency: /\*/](https://www.ruby-forum.com/t/closed-ruby-c-and-ripper-inconsistency/233145)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 19, 2014, 7:12pm UTC](https://www.ruby-forum.com/t/closed-ruby-c-and-ripper-inconsistency/233145 "2014-11-19T19:12:09Z")

</div>

Issue #10437 has been updated by Nobuyoshi N… Status changed from Open to Closed % Done changed from 0 to 100 Applied in changeset r48507. ChangeLog: add issue ref ChangeLog: r48504 fixed \[ruby-dev:48714\] \[Bug #10…

---

## [Compile error in bignum.c line 3297 with old fcc on Solaris](https://www.ruby-forum.com/t/compile-error-in-bignum-c-line-3297-with-old-fcc-on-solaris/232949)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 6, 2014, 3:20pm UTC](https://www.ruby-forum.com/t/compile-error-in-bignum-c-line-3297-with-old-fcc-on-solaris/232949 "2014-11-06T15:20:59Z")

</div>

Issue #10350 has been updated by Tomoyuki C… Backport changed from 2.0.0: DONTNEED, 2.1: REQUIRED to 2.0.0: DONTNEED, 2.1: DONE Backported into ruby\_2\_1 at r48303. Bug #10350: compile error in bignum.c line 3297 wit…

---

## [Unable to use net-ssh with jruby 1.7.4](https://www.ruby-forum.com/t/unable-to-use-net-ssh-with-jruby-1-7-4/236605)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 19, 2013, 6:58am UTC](https://www.ruby-forum.com/t/unable-to-use-net-ssh-with-jruby-1-7-4/236605 "2013-09-19T06:58:33Z")

</div>

I just got jruby-1.7.4. Here are the gems installed on my machine \*\*\* LOCAL GEMS \*\*\* bouncy-castle-java (1.5.0146.1) bundler (1.2.4) jruby-launcher (1.0.15 java) jruby-openssl (0.8.2) net-ssh (2.7.0) rake (10.0.3) …

---

## [How to manage the pool of connections or connections?](https://www.ruby-forum.com/t/how-to-manage-the-pool-of-connections-or-connections/208086)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 9, 2011, 10:04pm UTC](https://www.ruby-forum.com/t/how-to-manage-the-pool-of-connections-or-connections/208086 "2011-06-09T22:04:12Z")

</div>

The problem: I have a user to connect the rails application to the database. This user has the limitation of using a single connection to the database. The application works fine but with evidence of some forms that p…

---

## [DB:Migrate - Rails requires RubyGems \>= 1.3.2. Please install RubyGems and try again](https://www.ruby-forum.com/t/db-migrate-rails-requires-rubygems-1-3-2-please-install-rubygems-and-try-again/199485)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [November 22, 2010, 6:28pm UTC](https://www.ruby-forum.com/t/db-migrate-rails-requires-rubygems-1-3-2-please-install-rubygems-and-try-again/199485 "2010-11-22T18:28:54Z")

</div>

Hello, I’ve been trying to deploy a Ruby on Rails application and everything works fine until it tries to run the DB migration scripts, at which point it fails: \*\*\* \[err :: test-app1\] Rails requires RubyGems \>= 1.3.2…

---

## [Optizacion de codigo](https://www.ruby-forum.com/t/optizacion-de-codigo/199375)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [November 19, 2010, 7:22pm UTC](https://www.ruby-forum.com/t/optizacion-de-codigo/199375 "2010-11-19T19:22:51Z")

</div>

Hola, soy nuevo en el foro y en ruby, ahora estoy trabajando en un proyecto con rails y realizando un metodod de comparacion de fechas para determinar unos estados (cosa que ya he hecho) me he preguntado si este no se…

---

## [Segmentation fault on paste a long text into Scintilla](https://www.ruby-forum.com/t/segmentation-fault-on-paste-a-long-text-into-scintilla/189551)

<div class="topic-metadata">

**Author:** [@zzhan](https://www.ruby-forum.com/u/zzhan)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 12:44am UTC](https://www.ruby-forum.com/t/segmentation-fault-on-paste-a-long-text-into-scintilla/189551 "2010-06-03T00:44:52Z")

</div>

Hi there, In bundled samples\\scintilla.rb, paste a long one-line text (see below) caused segmentation fault scintilla.rb:166: \[BUG\] Segmentation fault ruby 1.8.7 (2010-01-10 patchlevel 249) \[i386-mingw32\] However, I…

---

## [Translation key escape suggestion](https://www.ruby-forum.com/t/translation-key-escape-suggestion/184859)

<div class="topic-metadata">

**Author:** [@ginger72](https://www.ruby-forum.com/u/ginger72)\
**Replies:** 0\
**Last updated:** [March 9, 2010, 4:19pm UTC](https://www.ruby-forum.com/t/translation-key-escape-suggestion/184859 "2010-03-09T16:19:20Z")

</div>

Hi, while working on globalize\_bridge, a plugin that is supposed to provide a seamless migration path to I18n from Globalize1, I discovered what might be a useful feature in future versions of I18n. My app uses trans…

---

## [Anybody interested in a KDevelop-Ruby-plugin?](https://www.ruby-forum.com/t/anybody-interested-in-a-kdevelop-ruby-plugin/179222)

<div class="topic-metadata">

**Author:** [@Jonathan\_Schmidt-Do](https://www.ruby-forum.com/u/Jonathan_Schmidt-Do)\
**Replies:** 0\
**Last updated:** [November 20, 2009, 12:11am UTC](https://www.ruby-forum.com/t/anybody-interested-in-a-kdevelop-ruby-plugin/179222 "2009-11-20T00:11:48Z")

</div>

Hi Ruby-fans! KDevelop is a great cross-platform-IDE (KDE project, www.kdevelop.org). But the Ruby-support is not yet usable. Maybe here are some developers with C++ or Qt experiences who would be interested in chan…

---

## [Error in api when caching enabled](https://www.ruby-forum.com/t/error-in-api-when-caching-enabled/124657)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [December 31, 2007, 6:18pm UTC](https://www.ruby-forum.com/t/error-in-api-when-caching-enabled/124657 "2007-12-31T18:18:54Z")

</div>

I’m not sure if I have something messed up with my install or if this is actually a bug. I have Rails fragment caching enabled with the memcache store, and it speeds up my blog rendering in browsers quite a lot. I’m n…

---

## [How to read the log?](https://www.ruby-forum.com/t/how-to-read-the-log/74433)

<div class="topic-metadata">

**Author:** [@Praseen](https://www.ruby-forum.com/u/Praseen)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 5:50am UTC](https://www.ruby-forum.com/t/how-to-read-the-log/74433 "2006-11-07T05:50:52Z")

</div>

I want to know some testing code in watir. I have to read the log files from the server log which is showing on the Jboss server. How can I read that and write that in the local machine. Can you give an example code…

---

## [Leopard 10.5.3 breaks MacPort Rails](https://www.ruby-forum.com/t/leopard-10-5-3-breaks-macport-rails/139174)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 5\
**Last updated:** [June 3, 2008, 2:23pm UTC](https://www.ruby-forum.com/t/leopard-10-5-3-breaks-macport-rails/139174 "2008-06-03T14:23:57Z")

</div>

If you’ve installed Ruby and Rails using mac ports, be aware that installing 10.5.3 will install new versions of ruby and rails, which will hide your mac ports versions of rails. I had to go into /usr/bin and reset/de…

---

## [Possible to optimize this?](https://www.ruby-forum.com/t/possible-to-optimize-this/130584)

<div class="topic-metadata">

**Author:** [@laredotornado](https://www.ruby-forum.com/u/laredotornado)\
**Replies:** 5\
**Last updated:** [March 3, 2008, 10:57am UTC](https://www.ruby-forum.com/t/possible-to-optimize-this/130584 "2008-03-03T10:57:14Z")

</div>

Hi, I am creating a variable “counter” to count the number of iterations. But I get the funny feeling Ruby (I’m using 1.8) may already have some kind of implicit counter in the loop. Does anyone know of a way the be…

---

## [Editing 2 models](https://www.ruby-forum.com/t/editing-2-models/127712)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 5\
**Last updated:** [February 4, 2008, 2:44am UTC](https://www.ruby-forum.com/t/editing-2-models/127712 "2008-02-04T02:44:58Z")

</div>

Hi all, My model: user has many events through statistics and registrations registrations contains whether or not the user was on the event, statistics contains what he did on the event. I think it is better to make…

---

## [Ruby on Rails e-learning solution](https://www.ruby-forum.com/t/ruby-on-rails-e-learning-solution/116831)

<div class="topic-metadata">

**Author:** [@troberts](https://www.ruby-forum.com/u/troberts)\
**Replies:** 5\
**Last updated:** [December 6, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-e-learning-solution/116831 "2007-12-06T21:19:22Z")

</div>

Does anyone know of an e-learning solution based on Ruby on Rails besides digital seed?

---

## [Code dupplication?](https://www.ruby-forum.com/t/code-dupplication/114225)

<div class="topic-metadata">

**Author:** [@esox\_ch](https://www.ruby-forum.com/u/esox_ch)\
**Replies:** 5\
**Last updated:** [September 10, 2007, 8:24am UTC](https://www.ruby-forum.com/t/code-dupplication/114225 "2007-09-10T08:24:22Z")

</div>

Hello, I’m building a small website, where users can subscribe by filling a form (like this forum) but can also be subscribed by the administrator directly in the administrator zone. The workflow is completly differe…

---

## [Help With associations](https://www.ruby-forum.com/t/help-with-associations/111834)

<div class="topic-metadata">

**Author:** [@charlie](https://www.ruby-forum.com/u/charlie)\
**Replies:** 5\
**Last updated:** [August 13, 2007, 3:19am UTC](https://www.ruby-forum.com/t/help-with-associations/111834 "2007-08-13T03:19:52Z")

</div>

I am having some problems manipulating associations. For example, I have an opinion model that belongs to both a user model and a blog model. When listing a users blogs I want to also list that users opinion of the bl…

---

## [Strange double-download with Safari](https://www.ruby-forum.com/t/strange-double-download-with-safari/242947)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 9, 2015, 8:50pm UTC](https://www.ruby-forum.com/t/strange-double-download-with-safari/242947 "2015-08-09T20:50:01Z")

</div>

I’m trying to log downloads of CarrierWave resources hosted at S3, so I have a controller method that performs a redirect to the remote\_url, and creates a new database record to store the request details. But when I a…

---

## [Ruby on Rails log file](https://www.ruby-forum.com/t/ruby-on-rails-log-file/242616)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [July 7, 2015, 11:05am UTC](https://www.ruby-forum.com/t/ruby-on-rails-log-file/242616 "2015-07-07T11:05:19Z")

</div>

I have deployed a ruby on rails app on two instances of production server, now there are two separate log file are being created for different instances. My question is how I can make a single log file for both the i…

---

## [Help required for dpsk\_loopback.grc](https://www.ruby-forum.com/t/help-required-for-dpsk-loopback-grc/234430)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 4, 2015, 5:42pm UTC](https://www.ruby-forum.com/t/help-required-for-dpsk-loopback-grc/234430 "2015-03-04T17:42:24Z")

</div>

Dear All, I am very new to GNU Radio and currently trying to explore the example grc blocks available with the package. For example, I tried to execute the example given in the example folder as “dpsk\_loopback.grc” …

---

## [What's wrong with my code?](https://www.ruby-forum.com/t/whats-wrong-with-my-code/241318)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 22, 2014, 4:38am UTC](https://www.ruby-forum.com/t/whats-wrong-with-my-code/241318 "2014-12-22T04:38:01Z")

</div>

So I am reading ’ Learn to Program’ by Chris P… One of the exercises there is to build and sort an array. This is the question: Write the program we talked about at the beginning of this chapter, one that asks us to t…

---

## [How to migrate installed gems to higher ruby version on Ubuntu?](https://www.ruby-forum.com/t/how-to-migrate-installed-gems-to-higher-ruby-version-on-ubuntu/234811)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [July 22, 2014, 10:04am UTC](https://www.ruby-forum.com/t/how-to-migrate-installed-gems-to-higher-ruby-version-on-ubuntu/234811 "2014-07-22T10:04:17Z")

</div>

Hi All, Currently I am using Ruby1.9.3\* for my rails application, I want to update ruby to latest stable version in this case how can i migrate all the gems in this version of Ruby to latest version. Thanks in adv…

---

## [Filter content by checksum](https://www.ruby-forum.com/t/filter-content-by-checksum/229972)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [May 24, 2014, 8:35pm UTC](https://www.ruby-forum.com/t/filter-content-by-checksum/229972 "2014-05-24T20:35:37Z")

</div>

How can I configure nginx to manipulate the content of http-response, for example filtering the content of the response by checksum?

---

## [How to update the value of a variable by reading message in grc?](https://www.ruby-forum.com/t/how-to-update-the-value-of-a-variable-by-reading-message-in-grc/240857)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 11, 2014, 4:23pm UTC](https://www.ruby-forum.com/t/how-to-update-the-value-of-a-variable-by-reading-message-in-grc/240857 "2014-05-11T16:23:50Z")

</div>

Hi all, I’m working on a system with packet headers. I want to use the message decoded by the Packet Header Parser to update a variable. I knew the message can be stored in a message debug block, and be retrieved by…

---

## [Reel 0.5.0 "Bette" released: a Celluloid::IO-powered web server](https://www.ruby-forum.com/t/reel-0-5-0-bette-released-a-celluloid-io-powered-web-server/240472)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 15, 2014, 9:14pm UTC](https://www.ruby-forum.com/t/reel-0-5-0-bette-released-a-celluloid-io-powered-web-server/240472 "2014-04-15T21:14:40Z")

</div>

Reel is an “evented” web server based on Celluloid::IO which also makes it easy to hand off connections to native threads. It’s the best of both worlds: multithreaded blocking I/O for active, short-lived connections, …

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

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