# Top

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

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

---

## [Rake probleme](https://www.ruby-forum.com/t/rake-probleme/208436)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [June 18, 2011, 4:51pm UTC](https://www.ruby-forum.com/t/rake-probleme/208436 "2011-06-18T16:51:09Z")

</div>

hi, i want to test my routes, when i make : rake routes i have this message You have already activated rake 0.9.2, but your Gemfile requires rake 0.8.7. Consider using bundle exec. i thought i have update the rake, …

---

## [Re rendering a page with an additional Param](https://www.ruby-forum.com/t/re-rendering-a-page-with-an-additional-param/201758)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [January 16, 2011, 8:41pm UTC](https://www.ruby-forum.com/t/re-rendering-a-page-with-an-additional-param/201758 "2011-01-16T20:41:31Z")

</div>

Hello! From my home page you can choose a tire size your looking for this takes you to the tire\_results page. now this page is built on what tires are in @tire. So you may be looking at all the 14" tires I have. But…

---

## [Has anyone benchmark the use of helpers](https://www.ruby-forum.com/t/has-anyone-benchmark-the-use-of-helpers/200997)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [December 28, 2010, 12:12am UTC](https://www.ruby-forum.com/t/has-anyone-benchmark-the-use-of-helpers/200997 "2010-12-28T00:12:38Z")

</div>

At the moment I am taking code from my views and putting it into helpers. Great for understanding and maintaining my views, but using helpers for the same code must take longer to load. Has anyone done any benchmark …

---

## [Loading variables from a file \[Noob Question\]](https://www.ruby-forum.com/t/loading-variables-from-a-file-noob-question/199756)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [November 29, 2010, 6:53am UTC](https://www.ruby-forum.com/t/loading-variables-from-a-file-noob-question/199756 "2010-11-29T06:53:07Z")

</div>

Hey everyone, I’ve been working on some sort of a test-based game to learn ruby (and programming in general :slight\_smile: and I got stuck with my saving/loading system. To show you what I mean, this is what I used to…

---

## [Sponsoring feature development?](https://www.ruby-forum.com/t/sponsoring-feature-development/187319)

<div class="topic-metadata">

**Author:** [@S\_H](https://www.ruby-forum.com/u/S_H)\
**Replies:** 5\
**Last updated:** [April 22, 2010, 7:48pm UTC](https://www.ruby-forum.com/t/sponsoring-feature-development/187319 "2010-04-22T19:48:10Z")

</div>

Requests for non-buffered uploads in a proxy situation seem to have cropped up regularly on this list (the most recent just about a week ago). I’m interested in this feature as it would let me replace my slowly failin…

---

## [Smart localisation](https://www.ruby-forum.com/t/smart-localisation/187256)

<div class="topic-metadata">

**Author:** [@jhaagmans](https://www.ruby-forum.com/u/jhaagmans)\
**Replies:** 5\
**Last updated:** [April 21, 2010, 11:45am UTC](https://www.ruby-forum.com/t/smart-localisation/187256 "2010-04-21T11:45:22Z")

</div>

Hi, I have some trouble using Il8n. I’ve had these problems for a while now and always used rough workarounds, but as my productivity needs to go up another notch, I was wondering whether there was any way of avoidin…

---

## [A small internationalization issue?](https://www.ruby-forum.com/t/a-small-internationalization-issue/181008)

<div class="topic-metadata">

**Author:** [@tutiplain](https://www.ruby-forum.com/u/tutiplain)\
**Replies:** 5\
**Last updated:** [January 11, 2010, 3:03pm UTC](https://www.ruby-forum.com/t/a-small-internationalization-issue/181008 "2010-01-11T15:03:57Z")

</div>

Hi all, I am a Puerto Rican using Ruby, so the apps I develop are mostly in Spanish. I am using FXRuby for GUI development (I want to learn wxRuby, but I can’t find any good tutorials out there). Sometimes, when I …

---

## [Request rewrite emergency\*](https://www.ruby-forum.com/t/request-rewrite-emergency/176653)

<div class="topic-metadata">

**Author:** [@saiyan](https://www.ruby-forum.com/u/saiyan)\
**Replies:** 5\
**Last updated:** [October 4, 2009, 9:41pm UTC](https://www.ruby-forum.com/t/request-rewrite-emergency/176653 "2009-10-04T21:41:22Z")

</div>

Hello everybody here in NGINX Hello Igor, and others. I need a help regarding rewrite problem Source: RewriteEngine on Some hostings require RewriteBase to be uncommented Example: Your store url is yourcompany.c…

---

## [Ruby 1.8 & 1.9 problem](https://www.ruby-forum.com/t/ruby-1-8-1-9-problem/174657)

<div class="topic-metadata">

**Author:** [@abhishek](https://www.ruby-forum.com/u/abhishek)\
**Replies:** 5\
**Last updated:** [September 1, 2009, 2:32pm UTC](https://www.ruby-forum.com/t/ruby-1-8-1-9-problem/174657 "2009-09-01T14:32:00Z")

</div>

hi i had ruby 1.8.7 in my system. (Ubuntu 9.04) so in console when i type: which ruby =\> /usr/bin/ruby ruby -v =\>ruby 1.8.7 (2008-08-11 patchlevel 72) \[i486-linux\] now i have installed ruby 1.9 side by side to the…

---

## [C++ example](https://www.ruby-forum.com/t/c-example/173639)

<div class="topic-metadata">

**Author:** [@mattias\_k](https://www.ruby-forum.com/u/mattias_k)\
**Replies:** 5\
**Last updated:** [August 13, 2009, 5:57pm UTC](https://www.ruby-forum.com/t/c-example/173639 "2009-08-13T17:57:03Z")

</div>

Hi list, Is there an interest in having more c++ examples included in gnuradio? Although the dial- tone example is very illustrative, it might be handy to have at least a few more? Best regards //Mattias

---

## [Limiting Access of Nested Resources](https://www.ruby-forum.com/t/limiting-access-of-nested-resources/149735)

<div class="topic-metadata">

**Author:** [@sinkva](https://www.ruby-forum.com/u/sinkva)\
**Replies:** 5\
**Last updated:** [September 29, 2008, 7:42am UTC](https://www.ruby-forum.com/t/limiting-access-of-nested-resources/149735 "2008-09-29T07:42:33Z")

</div>

So I’m using nested routes for a users model that has measurements and journals… like this: map.resources :users do |users| users.resources :journals users.resources :measurements end This of course builds routes a…

---

## [Active Record Insert relationship](https://www.ruby-forum.com/t/active-record-insert-relationship/140470)

<div class="topic-metadata">

**Author:** [@rodusa](https://www.ruby-forum.com/u/rodusa)\
**Replies:** 5\
**Last updated:** [June 17, 2008, 12:05am UTC](https://www.ruby-forum.com/t/active-record-insert-relationship/140470 "2008-06-17T00:05:04Z")

</div>

I need help inserting an address record to a tabled called realestates. The relationship between these to tables is 1 to 1. realestates table has an address\_id field set to not NULL class Address \< ActiveRecord::Base …

---

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

<div class="topic-metadata">

**Author:** [@mazraelle](https://www.ruby-forum.com/u/mazraelle)\
**Replies:** 5\
**Last updated:** [May 25, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/problem-with-validation/138577 "2008-05-25T15:07:34Z")

</div>

hi i define in my model for example this validation: validates\_presence\_of :commentaires but when in my form my field is empty i have this error You have a nil object when you didn’t expect it! You might have expect…

---

## [A view of two models](https://www.ruby-forum.com/t/a-view-of-two-models/128577)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 5\
**Last updated:** [February 17, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/a-view-of-two-models/128577 "2008-02-17T22:32:32Z")

</div>

I have two models which are related by a foreign key. I would like to have a report along the lines of: call\_comment login first 1234 so that it prints fields calls.comment and logins.login where calls.login\_id=…

---

## [Where does all the memory go?](https://www.ruby-forum.com/t/where-does-all-the-memory-go/111928)

<div class="topic-metadata">

**Author:** [@kevin\_evans](https://www.ruby-forum.com/u/kevin_evans)\
**Replies:** 5\
**Last updated:** [August 13, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/where-does-all-the-memory-go/111928 "2007-08-13T23:54:08Z")

</div>

I’ve a method within an Event model… def batch\_import(folder) require ‘find’ Find::find("#{SOURCE\_PATH}/#{folder}") do |path| if path\[-3..-1\].downcase == 'jpg' @photo = Picture.new() @photo.dat…

---

## [Trouble figuring out select tags](https://www.ruby-forum.com/t/trouble-figuring-out-select-tags/109282)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 5\
**Last updated:** [July 13, 2007, 5:33am UTC](https://www.ruby-forum.com/t/trouble-figuring-out-select-tags/109282 "2007-07-13T05:33:03Z")

</div>

Sorry guys - such an obtuse question, but with all the myriad possibilities out there for using select statements in my rails template, I can’t figure out which one is the best. Here’s my problem: I have a very simple…

---

## [Variable in url](https://www.ruby-forum.com/t/variable-in-url/107119)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 5\
**Last updated:** [June 18, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/variable-in-url/107119 "2007-06-18T18:35:37Z")

</div>

Hi all, I want to build a url like this: name.site.com . Can RoR read out the name in the url? If not I supose it’s uo to the webserver. Can webrick or Mongrel use this and pass this to RoR. I need the name in the url …

---

## [Pagination not keeping search params?](https://www.ruby-forum.com/t/pagination-not-keeping-search-params/77177)

<div class="topic-metadata">

**Author:** [@jon](https://www.ruby-forum.com/u/jon)\
**Replies:** 5\
**Last updated:** [February 9, 2007, 10:17am UTC](https://www.ruby-forum.com/t/pagination-not-keeping-search-params/77177 "2007-02-09T10:17:12Z")

</div>

Hi I have the following pagination search query @user\_pages, @users = paginate :users, :per\_page =\> 2, :conditions =\> “name LIKE ‘#{params\[‘search’\]\[‘name’\]}%’” When ever I click on page 2 the params\[‘search’\]\[‘name’…

---

## [Including a namespace for just one class](https://www.ruby-forum.com/t/including-a-namespace-for-just-one-class/80389)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 5\
**Last updated:** [December 28, 2006, 6:23am UTC](https://www.ruby-forum.com/t/including-a-namespace-for-just-one-class/80389 "2006-12-28T06:23:05Z")

</div>

I would like to reference constants and classes defined in module People in the class Schedule. class Login is not part of any module (other than the root). doing this: class Schedule include People def a\_method #…

---

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

<div class="topic-metadata">

**Author:** [@stewbawka](https://www.ruby-forum.com/u/stewbawka)\
**Replies:** 5\
**Last updated:** [September 18, 2006, 7:56pm UTC](https://www.ruby-forum.com/t/testing-confusion/68827 "2006-09-18T19:56:42Z")

</div>

ok, i’ve written a fairly feature rich rails app and right now i’m catching up with myself by writing the tests for the damned thing. currently getting the unit tests out of the way, but i have written one functional …

---

## [Newbie Formating output](https://www.ruby-forum.com/t/newbie-formating-output/98407)

<div class="topic-metadata">

**Author:** [@pedx78](https://www.ruby-forum.com/u/pedx78)\
**Replies:** 5\
**Last updated:** [July 25, 2006, 1:03am UTC](https://www.ruby-forum.com/t/newbie-formating-output/98407 "2006-07-25T01:03:43Z")

</div>

Hi, am a rails newbie. I had problems with 2 tasks i have created a guestbook app just to try out rails users sign guestbook by leaving name and message currently, the list action shows plain text like this: Joe S. …

---

## [Quantic phenomena in migrations](https://www.ruby-forum.com/t/quantic-phenomena-in-migrations/98673)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 5\
**Last updated:** [July 17, 2006, 10:13pm UTC](https://www.ruby-forum.com/t/quantic-phenomena-in-migrations/98673 "2006-07-17T22:13:39Z")

</div>

I have an application with 15 migrations under version control. In a Mac and and in a Windows, a rake migrate from scratch runs them all just fine. But in a different Windows machine rake migrate stops after migration…

---

## [Question: Counting integers](https://www.ruby-forum.com/t/question-counting-integers/96098)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 5\
**Last updated:** [June 26, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/question-counting-integers/96098 "2006-06-26T19:08:01Z")

</div>

I 've come across this somewhere but right now it’s escapeing me. x = 100 , so I want to find out how many digits are in that number. ?? Tia Stuart

---

## [Noob Question concerning code in Agile Web Development with](https://www.ruby-forum.com/t/noob-question-concerning-code-in-agile-web-development-with/52685)

<div class="topic-metadata">

**Author:** [@Terry\_D](https://www.ruby-forum.com/u/Terry_D)\
**Replies:** 5\
**Last updated:** [January 18, 2006, 1:42am UTC](https://www.ruby-forum.com/t/noob-question-concerning-code-in-agile-web-development-with/52685 "2006-01-18T01:42:40Z")

</div>

Hi, I’m currently learning Ruby on Rails using “Agile Web D. with Rails.” I am using RadRails as my development environment. Everything has been going along well, until the end of chapter 7. Just before the end o…

---

## [How to create tick box with rails on view/index](https://www.ruby-forum.com/t/how-to-create-tick-box-with-rails-on-view-index/252603)

<div class="topic-metadata">

**Author:** [@gina1234](https://www.ruby-forum.com/u/gina1234)\
**Replies:** 0\
**Last updated:** [June 24, 2019, 5:03pm UTC](https://www.ruby-forum.com/t/how-to-create-tick-box-with-rails-on-view-index/252603 "2019-06-24T17:03:57Z")

</div>

I am trying to build a tick box section with rails on view/index, these are all the steps I’ve taken so far I know that I need to do something about routes.rb, thank you!! (so the scootiescoupon is validated it will be …

---

## [S = '\\x80'; /#{s}/ raises an exception in US-ASCII script](https://www.ruby-forum.com/t/s-x80-s-raises-an-exception-in-us-ascii-script/234835)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 15, 2014, 11:04am UTC](https://www.ruby-forum.com/t/s-x80-s-raises-an-exception-in-us-ascii-script/234835 "2014-10-15T11:04:20Z")

</div>

Issue #10382 has been updated by Martin Dürst. UTF-8 や Windows-31J で試してみたところ、両方とも (/#{s}/ も /#{‘\\x80’}/ も) invalid multibyte eｓcape となっています。なぜ US-ASCII の場合片方しかなってないのか分かりませんが、両方ともエラーになった方が筋が通るのではないかと思います。 Bug #10382: …

---

## [Receiving already loaded object from find\_by method of ActiveRecord::Associations::CollectionProx](https://www.ruby-forum.com/t/receiving-already-loaded-object-from-find-by-method-of-activerecord-collectionprox/230143)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [June 2, 2014, 2:27pm UTC](https://www.ruby-forum.com/t/receiving-already-loaded-object-from-find-by-method-of-activerecord-collectionprox/230143 "2014-06-02T14:27:27Z")

</div>

I have the following models class Parent \< ActiveRecord::Base has\_many :children end class Child \< ActiveRecord::Base belongs\_to :parent end What I want to do is changing a child object by parent.children.find\_or\_…

---

## [\[Stage\] - Ruby on Rails - PARIS 8](https://www.ruby-forum.com/t/stage-ruby-on-rails-paris-8/215855)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [January 17, 2012, 4:37pm UTC](https://www.ruby-forum.com/t/stage-ruby-on-rails-paris-8/215855 "2012-01-17T16:37:23Z")

</div>

Faire un stage autour d’un projet solide et disposer d’une formation pratique aux métiers du private banking et de la multigestion au sein de Cyrus Conseil (www.cyrusconseil.fr) Etre encadré dans un projet dans un sec…

---

## [File handle question - eventpoll and pipe](https://www.ruby-forum.com/t/file-handle-question-eventpoll-and-pipe/187674)

<div class="topic-metadata">

**Author:** [@homerlex](https://www.ruby-forum.com/u/homerlex)\
**Replies:** 0\
**Last updated:** [April 27, 2010, 5:55pm UTC](https://www.ruby-forum.com/t/file-handle-question-eventpoll-and-pipe/187674 "2010-04-27T17:55:10Z")

</div>

Not sure if we have any experts on the topic here but I thought I’d give it a shot. We are running Rails 2.3.5 with a warbler war in Tomcat 5 on RHEL 5.4. I’m noticing some file handle leakage on our production server…

---

## [Code Review: HashEql](https://www.ruby-forum.com/t/code-review-hasheql/170684)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 5:39am UTC](https://www.ruby-forum.com/t/code-review-hasheql/170684 "2009-06-21T05:39:13Z")

</div>

tfpt review “/shelveset:HashEql;REDMOND\\tomat” Fixes implementation of Kernel#eql?, Kernel#==, Kernel#hash, Array#eql? and Array#hash and improves CLR interop. Improves performance of Array#- from quadratic algorithm …

---

## [Ruby 1.9 migration problem on Windows](https://www.ruby-forum.com/t/ruby-1-9-migration-problem-on-windows/139051)

<div class="topic-metadata">

**Author:** [@awarberg](https://www.ruby-forum.com/u/awarberg)\
**Replies:** 0\
**Last updated:** [May 30, 2008, 1:54pm UTC](https://www.ruby-forum.com/t/ruby-1-9-migration-problem-on-windows/139051 "2008-05-30T13:54:24Z")

</div>

Hi, I have an application, which currently runs under ruby 1.8.6. I want to adopt the new interpreter to get the syntax improvements and speed. I downloaded the ruby 1.9 zip-archive and unpacked to c:\\ruby1.9. Then I …

---

## [Mongrel 1.1.3 errors?](https://www.ruby-forum.com/t/mongrel-1-1-3-errors/129392)

<div class="topic-metadata">

**Author:** [@coldtone](https://www.ruby-forum.com/u/coldtone)\
**Replies:** 0\
**Last updated:** [February 18, 2008, 5:05am UTC](https://www.ruby-forum.com/t/mongrel-1-1-3-errors/129392 "2008-02-18T05:05:19Z")

</div>

All my production Rails/Engines apps died last week. Suddenly, and without code change on my part. I think I’ve narrowed the problem down to my hosting provider upgrading from Mongrel 1.1.1 to 1.1.3. Upgrading my d…

---

## [Enumerable#unassociate](https://www.ruby-forum.com/t/enumerable-unassociate/220910)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [June 25, 2012, 10:13pm UTC](https://www.ruby-forum.com/t/enumerable-unassociate/220910 "2012-06-25T22:13:08Z")

</div>

Have a look: module Enumerable # Take an associative array and unassociate it. # # \[\[:a,1\], \[:b,2\]\].unassociate.to\_a #=\> \[:a, \[1\], :b, \[2\]\] # \[\[:a,1\], \[:b,2\]\].unassociate(1).to\_a #=\> \[:a, 1, :b, 2\] # def unass…

---

## [Super simple newbie Q about methods](https://www.ruby-forum.com/t/super-simple-newbie-q-about-methods/188428)

<div class="topic-metadata">

**Author:** [@osshcs](https://www.ruby-forum.com/u/osshcs)\
**Replies:** 6\
**Last updated:** [May 11, 2010, 11:12pm UTC](https://www.ruby-forum.com/t/super-simple-newbie-q-about-methods/188428 "2010-05-11T23:12:06Z")

</div>

If I write: def add(i,j) i = i + j end i = 1 puts i add(i,3) puts i I get 1 1 What would I have to change to get 1 4 ? I presume this is covered in the Pickaxe book but can’t find the answer - a pointer t…

---

## [Best search facility](https://www.ruby-forum.com/t/best-search-facility/182196)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 6\
**Last updated:** [January 25, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/best-search-facility/182196 "2010-01-25T20:56:48Z")

</div>

Hi All, this may over-lap with my recent ferret post, but I wondered if anyone knew of the best way to add a search engine for rails on your site? I’ve tried ferret, which seems a bit ‘‘hit n miss’’ Someone has also …

---

## [Ruby on Rails on shared host](https://www.ruby-forum.com/t/ruby-on-rails-on-shared-host/149921)

<div class="topic-metadata">

**Author:** [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Replies:** 6\
**Last updated:** [October 3, 2008, 6:37pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-shared-host/149921 "2008-10-03T18:37:18Z")

</div>

Hello, I built a web app using Ruby on Rails and it’s working perfectly on local host but once I move it to production I get this error message: Application error Rails application failed to start properly I tried t…

---

## [Case...when statement bug when using openid\_authentication?](https://www.ruby-forum.com/t/case-when-statement-bug-when-using-openid-authentication/138730)

<div class="topic-metadata">

**Author:** [@marzapower](https://www.ruby-forum.com/u/marzapower)\
**Replies:** 6\
**Last updated:** [May 27, 2008, 6:13pm UTC](https://www.ruby-forum.com/t/case-when-statement-bug-when-using-openid-authentication/138730 "2008-05-27T18:13:03Z")

</div>

Hello people! I’m asking for help to solve a little problem concerning the usage of the openid\_authentication plugin. I’m following the README file included by DHH, so I wrote this method in my SessionsController: de…

---

## [STRONG dynamic typing favors tools..?](https://www.ruby-forum.com/t/strong-dynamic-typing-favors-tools/125266)

<div class="topic-metadata">

**Author:** [@John\_Papas](https://www.ruby-forum.com/u/John_Papas)\
**Replies:** 6\
**Last updated:** [January 8, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/strong-dynamic-typing-favors-tools/125266 "2008-01-08T15:45:36Z")

</div>

One of the things I like about languages like Java is that since it is statically typed I get tools that assist me when I write code, for example if I misspell a function name. What I really hate about dynamic languag…

---

## [Filters for finders](https://www.ruby-forum.com/t/filters-for-finders/79783)

<div class="topic-metadata">

**Author:** [@jonbaer](https://www.ruby-forum.com/u/jonbaer)\
**Replies:** 6\
**Last updated:** [July 13, 2007, 12:01am UTC](https://www.ruby-forum.com/t/filters-for-finders/79783 "2007-07-13T00:01:31Z")

</div>

Is there a way to filter all finders for a model? In my example, I have a TINYINT column called ‘active’. I wan’t to somehow filter it so that all finders by default can’t see the records where active=0. I know that…

---

## [Determine if a value is an instance of String , or Array , o](https://www.ruby-forum.com/t/determine-if-a-value-is-an-instance-of-string-or-array-o/76741)

<div class="topic-metadata">

**Author:** [@oo00oo](https://www.ruby-forum.com/u/oo00oo)\
**Replies:** 6\
**Last updated:** [March 5, 2006, 1:26am UTC](https://www.ruby-forum.com/t/determine-if-a-value-is-an-instance-of-string-or-array-o/76741 "2006-03-05T01:26:02Z")

</div>

each loop inside a mixed hash I need to determine if the value is an instance of String How ? hash.each do |k,v| if v ( instance of ) String hash\[ k \] = v.capitalize enf end

---

## [What is AJAX?](https://www.ruby-forum.com/t/what-is-ajax/94853)

<div class="topic-metadata">

**Author:** [@spiz](https://www.ruby-forum.com/u/spiz)\
**Replies:** 6\
**Last updated:** [January 9, 2006, 10:09pm UTC](https://www.ruby-forum.com/t/what-is-ajax/94853 "2006-01-09T22:09:37Z")

</div>

What is AJAX? SteveT Steve L. Author: Universal Troubleshooting Process courseware Troubleshooting Techniques of the Successful Technologist Rapid Learning: Secret Weapon of the Successful Technologist Webmaster Tr…

---

## [Scheduled processes](https://www.ruby-forum.com/t/scheduled-processes/49173)

<div class="topic-metadata">

**Author:** [@railsonly](https://www.ruby-forum.com/u/railsonly)\
**Replies:** 6\
**Last updated:** [December 1, 2005, 4:59am UTC](https://www.ruby-forum.com/t/scheduled-processes/49173 "2005-12-01T04:59:16Z")

</div>

How in Rails do you set up a scheduled process, i.e. something that for example periodically sends out an email to the site’s users. Is this possible?

---

## [IRB help](https://www.ruby-forum.com/t/irb-help/235441)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [June 22, 2013, 9:28am UTC](https://www.ruby-forum.com/t/irb-help/235441 "2013-06-22T09:28:16Z")

</div>

I’m new to Ruby. I installed Rails on Windows 8. When I type mkdir in IRB, I’m getting this. I tried running the IRB as administrator too, and still get the same result irb(main):001:0\> mkdir lesson2 NameError: und…

---

## [New open source tool: Pull Request Roulette](https://www.ruby-forum.com/t/new-open-source-tool-pull-request-roulette/228485)

<div class="topic-metadata">

**Author:** [@daveamos](https://www.ruby-forum.com/u/daveamos)\
**Replies:** 4\
**Last updated:** [April 28, 2013, 3:16pm UTC](https://www.ruby-forum.com/t/new-open-source-tool-pull-request-roulette/228485 "2013-04-28T15:16:41Z")

</div>

I just launched a new tool for Open Source projects: Pull Request Roulette (http://www.pullrequestroulette.com). Check it out and let me know what you think. – Dave A., the T. Rex of Codosaurus LLC, secret-cleared …

---

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

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 21, 2012, 9:37pm UTC](https://www.ruby-forum.com/t/whats-wrong-with-this/215992 "2012-01-21T21:37:08Z")

</div>

Hey everyone, I’m very new to Ruby and I’m starting to do a bit more hands-on practice… So I decided to make an attempt at making a small bit of code, but when I run it, nothing happens… Can someone please explain why…

---

## [Rails 3.1rc5 , @font-face (in assets scss) and firefox](https://www.ruby-forum.com/t/rails-3-1rc5-font-face-in-assets-scss-and-firefox/210638)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 13, 2011, 6:02pm UTC](https://www.ruby-forum.com/t/rails-3-1rc5-font-face-in-assets-scss-and-firefox/210638 "2011-08-13T18:02:53Z")

</div>

I have this strange issue. Inside the assets/stylesheets/pages.scss (pages is a controller) i have set up a custom font with font-face @font-face { font-family: myfont; src: url(’…/assets/fonts/my\_font.otf’); } an…

---

## [Stange problem with Routes](https://www.ruby-forum.com/t/stange-problem-with-routes/208851)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 29, 2011, 3:36pm UTC](https://www.ruby-forum.com/t/stange-problem-with-routes/208851 "2011-06-29T15:36:18Z")

</div>

I make a CRUD with Routes: resources :movies so, the destroy action stopped working: No route matches “/movies/3” so I did match ‘videos/:id’ =\> ‘videos#destroy’ then I get: Couldn’t find Movie with ID=new then I…

---

## [Can I access another apps mysql database with my rails app?](https://www.ruby-forum.com/t/can-i-access-another-apps-mysql-database-with-my-rails-app/187268)

<div class="topic-metadata">

**Author:** [@ast](https://www.ruby-forum.com/u/ast)\
**Replies:** 4\
**Last updated:** [April 20, 2010, 10:47pm UTC](https://www.ruby-forum.com/t/can-i-access-another-apps-mysql-database-with-my-rails-app/187268 "2010-04-20T22:47:13Z")

</div>

Sorry if the answer is obvious (nube alert) but would it be possible for me to access the DB of a php app using a mysql database, from within my Rails app? I want to install my (php) forums in forum.site.com, and my m…

---

## [Result of assignment is not the return value](https://www.ruby-forum.com/t/result-of-assignment-is-not-the-return-value/185029)

<div class="topic-metadata">

**Author:** [@ate50eggs](https://www.ruby-forum.com/u/ate50eggs)\
**Replies:** 4\
**Last updated:** [March 12, 2010, 8:30am UTC](https://www.ruby-forum.com/t/result-of-assignment-is-not-the-return-value/185029 "2010-03-12T08:30:54Z")

</div>

Given a simple class like this class MyClass attr\_reader :value def value=(val) @value = val.to\_s end end Why the the following code return the value passed and not the value assigned? c = MyClass.new result = …

---

## [RFX900 Failure](https://www.ruby-forum.com/t/rfx900-failure/184077)

<div class="topic-metadata">

**Author:** [@revlob](https://www.ruby-forum.com/u/revlob)\
**Replies:** 4\
**Last updated:** [February 26, 2010, 8:57pm UTC](https://www.ruby-forum.com/t/rfx900-failure/184077 "2010-02-26T20:57:30Z")

</div>

Hi all, Power output has significantly dropped, initially by 8dB, now much more. My first thoughts are that the PA has failed, so is it possible to break the transmitter… by prolonged transmitting at high power (i.e…

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

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