# Top

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

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

---

## [Gsub?](https://www.ruby-forum.com/t/gsub/113558)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 2\
**Last updated:** [September 2, 2007, 8:31am UTC](https://www.ruby-forum.com/t/gsub/113558 "2007-09-02T08:31:25Z")

</div>

I don’t manage very well the gsub function, not too bad with simple one, but when it comes to string containing slashes, I totally mess it… my string can be srt = “/cities/31550/posts;search” and I would like 1- de…

---

## [Using :joins gives me the wrong id](https://www.ruby-forum.com/t/using-joins-gives-me-the-wrong-id/109993)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [July 21, 2007, 6:49pm UTC](https://www.ruby-forum.com/t/using-joins-gives-me-the-wrong-id/109993 "2007-07-21T18:49:54Z")

</div>

Hi, I have a bit of code like so: @city = City.find(params\[:id\]) @event\_pages, @events = paginate :events, :per\_page =\> 10, :joins =\> \[“inner join locations on events.location\_id = locations.id”\], :conditions =\> \[“…

---

## [\[ANN\] ApÃ©ro Ruby par Paris.rb (groupe local de Ruby France](https://www.ruby-forum.com/t/ann-apa-ro-ruby-par-paris-rb-groupe-local-de-ruby-france/108356)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois](https://www.ruby-forum.com/u/Jean-FranSSSSois)\
**Replies:** 2\
**Last updated:** [July 2, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/ann-apa-ro-ruby-par-paris-rb-groupe-local-de-ruby-france/108356 "2007-07-02T22:08:08Z")

</div>

Bonjour, Paris.rb, groupe local parisien/francilien de l’association Ruby France, organise un apéro avec Squeak Fr, utilisateurs français de Squeak/Smalltalk. Cette rencontre se déroulera demain mardi 3 juillet 2007, …

---

## [Passing parameters from rhtml to rjs](https://www.ruby-forum.com/t/passing-parameters-from-rhtml-to-rjs/107667)

<div class="topic-metadata">

**Author:** [@thekernel](https://www.ruby-forum.com/u/thekernel)\
**Replies:** 2\
**Last updated:** [June 25, 2007, 4:31am UTC](https://www.ruby-forum.com/t/passing-parameters-from-rhtml-to-rjs/107667 "2007-06-25T04:31:30Z")

</div>

I need some parameters to go from my rhtml to my rjs. Anyone know how to do this? – Amos K. A. King Software Development and Consulting, L.C. http://dirtyInformation.com Looking for something to do? Visit http://…

---

## [Unit tests breaks with sqlite](https://www.ruby-forum.com/t/unit-tests-breaks-with-sqlite/105775)

<div class="topic-metadata">

**Author:** [@Nexos](https://www.ruby-forum.com/u/Nexos)\
**Replies:** 2\
**Last updated:** [June 3, 2007, 9:19am UTC](https://www.ruby-forum.com/t/unit-tests-breaks-with-sqlite/105775 "2007-06-03T09:19:23Z")

</div>

Hi, I’m using an sqlite3 database with Rails and have some trouble running unit tests What I’ve done is rails my\_app edited database.yml to use sqlite3 adapter, db/my\_app\_development and db/my\_app\_test ruby …

---

## [Error messages without a model](https://www.ruby-forum.com/t/error-messages-without-a-model/92972)

<div class="topic-metadata">

**Author:** [@nielsene](https://www.ruby-forum.com/u/nielsene)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 2:04pm UTC](https://www.ruby-forum.com/t/error-messages-without-a-model/92972 "2007-04-26T14:04:23Z")

</div>

Is there an easy way to create error messages and display them in the view without using a model from ActiveRecord. I just quickly added a temporary new field to a form that I have no desire to store in the db and wil…

---

## [Concurrency, Performance Modeling, Rinda and CiteULike](https://www.ruby-forum.com/t/concurrency-performance-modeling-rinda-and-citeulike/92625)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 2\
**Last updated:** [April 24, 2007, 3:36am UTC](https://www.ruby-forum.com/t/concurrency-performance-modeling-rinda-and-citeulike/92625 "2007-04-24T03:36:18Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have just discovered CiteULike. It’s sort of a del.icio.us for academics, and it collects a web-based library of academic papers. My URL there is http://www.citeulike.o…

---

## [Continue execution when TEST::UNIT assertion fails](https://www.ruby-forum.com/t/continue-execution-when-test-unit-assertion-fails/92153)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 2\
**Last updated:** [April 17, 2007, 12:28am UTC](https://www.ruby-forum.com/t/continue-execution-when-test-unit-assertion-fails/92153 "2007-04-17T00:28:54Z")

</div>

Hi, Is is possible not to halt the execution of a ruby script when an TEST::UNIT assertion fails? cheers aidy

---

## [Gem install error](https://www.ruby-forum.com/t/gem-install-error/89160)

<div class="topic-metadata">

**Author:** [@keith](https://www.ruby-forum.com/u/keith)\
**Replies:** 2\
**Last updated:** [March 18, 2007, 1:16am UTC](https://www.ruby-forum.com/t/gem-install-error/89160 "2007-03-18T01:16:22Z")

</div>

ERROR: While executing gem … (OpenURI::HTTPError) 404 Not Found I receive the error above when I try and install Radiant on Site 5 - any ideas?? Keith

---

## [Eclipse and vss plugin](https://www.ruby-forum.com/t/eclipse-and-vss-plugin/85835)

<div class="topic-metadata">

**Author:** [@parvg](https://www.ruby-forum.com/u/parvg)\
**Replies:** 2\
**Last updated:** [March 15, 2007, 12:34pm UTC](https://www.ruby-forum.com/t/eclipse-and-vss-plugin/85835 "2007-03-15T12:34:01Z")

</div>

I apologize as this may/is not be a ruby question. Is anybody using eclipse and vss plugin to do their ruby work? If yes, is there any configuration you need to perform. I have installed the VSS plugin for eclipse. …

---

## [RFX400 modifications](https://www.ruby-forum.com/t/rfx400-modifications/86635)

<div class="topic-metadata">

**Author:** [@Vincenzo\_P](https://www.ruby-forum.com/u/Vincenzo_P)\
**Replies:** 2\
**Last updated:** [February 23, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/rfx400-modifications/86635 "2007-02-23T23:10:11Z")

</div>

Hi Matt, could you please detail to me the modification needed to use the following feature of the RFX400 quote: " Additionally, minor modifications to the board can move receive ports.the frequency range to anywhe…

---

## [Help with an error with tinymce (installation)](https://www.ruby-forum.com/t/help-with-an-error-with-tinymce-installation/85946)

<div class="topic-metadata">

**Author:** [@usser](https://www.ruby-forum.com/u/usser)\
**Replies:** 2\
**Last updated:** [February 19, 2007, 11:24pm UTC](https://www.ruby-forum.com/t/help-with-an-error-with-tinymce-installation/85946 "2007-02-19T23:24:04Z")

</div>

hi, i’m trying to install tinymce following the wiki, so i’ve done svn propedit svn:externals vendor/plugins into the tmp saved tiny\_mce https://secure.near-time.com/svn/plugins/trunk/tiny\_mce but it say this $ svn…

---

## [Testing RJS actions](https://www.ruby-forum.com/t/testing-rjs-actions/84678)

<div class="topic-metadata">

**Author:** [@fbeausoleil](https://www.ruby-forum.com/u/fbeausoleil)\
**Replies:** 2\
**Last updated:** [February 7, 2007, 3:55am UTC](https://www.ruby-forum.com/t/testing-rjs-actions/84678 "2007-02-07T03:55:42Z")

</div>

Hi all ! This is my test: def test\_destroy\_xhr Article.expects(:find).with(“1”).returns(@article = mock(“article”)) @article.expects(:destroy).returns(true) delete :destroy, :id =\> 1, :format =\> :js assert\_template…

---

## [Question for method\_missing](https://www.ruby-forum.com/t/question-for-method-missing/84366)

<div class="topic-metadata">

**Author:** [@mr\_brownstone](https://www.ruby-forum.com/u/mr_brownstone)\
**Replies:** 2\
**Last updated:** [February 3, 2007, 7:10pm UTC](https://www.ruby-forum.com/t/question-for-method-missing/84366 "2007-02-03T19:10:06Z")

</div>

Well, I want to make a method that return a model through a session. For example. When I call “obj = session\_object\_Usuario”, return a model Usuario, through session “usuario\_id”. I think about something as: def metho…

---

## [Manejar espacios en mÃ©todo link\_to](https://www.ruby-forum.com/t/manejar-espacios-en-ma-todo-link-to/83169)

<div class="topic-metadata">

**Author:** [@moctan](https://www.ruby-forum.com/u/moctan)\
**Replies:** 2\
**Last updated:** [January 24, 2007, 1:06am UTC](https://www.ruby-forum.com/t/manejar-espacios-en-ma-todo-link-to/83169 "2007-01-24T01:06:48Z")

</div>

LlamÃ³ al mÃ©todo link\_to, contenido en una tabla : \<%= link\_to " Cheques de todas las cuentas ", :action =\> “todas” %\> Para evitar que los espacios entre las palabras me generÃ© un brinco de linea, la manera mÃ¡s co…

---

## [How to add a new page attribute?](https://www.ruby-forum.com/t/how-to-add-a-new-page-attribute/81056)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 2\
**Last updated:** [January 4, 2007, 11:06am UTC](https://www.ruby-forum.com/t/how-to-add-a-new-page-attribute/81056 "2007-01-04T11:06:16Z")

</div>

Hello list, is it possible to add a new page attribute (Radiant version 0.52) in generally? If so, what’s the best way to achieve that? I want to use the new page attribute called ‘event\_order’ this way: \<r:children:…

---

## [Ssl with subdomains](https://www.ruby-forum.com/t/ssl-with-subdomains/74841)

<div class="topic-metadata">

**Author:** [@lundie](https://www.ruby-forum.com/u/lundie)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 10:59am UTC](https://www.ruby-forum.com/t/ssl-with-subdomains/74841 "2006-11-07T10:59:09Z")

</div>

Hi, I am writing an application that uses subdomains for the different customers that access it. For example company1.mydomain.com and company2.mydomain.com. I need to have portions of the application under ssl. I ha…

---

## [Select selected not working](https://www.ruby-forum.com/t/select-selected-not-working/74333)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 2\
**Last updated:** [November 4, 2006, 7:26pm UTC](https://www.ruby-forum.com/t/select-selected-not-working/74333 "2006-11-04T19:26:20Z")

</div>

Hi all, I have this very simple code: \<% for country in @countries -%\> \<% if country.id == @user.country %\> \<%= country.name %\> \<% else %\> \<%= country.name %\> \<% end %\> \<% end -%\> this produces a list of countryn…

---

## [Problem with caches\_page of action sending data](https://www.ruby-forum.com/t/problem-with-caches-page-of-action-sending-data/74290)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [November 4, 2006, 8:50am UTC](https://www.ruby-forum.com/t/problem-with-caches-page-of-action-sending-data/74290 "2006-11-04T08:50:05Z")

</div>

Hi all My current projekt needs a feature where my client can upload some pictures. For simplicity I just want to store them in the DB because this is easier to maintain (backup, restore etc.) and it’s really only a …

---

## [Best way to use ERb in a JavaScript file?](https://www.ruby-forum.com/t/best-way-to-use-erb-in-a-javascript-file/65636)

<div class="topic-metadata">

**Author:** [@xavi](https://www.ruby-forum.com/u/xavi)\
**Replies:** 2\
**Last updated:** [August 22, 2006, 11:09am UTC](https://www.ruby-forum.com/t/best-way-to-use-erb-in-a-javascript-file/65636 "2006-08-22T11:09:26Z")

</div>

I am currently naming my JavaScript files with the extension .rhtml just to be able of using ERb in them (“If the template file has a +.rhtml+ extension then it uses a mixture of ERb (included in Ruby) and HTML”, Peak…

---

## [Help with method\_missing in ActiveRecord](https://www.ruby-forum.com/t/help-with-method-missing-in-activerecord/101563)

<div class="topic-metadata">

**Author:** [@Hammed\_M](https://www.ruby-forum.com/u/Hammed_M)\
**Replies:** 2\
**Last updated:** [August 6, 2006, 7:28am UTC](https://www.ruby-forum.com/t/help-with-method-missing-in-activerecord/101563 "2006-08-06T07:28:26Z")

</div>

I am serializing a data object (FooData) into an ActiveRecord column (Foo). I’d like to be able to do delegate methods to the data class if the Foo class doesn’t have that attribute. So instead of: f = Foo.new f.dat…

---

## [Snippet hierarchy](https://www.ruby-forum.com/t/snippet-hierarchy/97593)

<div class="topic-metadata">

**Author:** [@Maurizio\_B](https://www.ruby-forum.com/u/Maurizio_B)\
**Replies:** 2\
**Last updated:** [August 3, 2006, 2:24pm UTC](https://www.ruby-forum.com/t/snippet-hierarchy/97593 "2006-08-03T14:24:15Z")

</div>

Working on mostly multi-lingual web sites, I’m finding it would be very useful to be able to organize snippets in a hierarchical way as we do for pages. For example every time I need a navigation menu snippet, I need …

---

## [Using Classes in Rails](https://www.ruby-forum.com/t/using-classes-in-rails/59214)

<div class="topic-metadata">

**Author:** [@psethi2000](https://www.ruby-forum.com/u/psethi2000)\
**Replies:** 2\
**Last updated:** [May 3, 2006, 6:58pm UTC](https://www.ruby-forum.com/t/using-classes-in-rails/59214 "2006-05-03T18:58:17Z")

</div>

I am a beginner so please excuse me, if i am doing something totally wrong. I have created a class and here is what it looks like: class ServiceSoap \< ::soap::RPC::Driver DefaultEndpointUrl = “http://balrog/services…

---

## [Pagination and routes problem](https://www.ruby-forum.com/t/pagination-and-routes-problem/58404)

<div class="topic-metadata">

**Author:** [@mrtnhndrkx](https://www.ruby-forum.com/u/mrtnhndrkx)\
**Replies:** 2\
**Last updated:** [April 21, 2006, 1:22pm UTC](https://www.ruby-forum.com/t/pagination-and-routes-problem/58404 "2006-04-21T13:22:12Z")

</div>

Hi, I have the following problem, my pagination links do not work. At the bottom of my blog the links say: http://myblog/?page=2, ?page=3, … But they don’t seem to work. When I add the name of the controller, they d…

---

## [Recommend a good CSS forum?](https://www.ruby-forum.com/t/recommend-a-good-css-forum/56680)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 2\
**Last updated:** [April 2, 2006, 7:40pm UTC](https://www.ruby-forum.com/t/recommend-a-good-css-forum/56680 "2006-04-02T19:40:23Z")

</div>

Hi folks, I’m curious if anyone can recommend a good CSS forum, mailing list or users group, similar to this Rails list. I’ve found this list incredibly friendly and useful, and I’d like to find a forum to seek and …

---

## [Where i can download docs for offline reference?](https://www.ruby-forum.com/t/where-i-can-download-docs-for-offline-reference/54829)

<div class="topic-metadata">

**Author:** [@Kfir\_L](https://www.ruby-forum.com/u/Kfir_L)\
**Replies:** 2\
**Last updated:** [March 14, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/where-i-can-download-docs-for-offline-reference/54829 "2006-03-14T18:32:49Z")

</div>

I have seen the testing doc or the FAQ on ROR site, but is there a zip file for it?

---

## [Relationship woes](https://www.ruby-forum.com/t/relationship-woes/54760)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 2\
**Last updated:** [March 14, 2006, 5:13pm UTC](https://www.ruby-forum.com/t/relationship-woes/54760 "2006-03-14T17:13:14Z")

</div>

I have two tables: class PgmUpdate \< ActiveRecord::Base has\_many :pgm\_visits, :foreign\_key =\> ‘pgm\_update\_fk’ … and class PgmVisit \< ActiveRecord::Base belongs\_to :pgm\_update, :foreign\_key =\> ‘pgm\_update\_fk’, :dep…

---

## [Freeze and hash](https://www.ruby-forum.com/t/freeze-and-hash/54684)

<div class="topic-metadata">

**Author:** [@SchSSS\_le\_Daniel](https://www.ruby-forum.com/u/SchSSS_le_Daniel)\
**Replies:** 2\
**Last updated:** [March 13, 2006, 2:04am UTC](https://www.ruby-forum.com/t/freeze-and-hash/54684 "2006-03-13T02:04:05Z")

</div>

Hello irb(main):069:0\* a = Hash.new(\[\]) =\> {} irb(main):070:0\> a\[1\] \<\< “X” =\> \[“X”\] irb(main):071:0\> a.freeze =\> {} irb(main):072:0\> a.frozen? =\> true irb(main):073:0\> b = a.dup =\> {} irb(main):074:0\> b.frozen…

---

## [Customizing Gtk::Calendar](https://www.ruby-forum.com/t/customizing-gtk-calendar/79117)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 2\
**Last updated:** [March 9, 2006, 9:05pm UTC](https://www.ruby-forum.com/t/customizing-gtk-calendar/79117 "2006-03-09T21:05:44Z")

</div>

Hi, Is it possible to customize Gtk::Calendar to look something like this? Nederlandse Palmclub: pagina niet gevonden (404 - File Not Found) If not, any suggestions (other than writing a widget from scratch)? Thanks! …

---

## [Auto\_complete on steroids](https://www.ruby-forum.com/t/auto-complete-on-steroids/73383)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 2\
**Last updated:** [February 26, 2006, 6:23am UTC](https://www.ruby-forum.com/t/auto-complete-on-steroids/73383 "2006-02-26T06:23:46Z")

</div>

I am trying to get more out of auto\_complete than it apparently was designed to deliver. My problems seem to be two fold. 1 - I use aggregations on names… :first\_name, :middle\_initial, :last\_name and then aggregate …

---

## [Creating a model that acts as a settings manager](https://www.ruby-forum.com/t/creating-a-model-that-acts-as-a-settings-manager/89619)

<div class="topic-metadata">

**Author:** [@SSSISO-8859-1SQSIvS](https://www.ruby-forum.com/u/SSSISO-8859-1SQSIvS)\
**Replies:** 2\
**Last updated:** [January 6, 2006, 2:04am UTC](https://www.ruby-forum.com/t/creating-a-model-that-acts-as-a-settings-manager/89619 "2006-01-06T02:04:08Z")

</div>

Hi, I was wondering how could you create a model that is tied to all the records in one table, and retrieves the values of all records on first load, and also handles the updating of its values. For example, suppose …

---

## [Who/What is making my field backgrounds yellow?](https://www.ruby-forum.com/t/who-what-is-making-my-field-backgrounds-yellow/74225)

<div class="topic-metadata">

**Author:** [@ewildgoose](https://www.ruby-forum.com/u/ewildgoose)\
**Replies:** 2\
**Last updated:** [December 21, 2005, 6:35pm UTC](https://www.ruby-forum.com/t/who-what-is-making-my-field-backgrounds-yellow/74225 "2005-12-21T18:35:36Z")

</div>

On certain fields in my rails forms the backgrounds are yellow. If I check the page source there is no clue as to why. However, if I save the page to disk and then open it in a text editor I can see that the affecte…

---

## [Validation that works in the controller](https://www.ruby-forum.com/t/validation-that-works-in-the-controller/72307)

<div class="topic-metadata">

**Author:** [@Colin\_JN\_Breame](https://www.ruby-forum.com/u/Colin_JN_Breame)\
**Replies:** 2\
**Last updated:** [December 19, 2005, 4:41pm UTC](https://www.ruby-forum.com/t/validation-that-works-in-the-controller/72307 "2005-12-19T16:41:53Z")

</div>

Hi, Is there a way of validating input inside the controller? or an equivalent to ActiveRecord::Validations::ClassMethods.validates\_presence\_of ? Cheers, – Colin

---

## [Is there any relevant difference between require and require](https://www.ruby-forum.com/t/is-there-any-relevant-difference-between-require-and-require/49296)

<div class="topic-metadata">

**Author:** [@lasso](https://www.ruby-forum.com/u/lasso)\
**Replies:** 2\
**Last updated:** [December 2, 2005, 3:31pm UTC](https://www.ruby-forum.com/t/is-there-any-relevant-difference-between-require-and-require/49296 "2005-12-02T15:31:08Z")

</div>

Hi all! When using Rubygems, is there any relevant difference between using require and require\_gem (aside from the versioning possibilities)? According to the docs require searches the standard library first. Is thi…

---

## [Random gauss numbers?](https://www.ruby-forum.com/t/random-gauss-numbers/49118)

<div class="topic-metadata">

**Author:** [@uval](https://www.ruby-forum.com/u/uval)\
**Replies:** 2\
**Last updated:** [November 30, 2005, 5:49am UTC](https://www.ruby-forum.com/t/random-gauss-numbers/49118 "2005-11-30T05:49:57Z")

</div>

Hello all, how can I generate random Gaussian distributed numbers? something like Gauss(mean, sigma) thx in advance Daniel

---

## [Please help me to complete this task how i start?](https://www.ruby-forum.com/t/please-help-me-to-complete-this-task-how-i-start/209654)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [July 22, 2011, 11:52am UTC](https://www.ruby-forum.com/t/please-help-me-to-complete-this-task-how-i-start/209654 "2011-07-22T11:52:42Z")

</div>

There is Company which builds products(Consider this company a software company). These Products can have some Documents (PDF or HTML format uploaded some where online you can store links to these documents in databa…

---

## [A few questions before i start to programm](https://www.ruby-forum.com/t/a-few-questions-before-i-start-to-programm/189204)

<div class="topic-metadata">

**Author:** [@roelof](https://www.ruby-forum.com/u/roelof)\
**Replies:** 6\
**Last updated:** [May 28, 2010, 9:26am UTC](https://www.ruby-forum.com/t/a-few-questions-before-i-start-to-programm/189204 "2010-05-28T09:26:58Z")

</div>

Hello, I want to learn ruby. As a learning experience I want to write a programm which people can put the results of games in a tournament. The programm produces which team is first and so on. My question is : Ar…

---

## [Using secure memory](https://www.ruby-forum.com/t/using-secure-memory/183731)

<div class="topic-metadata">

**Author:** [@cpeterson](https://www.ruby-forum.com/u/cpeterson)\
**Replies:** 6\
**Last updated:** [February 20, 2010, 1:46am UTC](https://www.ruby-forum.com/t/using-secure-memory/183731 "2010-02-20T01:46:21Z")

</div>

I’m writing a utility that needs to use secure memory (that is, won’t swap to disk). Is there a “best practices” way to do this with Ruby, some common library that could be used for this purpose, et cetera? Thanks in…

---

## [4th Annual RejectConf Videos](https://www.ruby-forum.com/t/4th-annual-rejectconf-videos/120440)

<div class="topic-metadata">

**Author:** [@Coby\_Randquist](https://www.ruby-forum.com/u/Coby_Randquist)\
**Replies:** 6\
**Last updated:** [November 18, 2007, 4:28am UTC](https://www.ruby-forum.com/t/4th-annual-rejectconf-videos/120440 "2007-11-18T04:28:49Z")

</div>

The 4th Annual Reject Conf Videos are now posted at http://rejectconf4.confreaks.com. The rest of the RubyConf 2007 will be arriving in the near future. Thanks, -Coby Randquist Confreaks, LLC

---

## [Problem after scaffolding](https://www.ruby-forum.com/t/problem-after-scaffolding/114960)

<div class="topic-metadata">

**Author:** [@warlock\_handler](https://www.ruby-forum.com/u/warlock_handler)\
**Replies:** 6\
**Last updated:** [September 19, 2007, 1:52pm UTC](https://www.ruby-forum.com/t/problem-after-scaffolding/114960 "2007-09-19T13:52:47Z")

</div>

hi guys, I am having problems after scaffolding I created a db called “requests” and when i tried to execute the command script/generate scaffold request It gave me an error please make sure you have a database requ…

---

## [Not putting correctly in array](https://www.ruby-forum.com/t/not-putting-correctly-in-array/264701)

<div class="topic-metadata">

**Author:** [@cloa513](https://www.ruby-forum.com/u/cloa513)\
**Replies:** 0\
**Last updated:** [March 28, 2024, 8:33am UTC](https://www.ruby-forum.com/t/not-putting-correctly-in-array/264701 "2024-03-28T08:33:59Z")

</div>

ptl=\[\[0,3\],\[1,5\],\[2\],\[3,14\],\[4,0\],\[5,0\],\[6,15\],\[7,9\],\[8,7\],\[9,11\],\[10,16\],\[11,6\],\[12\],\[13,9\],\[14\],\[15,14\]\] ps=ptl.sample(3) types=Array(0..20) pt=(ps\[0\]+ps\[1\]+ps\[2\]) for i in 0..pt.length() …

---

## [Setting custom timezone for config.active\_record.default\_timezone](https://www.ruby-forum.com/t/setting-custom-timezone-for-config-active-record-default-timezone/244181)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [March 2, 2016, 8:09am UTC](https://www.ruby-forum.com/t/setting-custom-timezone-for-config-active-record-default-timezone/244181 "2016-03-02T08:09:38Z")

</div>

I’m using a Rails application to access a database from a legacy application. This application stores all datetime fields using Europe/Madrid timezone. From what I’ve seem, it’s only possible to set config.active\_rec…

---

## [GNU Radio Raspberry pi](https://www.ruby-forum.com/t/gnu-radio-raspberry-pi/243327)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 16, 2015, 5:44pm UTC](https://www.ruby-forum.com/t/gnu-radio-raspberry-pi/243327 "2015-09-16T17:44:21Z")

</div>

Hello, I’m trying to get a signal strength value (RSSI) from one specific frequency through a RTL2832 USB stick. I’m trying to do all this at an Raspberry pi, with Debian 7. GNU radio itself is installed and it is sh…

---

## [\[URGENT JOB OFFER\] Ruby on Rails/Engine Yard](https://www.ruby-forum.com/t/urgent-job-offer-ruby-on-rails-engine-yard/233674)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 5, 2015, 2:49pm UTC](https://www.ruby-forum.com/t/urgent-job-offer-ruby-on-rails-engine-yard/233674 "2015-01-05T14:49:38Z")

</div>

Hi \*, Sorry for posting to such a wide audience, but we are really in a rush and need urgent help. We’re looking for a Rails developer with experience deploying to Engine Y. who can help with an urgent issue regardin…

---

## [Ruby -c and ripper inconsistency: /(?\<n\>a(b|\\g\<n\>))/](https://www.ruby-forum.com/t/ruby-c-and-ripper-inconsistency-n-a-b-g-n/233278)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 30, 2014, 2:18pm UTC](https://www.ruby-forum.com/t/ruby-c-and-ripper-inconsistency-n-a-b-g-n/233278 "2014-11-30T14:18:40Z")

</div>

Issue #10543 has been updated by Tomoyuki C… Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED it seems introduced at r48504. Bug #10543: ruby -c and ripper inconsistency: /(?a(b|\\…

---

## [Views](https://www.ruby-forum.com/t/views/224325)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 7, 2012, 5:17pm UTC](https://www.ruby-forum.com/t/views/224325 "2012-11-07T17:17:03Z")

</div>

Hi everybody! I’m new at ruby on rails, I’m trying to create a view like this: %= semantic\_form\_for :routes\_status\_race, :url =\> status\_race\_admin\_routes\_path do |f| %\> \<% contact\_array = Contact.all.map {|contac…

---

## [Writing ruby simple restaurant finder](https://www.ruby-forum.com/t/writing-ruby-simple-restaurant-finder/221722)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 29, 2012, 4:16am UTC](https://www.ruby-forum.com/t/writing-ruby-simple-restaurant-finder/221722 "2012-07-29T04:16:05Z")

</div>

Hello, I just finished the Ruby essential Training course I want to know how to write a very simple script for Restaurant Finder using the command line only if possible? Features needed: User asked to input 1- rest…

---

## [Slide Show (S9) 1.2.1 Update - Quick Starter Templates, Takahashi, etc](https://www.ruby-forum.com/t/slide-show-s9-1-2-1-update-quick-starter-templates-takahashi-etc/221040)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 29, 2012, 9:57am UTC](https://www.ruby-forum.com/t/slide-show-s9-1-2-1-update-quick-starter-templates-takahashi-etc/221040 "2012-06-29T09:57:07Z")

</div>

Hello, I’ve uploaded a new slideshow gem (aka Slide Show (S9)), that is, v1.2.1. What’s Slide Show (S9)? A Ruby gem that lets you create slide shows and author slides in plain text using a wiki-style markup language…

---

## [Assert\_equal (\_\_), \[:b, :q\]](https://www.ruby-forum.com/t/assert-equal-b-q/219394)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 1, 2012, 10:56pm UTC](https://www.ruby-forum.com/t/assert-equal-b-q/219394 "2012-05-01T22:56:29Z")

</div>

This is part of a online ruby quiz. Just doing it for my own education, not on a test that I’m graded on. assert\_equal (\[:r, :u, :b, :e, :q, :u, :e\] \_\_), \[:b, :q\] I don’t understand the above because the blank is not…

---

## [Problem of reinstalling ucla\_zigbee\_phy: no libgruel.la](https://www.ruby-forum.com/t/problem-of-reinstalling-ucla-zigbee-phy-no-libgruel-la/218163)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 23, 2012, 4:38pm UTC](https://www.ruby-forum.com/t/problem-of-reinstalling-ucla-zigbee-phy-no-libgruel-la/218163 "2012-03-23T16:38:08Z")

</div>

Hi all, I changed something in the ucla\_zigbee library and want to reinstall it. But when I doing make, the following error occurred. /bin/grep: /usr/lib/libgruel.la: No such file or directory /usr/bin/sed: can’t rea…

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

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