# Top

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

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

---

## [ActiveRecord Curseurs?](https://www.ruby-forum.com/t/activerecord-curseurs/78256)

<div class="topic-metadata">

**Author:** [@Mathieu\_C](https://www.ruby-forum.com/u/Mathieu_C)\
**Replies:** 3\
**Last updated:** [December 5, 2006, 8:50am UTC](https://www.ruby-forum.com/t/activerecord-curseurs/78256 "2006-12-05T08:50:27Z")

</div>

Hello, #mamoulinette.rb dataset=Client.find(:all) dataset.each do enreg fait\_le\_boulot\_avec(enreg) end Ce code peut-devenir génant sur des tables de plusieurs centaines de milliers d’enregistrements, puisque tout…

---

## [Bug or feature: WEBrick threading (vs script/console thread)](https://www.ruby-forum.com/t/bug-or-feature-webrick-threading-vs-script-console-thread/101565)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [August 7, 2006, 8:37am UTC](https://www.ruby-forum.com/t/bug-or-feature-webrick-threading-vs-script-console-thread/101565 "2006-08-07T08:37:59Z")

</div>

I don’t know whether this is a bug or feature, and I don’t know whether this belongs to Gmailer (http://rubyforge.org/projects/gmailutils) in specific or Rails/Ruby in general. I have an instance method in an ActiveRe…

---

## [Task list in Eclipse](https://www.ruby-forum.com/t/task-list-in-eclipse/97523)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [August 3, 2006, 2:24pm UTC](https://www.ruby-forum.com/t/task-list-in-eclipse/97523 "2006-08-03T14:24:13Z")

</div>

Eclipse automatically creates a task list when you write comments like this in your ruby code. TODO: fix this The task list is supposed to be updated when the file is saved, but for me it is only updated when Eclipse …

---

## [Error when \*just\* adding utf8 encoding to database.yaml](https://www.ruby-forum.com/t/error-when-just-adding-utf8-encoding-to-database-yaml/61536)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 3\
**Last updated:** [May 24, 2006, 10:52pm UTC](https://www.ruby-forum.com/t/error-when-just-adding-utf8-encoding-to-database-yaml/61536 "2006-05-24T22:52:07Z")

</div>

Hi, I have Ruby 1.8.4 and have my MyISAM db and tables created via the migration files to utf8. A check with MySQL Front shows that all the tables and the db have been correctly created as I wanted them. I want the s…

---

## [Help debugging an error](https://www.ruby-forum.com/t/help-debugging-an-error/93982)

<div class="topic-metadata">

**Author:** [@steveoco](https://www.ruby-forum.com/u/steveoco)\
**Replies:** 3\
**Last updated:** [April 17, 2006, 4:58pm UTC](https://www.ruby-forum.com/t/help-debugging-an-error/93982 "2006-04-17T16:58:56Z")

</div>

Hi, I’ve started getting an error I can’t debug. The error doesn’t generate anything in my development log. A breakpoint set right at the beggining of the controller method does not get triggered. It happens on a for…

---

## [Boston Rails work/Meeting Railers](https://www.ruby-forum.com/t/boston-rails-work-meeting-railers/57850)

<div class="topic-metadata">

**Author:** [@Peter\_Marreck](https://www.ruby-forum.com/u/Peter_Marreck)\
**Replies:** 3\
**Last updated:** [April 15, 2006, 12:10am UTC](https://www.ruby-forum.com/t/boston-rails-work-meeting-railers/57850 "2006-04-15T00:10:18Z")

</div>

Hey all, Been working with/excited about Rails since November, when I quit working for The Man in order to freelance. Have a couple of Rails projects completed. Having worked with web app dev since 1999, it’s been a …

---

## [Keeping javascript in the \<head\>](https://www.ruby-forum.com/t/keeping-javascript-in-the-head/56826)

<div class="topic-metadata">

**Author:** [@Marlon\_M](https://www.ruby-forum.com/u/Marlon_M)\
**Replies:** 3\
**Last updated:** [April 8, 2006, 5:18am UTC](https://www.ruby-forum.com/t/keeping-javascript-in-the-head/56826 "2006-04-08T05:18:15Z")

</div>

Given that Rails has built in ways to do almost everything else :slight\_smile: , is there a way to keep view specific javascripts inside the head tag of a layout without having to include that javascript on every page? …

---

## [Ajax render a template](https://www.ruby-forum.com/t/ajax-render-a-template/57150)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 3\
**Last updated:** [April 7, 2006, 9:18pm UTC](https://www.ruby-forum.com/t/ajax-render-a-template/57150 "2006-04-07T21:18:21Z")

</div>

In my blog a user can add comments. I want an Ajax call to add the comment to the bottom of the comments list. How to i return a comment thats is in the comment template and add it to the bottom of the page. I have …

---

## [Strange errors in generated html](https://www.ruby-forum.com/t/strange-errors-in-generated-html/93726)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 3\
**Last updated:** [April 7, 2006, 6:21pm UTC](https://www.ruby-forum.com/t/strange-errors-in-generated-html/93726 "2006-04-07T18:21:05Z")

</div>

Hi! This: \<%= javascript\_include\_tag :defaults %\> \<%= stylesheet\_link\_tag ‘doitwithstyle’ %\> generates this: What are these numbers? I installed rails 1.1.1 (linux) today and i’ve got it on every rails page. …

---

## [Which is more robust/bug-free? Rails 1.0 or 1.1-RC1?](https://www.ruby-forum.com/t/which-is-more-robust-bug-free-rails-1-0-or-1-1-rc1/55708)

<div class="topic-metadata">

**Author:** [@techwiz18](https://www.ruby-forum.com/u/techwiz18)\
**Replies:** 3\
**Last updated:** [March 26, 2006, 6:13pm UTC](https://www.ruby-forum.com/t/which-is-more-robust-bug-free-rails-1-0-or-1-1-rc1/55708 "2006-03-26T18:13:13Z")

</div>

I know that Rails 1.1-RC1 has many new features but it also seems to fix numerous bugs found in Rails 1.1. So for new projects–say a small (\<=10 product) ecommerce website set to launch “any day now”, should we use Ra…

---

## [Validates\_presence\_of validation order?](https://www.ruby-forum.com/t/validates-presence-of-validation-order/87179)

<div class="topic-metadata">

**Author:** [@jhagemeier](https://www.ruby-forum.com/u/jhagemeier)\
**Replies:** 3\
**Last updated:** [March 26, 2006, 4:29am UTC](https://www.ruby-forum.com/t/validates-presence-of-validation-order/87179 "2006-03-26T04:29:57Z")

</div>

I have a form with 3 fields: user\_id, email and password. All 3 fields are required, so I have a “validates\_presence\_of :user\_id, :email, :password” in my model. Works, but the validation errors show up in a different…

---

## [1.1RC and Lighttpd](https://www.ruby-forum.com/t/1-1rc-and-lighttpd/55859)

<div class="topic-metadata">

**Author:** [@snowbug](https://www.ruby-forum.com/u/snowbug)\
**Replies:** 3\
**Last updated:** [March 24, 2006, 2:39pm UTC](https://www.ruby-forum.com/t/1-1rc-and-lighttpd/55859 "2006-03-24T14:39:40Z")

</div>

I started what I thought was going to be a 30 minute project on the train this morning to write a little timetracker for myself. Amongst other things (don’t have a model called Task as it conflicts with Rake at the mo…

---

## [Unit tests leave data behind when they should not](https://www.ruby-forum.com/t/unit-tests-leave-data-behind-when-they-should-not/55336)

<div class="topic-metadata">

**Author:** [@sserdyuk](https://www.ruby-forum.com/u/sserdyuk)\
**Replies:** 3\
**Last updated:** [March 20, 2006, 5:39pm UTC](https://www.ruby-forum.com/t/unit-tests-leave-data-behind-when-they-should-not/55336 "2006-03-20T17:39:57Z")

</div>

Hi, I was confused yesterday. I have bunch of tests and one of those was testing ActiveRecord::save and it was all right, but next method failed because table still had newly created record. All documentation suggests …

---

## [Inserted\_at seems buggy in production mode?](https://www.ruby-forum.com/t/inserted-at-seems-buggy-in-production-mode/82507)

<div class="topic-metadata">

**Author:** [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Replies:** 3\
**Last updated:** [March 16, 2006, 12:59pm UTC](https://www.ruby-forum.com/t/inserted-at-seems-buggy-in-production-mode/82507 "2006-03-16T12:59:39Z")

</div>

Hi, I’ve got a table with an inserted\_at column. When I insert a record it automatically injects the current date/time, all is well. Then when I insert a second record, it uses the exact same timestamp that is used i…

---

## [Retrieving value from select](https://www.ruby-forum.com/t/retrieving-value-from-select/52773)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 3\
**Last updated:** [January 19, 2006, 4:52am UTC](https://www.ruby-forum.com/t/retrieving-value-from-select/52773 "2006-01-19T04:52:02Z")

</div>

In my view, I have: \<%= select(“division\_filter”, “division\_id”, Division.find\_all.collect {|p| \[ p.division, p.id \] }, { :include\_blank =\> true }) %\> How do I retrieve the division\_id in my controller?

---

## [Getting model class by string](https://www.ruby-forum.com/t/getting-model-class-by-string/51751)

<div class="topic-metadata">

**Author:** [@mamatux](https://www.ruby-forum.com/u/mamatux)\
**Replies:** 3\
**Last updated:** [January 7, 2006, 1:07am UTC](https://www.ruby-forum.com/t/getting-model-class-by-string/51751 "2006-01-07T01:07:41Z")

</div>

Hello, I have an interessting problem, I’m not sure how to solve :slight\_smile: I have the name of a model in a variable like this: My model is called Article My var contains “Article” Now - How do I get the model c…

---

## [Fxri incomplete](https://www.ruby-forum.com/t/fxri-incomplete/89572)

<div class="topic-metadata">

**Author:** [@X-Man](https://www.ruby-forum.com/u/X-Man)\
**Replies:** 3\
**Last updated:** [January 5, 2006, 1:27am UTC](https://www.ruby-forum.com/t/fxri-incomplete/89572 "2006-01-05T01:27:31Z")

</div>

I like fxri but why is it that some very essential libraries, e.g. the socket library (with classes TCPSocket, TCPServer, etc.), are not included? It is sad that fxri is so crippled. I have to grab the PickAxe2 book …

---

## [Blk.call vs. yield (possible bug?)](https://www.ruby-forum.com/t/blk-call-vs-yield-possible-bug/51536)

<div class="topic-metadata">

**Author:** [@Dominik\_B](https://www.ruby-forum.com/u/Dominik_B)\
**Replies:** 3\
**Last updated:** [January 4, 2006, 11:08pm UTC](https://www.ruby-forum.com/t/blk-call-vs-yield-possible-bug/51536 "2006-01-04T23:08:11Z")

</div>

Hello, I always thought that the following 4 methods should be equivalent if they are called with one argument: def t1(\*a) yield \*a end def t2(\*a, &blk) blk.call(\*a) end def t3(a) yield a end def t4(a, &blk) …

---

## [Render Nothing](https://www.ruby-forum.com/t/render-nothing/71836)

<div class="topic-metadata">

**Author:** [@kitesurfer](https://www.ruby-forum.com/u/kitesurfer)\
**Replies:** 3\
**Last updated:** [December 18, 2005, 8:59pm UTC](https://www.ruby-forum.com/t/render-nothing/71836 "2005-12-18T20:59:42Z")

</div>

Hi, What’s the best way to render nothing ? I am making an ajax call to an action on my controller that does not need to make any changes to the view. Not sure how do that yet as I get an exception in the logs saying …

---

## [Newbie q: Truncate text field](https://www.ruby-forum.com/t/newbie-q-truncate-text-field/50200)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 3\
**Last updated:** [December 14, 2005, 8:52pm UTC](https://www.ruby-forum.com/t/newbie-q-truncate-text-field/50200 "2005-12-14T20:52:36Z")

</div>

I’m trying to incorporate a field where a user can enter a quantity (online store app). I’ve tried adding this to my views/onlinestore/index.rhtml: \<%= text\_field 'line\_items', 'quantity' %\> (I’m a total newbie s…

---

## [Anonymous class in ActiveRecord](https://www.ruby-forum.com/t/anonymous-class-in-activerecord/50088)

<div class="topic-metadata">

**Author:** [@kitesurfer](https://www.ruby-forum.com/u/kitesurfer)\
**Replies:** 0\
**Last updated:** [December 12, 2005, 10:36pm UTC](https://www.ruby-forum.com/t/anonymous-class-in-activerecord/50088 "2005-12-12T22:36:04Z")

</div>

Hi, I have an ActiveRecord subclass called A and it defines a struct as follows: class A \< ActiveRecord::Base Fred = Struct.new( :a, :b ) … end No problem using this class, however when I update an instance of A …

---

## [Select\_tag query](https://www.ruby-forum.com/t/select-tag-query/225835)

<div class="topic-metadata">

**Author:** [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Replies:** 5\
**Last updated:** [February 8, 2013, 8:10am UTC](https://www.ruby-forum.com/t/select-tag-query/225835 "2013-02-08T08:10:53Z")

</div>

Hi anybody please give me example to write select\_tag with id, name and options, :note =\> here id and name of my select tag are different. Regards and Thanks in advance Manoj.

---

## [Console/Server fetching different gems](https://www.ruby-forum.com/t/console-server-fetching-different-gems/178642)

<div class="topic-metadata">

**Author:** [@chero](https://www.ruby-forum.com/u/chero)\
**Replies:** 5\
**Last updated:** [November 9, 2009, 3:34pm UTC](https://www.ruby-forum.com/t/console-server-fetching-different-gems/178642 "2009-11-09T15:34:12Z")

</div>

Hey All, I’m running into a situation where ruby script/server and ruby script/console are apparently not pulling gems from the same directory. Ex: $\> ruby script/console require ‘nokogiri’ =\> \[\] Nokogiri =\>No…

---

## [Finding data in Rails](https://www.ruby-forum.com/t/finding-data-in-rails/174376)

<div class="topic-metadata">

**Author:** [@Geekyra](https://www.ruby-forum.com/u/Geekyra)\
**Replies:** 5\
**Last updated:** [August 26, 2009, 7:31pm UTC](https://www.ruby-forum.com/t/finding-data-in-rails/174376 "2009-08-26T19:31:43Z")

</div>

Hi All, I have 3 model, User, Post, Comment with definition like below class Post \< ActiveRecord::Base belongs\_to :user has\_many :comments def self.find\_other\_user\_posts ? end end class User \< ActiveReco…

---

## [NoMethodError](https://www.ruby-forum.com/t/nomethoderror/166291)

<div class="topic-metadata">

**Author:** [@joeyboy](https://www.ruby-forum.com/u/joeyboy)\
**Replies:** 5\
**Last updated:** [April 24, 2009, 7:45am UTC](https://www.ruby-forum.com/t/nomethoderror/166291 "2009-04-24T07:45:20Z")

</div>

hi! i was trying to run a rails based app, however i am stumped by the error as shown below. i get this kind of error everywhere. for example if i click on Company information, i would get this: NoMethodError in Admi…

---

## [Suggestion for a good rails forum](https://www.ruby-forum.com/t/suggestion-for-a-good-rails-forum/145015)

<div class="topic-metadata">

**Author:** [@skirkpatrick](https://www.ruby-forum.com/u/skirkpatrick)\
**Replies:** 5\
**Last updated:** [August 11, 2008, 7:45am UTC](https://www.ruby-forum.com/t/suggestion-for-a-good-rails-forum/145015 "2008-08-11T07:45:21Z")

</div>

i’m looking for a good rails forum that will run under rails 2.0.2. i tried using altered beast but for some reason when i create the first user and click the confirmation email it never gets registered. there is no …

---

## [PHP in my instant rails](https://www.ruby-forum.com/t/php-in-my-instant-rails/124840)

<div class="topic-metadata">

**Author:** [@gemblon](https://www.ruby-forum.com/u/gemblon)\
**Replies:** 5\
**Last updated:** [January 4, 2008, 12:16am UTC](https://www.ruby-forum.com/t/php-in-my-instant-rails/124840 "2008-01-04T00:16:41Z")

</div>

why do i have phpMyAdmin in instant rails? this is a bit weird. can’t it be written in ruby?

---

## [Attachment\_fu: I just want an attachment](https://www.ruby-forum.com/t/attachment-fu-i-just-want-an-attachment/124383)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 5\
**Last updated:** [December 28, 2007, 11:25pm UTC](https://www.ruby-forum.com/t/attachment-fu-i-just-want-an-attachment/124383 "2007-12-28T23:25:30Z")

</div>

Everything I have seen about attachment\_fu seems to deal with models which are themselves attachments. I want actual attachments. In other words, I want a user profile model to have an image attachment with size con…

---

## [Add binary to gem spec?](https://www.ruby-forum.com/t/add-binary-to-gem-spec/120915)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 5\
**Last updated:** [November 22, 2007, 5:07am UTC](https://www.ruby-forum.com/t/add-binary-to-gem-spec/120915 "2007-11-22T05:07:32Z")

</div>

Hi all - I want to add a Ruby script to a gem, so that users of the gem get not just the gem itself but also a script in /opt/local/bin that they can run which packages up some of the functionality on the command line…

---

## [Problem in file uploading](https://www.ruby-forum.com/t/problem-in-file-uploading/120161)

<div class="topic-metadata">

**Author:** [@nad](https://www.ruby-forum.com/u/nad)\
**Replies:** 5\
**Last updated:** [November 16, 2007, 3:12am UTC](https://www.ruby-forum.com/t/problem-in-file-uploading/120161 "2007-11-16T03:12:50Z")

</div>

i wote a code to do file uploading with the hep given in documents in the net. but i came across some problems. in the View section the form that was wrote in th normal HTML was working 100% perfect and it uplodes th…

---

## [Fwd: Maximum Sub-Array (#131)](https://www.ruby-forum.com/t/fwd-maximum-sub-array-131/198527)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/fwd-maximum-sub-array-131/198527 "2007-09-25T23:04:11Z")

</div>

Begin forwarded message:

---

## [Thread deadlock problem](https://www.ruby-forum.com/t/thread-deadlock-problem/114305)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [September 11, 2007, 9:20pm UTC](https://www.ruby-forum.com/t/thread-deadlock-problem/114305 "2007-09-11T21:20:40Z")

</div>

I made the following test: #------------------------------------------------------------------- require ‘thread’ mutex = Mutex.new c\_produce = ConditionVariable.new c\_consume = ConditionVariable.new full = false t…

---

## [Ajax on Rails](https://www.ruby-forum.com/t/ajax-on-rails/90815)

<div class="topic-metadata">

**Author:** [@mick](https://www.ruby-forum.com/u/mick)\
**Replies:** 5\
**Last updated:** [April 4, 2007, 9:17am UTC](https://www.ruby-forum.com/t/ajax-on-rails/90815 "2007-04-04T09:17:54Z")

</div>

Hi guys, I’m starting to meddle a bit with the inbuilt Ajax functionality that Rails offers, and would like a little help of possible! I have following Ajax link: \<%= link\_to\_remote “read”, :update =\> ‘wrapper’, :url…

---

## [Render :update and script tags](https://www.ruby-forum.com/t/render-update-and-script-tags/78385)

<div class="topic-metadata">

**Author:** [@jotape](https://www.ruby-forum.com/u/jotape)\
**Replies:** 5\
**Last updated:** [December 5, 2006, 10:06pm UTC](https://www.ruby-forum.com/t/render-update-and-script-tags/78385 "2006-12-05T22:06:42Z")

</div>

Hi All! I’m kind of new o ruby so please apologize my stupid questions on advanced… I’m using render :update do |page| page.replaca\_html :element , :partial =\> ‘apartial’ end This is working well, since I see in …

---

## [Flashing validation messages](https://www.ruby-forum.com/t/flashing-validation-messages/76717)

<div class="topic-metadata">

**Author:** [@Abdullah\_J](https://www.ruby-forum.com/u/Abdullah_J)\
**Replies:** 5\
**Last updated:** [November 22, 2006, 5:41am UTC](https://www.ruby-forum.com/t/flashing-validation-messages/76717 "2006-11-22T05:41:53Z")

</div>

Hi, One thing which I’ve noticed with the default scaffold setup is that when validating the model after a post, if there are errors they are shown immediately (there is no redirect in between). I think it is always …

---

## [New Ruby Video & Ruby Search Engine](https://www.ruby-forum.com/t/new-ruby-video-ruby-search-engine/75015)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/new-ruby-video-ruby-search-engine/75015 "2006-11-07T11:08:37Z")

</div>

We’ve put together a fast paced entertaining video on Ruby on Rails which can be seen at: We’ve also created a clustered vertical search engine for both ruby & ruby on rails at http://www.railsaware.com …

---

## [Extending ActiveModel to handle multiple tables as hash](https://www.ruby-forum.com/t/extending-activemodel-to-handle-multiple-tables-as-hash/65712)

<div class="topic-metadata">

**Author:** [@Mage](https://www.ruby-forum.com/u/Mage)\
**Replies:** 5\
**Last updated:** [August 21, 2006, 12:31am UTC](https://www.ruby-forum.com/t/extending-activemodel-to-handle-multiple-tables-as-hash/65712 "2006-08-21T00:31:44Z")

</div>

Hello, I am just introducing myself to Rails. Please let me know if the above method is acceptable or if it is not efficient. I have three tables: create table users ( id bigserial primary key, username varchar, p…

---

## [Rails destroys rdoc...again](https://www.ruby-forum.com/t/rails-destroys-rdoc-again/96334)

<div class="topic-metadata">

**Author:** [@carmen](https://www.ruby-forum.com/u/carmen)\
**Replies:** 5\
**Last updated:** [June 29, 2006, 1:04am UTC](https://www.ruby-forum.com/t/rails-destroys-rdoc-again/96334 "2006-06-29T01:04:46Z")

</div>

for many versions of ruby, and as many versions of rails, ive been unable to generate docs without deleting this file: lib/rails\_generator/generators/components/controller/templates/controller.rb ruby just chews more …

---

## [Recommend a hosting company?](https://www.ruby-forum.com/t/recommend-a-hosting-company/79928)

<div class="topic-metadata">

**Author:** [@albino\_squirrel](https://www.ruby-forum.com/u/albino_squirrel)\
**Replies:** 5\
**Last updated:** [March 13, 2006, 10:51am UTC](https://www.ruby-forum.com/t/recommend-a-hosting-company/79928 "2006-03-13T10:51:04Z")

</div>

Hi Folks, I have an idea for a website. I want to develop it using Ruby on Rails, so ultimately I’ll need a website hosting company. I’m going to be putting together a different take on the various websites that host…

---

## [RailsCron: error message](https://www.ruby-forum.com/t/railscron-error-message/70731)

<div class="topic-metadata">

**Author:** [@Van\_Vo](https://www.ruby-forum.com/u/Van_Vo)\
**Replies:** 5\
**Last updated:** [February 23, 2006, 7:07pm UTC](https://www.ruby-forum.com/t/railscron-error-message/70731 "2006-02-23T19:07:25Z")

</div>

Hi, I’m trying to use RailsCron but keeping getting an error when I try to run it. I’m a beginner, so please use small words :slight\_smile: -bash-2.05b$ rake cron\_start (in /home/jake/rails\_sites/testsite) Syntax …

---

## [Search Forms with Pagination](https://www.ruby-forum.com/t/search-forms-with-pagination/72354)

<div class="topic-metadata">

**Author:** [@Jamie\_van\_Dyke](https://www.ruby-forum.com/u/Jamie_van_Dyke)\
**Replies:** 5\
**Last updated:** [February 23, 2006, 6:12pm UTC](https://www.ruby-forum.com/t/search-forms-with-pagination/72354 "2006-02-23T18:12:46Z")

</div>

Hi there everyone, I’ve recently moved to RoR and am still struggling with the basics of what used to be second nature in php, so on with my question: I have a database with products, and I need to create a search for…

---

## [Date formatting error](https://www.ruby-forum.com/t/date-formatting-error/70057)

<div class="topic-metadata">

**Author:** [@sams](https://www.ruby-forum.com/u/sams)\
**Replies:** 5\
**Last updated:** [February 18, 2006, 7:26pm UTC](https://www.ruby-forum.com/t/date-formatting-error/70057 "2006-02-18T19:26:28Z")

</div>

Hi All, I’m a bit stumped. All I’m trying to do is format a date and I get an error. Details below. I have a partial to list all “notes” associated with a “client” with the following code. \<% for note in @client.n…

---

## [Devise gem in rails app sent email for un confirmed user](https://www.ruby-forum.com/t/devise-gem-in-rails-app-sent-email-for-un-confirmed-user/234627)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 18, 2015, 3:11pm UTC](https://www.ruby-forum.com/t/devise-gem-in-rails-app-sent-email-for-un-confirmed-user/234627 "2015-03-18T15:11:48Z")

</div>

Signup with the app it sent me email for activate the account , did not activate the account and click on reset password link it sent the email and then sent me error message , why it is allowing to sent rest password …

---

## [Distribute windows ruby app](https://www.ruby-forum.com/t/distribute-windows-ruby-app/221085)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [March 21, 2014, 11:56pm UTC](https://www.ruby-forum.com/t/distribute-windows-ruby-app/221085 "2014-03-21T23:56:04Z")

</div>

Hello all. I’m familiar with “ruby2exe” or “OCRA” or the like, that basically zip up your ruby interpreter, with its ruby files, then unzip it “on the fly” when it is run. What I’m looking for is more of an InnoSetup…

---

## [Adding meta-sdr to openembedded](https://www.ruby-forum.com/t/adding-meta-sdr-to-openembedded/239778)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 14, 2014, 2:47am UTC](https://www.ruby-forum.com/t/adding-meta-sdr-to-openembedded/239778 "2014-03-14T02:47:15Z")

</div>

I have a basic bblayers.conf with one layer BBLAYERS ?= " /home/rcagley/oe-zed/openembedded-core/meta " I’ve initialized the build system . ./oe-init-build-env …/build/ …/bitbake/ and then I’ve bitbaked bitbake …

---

## [Rspec contribution at railsconf?](https://www.ruby-forum.com/t/rspec-contribution-at-railsconf/206368)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 2, 2011, 3:49pm UTC](https://www.ruby-forum.com/t/rspec-contribution-at-railsconf/206368 "2011-05-02T15:49:23Z")

</div>

Hi, I was curious if there was any interest in organizing a ‘bugmash’, if you will, of any outstanding rspec features or issues during railsconf. (maybe there is something planned that i missed?) I’m not sure how m…

---

## [EventMachine & EM.defer](https://www.ruby-forum.com/t/eventmachine-em-defer/201993)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 20, 2011, 1:35am UTC](https://www.ruby-forum.com/t/eventmachine-em-defer/201993 "2011-01-20T01:35:37Z")

</div>

I’m stuck using EM.defer. I am trying to use EM.defer simply to thread a bunch of processing for now (more complicated plans, but this is the problem so the use case is simplified). I have it deferring and threading, …

---

## [Test/unit.rb:44: warning: instance variable @init\_hook not initialized](https://www.ruby-forum.com/t/test-unit-rb-warning-instance-variable-init-hook-not-initialized/193049)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 1\
**Last updated:** [August 12, 2010, 4:41pm UTC](https://www.ruby-forum.com/t/test-unit-rb-warning-instance-variable-init-hook-not-initialized/193049 "2010-08-12T16:41:31Z")

</div>

e$B0J2\<$N$h$&$K$9$k$H!"e(Btest/unit.rb:44 e$B$G7Y9p$,=P$k$s$G$9$,!"e(B e$B$I$&$d$C$?$i$&$^$/\>C$;$^$9$+$M!#e(B % ./ruby -Ilib -v test/ruby/test\_condition.rb ruby 1.9.3dev (2010-08-10 trunk 28953) \[i686-linux\] /home/ru…

---

## [In Ruby, how does coerce() actually work?](https://www.ruby-forum.com/t/in-ruby-how-does-coerce-actually-work/188307)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 1\
**Last updated:** [May 10, 2010, 3:14pm UTC](https://www.ruby-forum.com/t/in-ruby-how-does-coerce-actually-work/188307 "2010-05-10T15:14:13Z")

</div>

It is said that when we have a class Point and knows how to perform point \* 3 like the following: class Point def initialize(x,y) @x, @y = x, y end def \*(c) Point.new(@x \* c, @y \* c) end end point =…

---

## ['Are you sure?' custom dialog not exiting cleanly](https://www.ruby-forum.com/t/are-you-sure-custom-dialog-not-exiting-cleanly/179572)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 1\
**Last updated:** [November 28, 2009, 11:07pm UTC](https://www.ruby-forum.com/t/are-you-sure-custom-dialog-not-exiting-cleanly/179572 "2009-11-28T23:07:50Z")

</div>

The following program does not exit cleanly after pressing ‘Yes’ when asked ‘Are you sure’? How do I free up the resources after exiting? You can use wxsugar (xrcise) to try out this mini program if you wish to cr…

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

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