# Top

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

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

---

## [Date time subtraction](https://www.ruby-forum.com/t/date-time-subtraction/171399)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 3\
**Last updated:** [July 1, 2009, 8:00pm UTC](https://www.ruby-forum.com/t/date-time-subtraction/171399 "2009-07-01T20:00:44Z")

</div>

Hi, I am trying to do a subtraction of the date and time in the format below with the current date and time “2009-07-01 18:24:20” Will I need to tokenise this string and do individual number comparisons? Thanks Ai…

---

## [Routing, use parts of entered url as id / perma](https://www.ruby-forum.com/t/routing-use-parts-of-entered-url-as-id-perma/170505)

<div class="topic-metadata">

**Author:** [@ZoolWay](https://www.ruby-forum.com/u/ZoolWay)\
**Replies:** 3\
**Last updated:** [June 18, 2009, 5:59pm UTC](https://www.ruby-forum.com/t/routing-use-parts-of-entered-url-as-id-perma/170505 "2009-06-18T17:59:59Z")

</div>

Hello, I just started ruby on rails a week ago and know cannot find any information which helps me for my desired routing. At the moment I cannot image that this should be too hard. I’d like to use urls like the foll…

---

## [Beginner question](https://www.ruby-forum.com/t/beginner-question/168452)

<div class="topic-metadata">

**Author:** [@calvin](https://www.ruby-forum.com/u/calvin)\
**Replies:** 3\
**Last updated:** [May 21, 2009, 9:35pm UTC](https://www.ruby-forum.com/t/beginner-question/168452 "2009-05-21T21:35:44Z")

</div>

Hello, I am using rails 1.2.3 that came with my mac Xcode installation. If I update rails with: sudo gem update rails will the latest version of rails cause a conflict with Xcode? Thanks for your time, Calvin

---

## [\[Bug #1310\] HEAP\_SIZE $B$GIT6q9g!)(B](https://www.ruby-forum.com/t/bug-1310-heap-size-b-git6q9g-b/163583)

<div class="topic-metadata">

**Author:** [@Narihiro\_N](https://www.ruby-forum.com/u/Narihiro_N)\
**Replies:** 3\
**Last updated:** [March 23, 2009, 4:57am UTC](https://www.ruby-forum.com/t/bug-1310-heap-size-b-git6q9g-b/163583 "2009-03-23T04:57:46Z")

</div>

e$B%A%1%C%He(B #1310 e$B$,99?7$5$l$^$7$?!#e(B (by Narihiro N.) narie$B$G$9!%e(B e$B$I$&$d$ie(B HEAP\_SIZE e$B$,Bg$-$9$.$k$H!$DI2C$9$ke(B heap\_slot e$B?t$N7W;;$,$\*$+$7$/$J$k$h$&$G$9!%e(B e$B0J2\<$NMM$K=$@5$9$k$HD\>$j$^$7…

---

## [Looking for Ruby on Rails applications for a demo](https://www.ruby-forum.com/t/looking-for-ruby-on-rails-applications-for-a-demo/162994)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 3\
**Last updated:** [March 18, 2009, 12:15am UTC](https://www.ruby-forum.com/t/looking-for-ruby-on-rails-applications-for-a-demo/162994 "2009-03-18T00:15:31Z")

</div>

Hi all, I am looking for most popular ruby on rails applications that are currently implemented, and also who is using RoR to build new applications Thanks

---

## [Location workflow question](https://www.ruby-forum.com/t/location-workflow-question/160931)

<div class="topic-metadata">

**Author:** [@euhost.netSmatevz](https://www.ruby-forum.com/u/euhost.netSmatevz)\
**Replies:** 3\
**Last updated:** [February 21, 2009, 10:00am UTC](https://www.ruby-forum.com/t/location-workflow-question/160931 "2009-02-21T10:00:54Z")

</div>

Hello i have here a configuration, where a request to /forum/viewforum-18-bla.php is not parsed by php. My Question is: why doesnt the “location ~ .php$” get’s executed after the “location ^~ /forum/” is finished? s…

---

## [Odd Ruby 1.9.1.rc2 error message](https://www.ruby-forum.com/t/odd-ruby-1-9-1-rc2-error-message/158987)

<div class="topic-metadata">

**Author:** [@mwlang88](https://www.ruby-forum.com/u/mwlang88)\
**Replies:** 3\
**Last updated:** [January 31, 2009, 1:30pm UTC](https://www.ruby-forum.com/t/odd-ruby-1-9-1-rc2-error-message/158987 "2009-01-31T13:30:54Z")

</div>

Hello, I’ve been largely successful in compiling Ruby 1.9.1.rc2 and launching a Rails 2.2.2 with mysql backend but as I pull in the various gems such as hpricot, thin, mongrel, I’m encountering this “top (required)” …

---

## [Is it possible to pass a model name as a variable?](https://www.ruby-forum.com/t/is-it-possible-to-pass-a-model-name-as-a-variable/158263)

<div class="topic-metadata">

**Author:** [@shanmu](https://www.ruby-forum.com/u/shanmu)\
**Replies:** 3\
**Last updated:** [January 21, 2009, 8:42am UTC](https://www.ruby-forum.com/t/is-it-possible-to-pass-a-model-name-as-a-variable/158263 "2009-01-21T08:42:15Z")

</div>

Hi all, Is it possible to pass a model name as a variable? For example in controller there is a method like this, def list var = User.find(:all) end where in var we heve collected all data from users table. If i ed…

---

## [Newbie qusetion: read a file and print out same file](https://www.ruby-forum.com/t/newbie-qusetion-read-a-file-and-print-out-same-file/156335)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [December 25, 2008, 11:44am UTC](https://www.ruby-forum.com/t/newbie-qusetion-read-a-file-and-print-out-same-file/156335 "2008-12-25T11:44:22Z")

</div>

Hi All, How do I read an input file and print it back to STDOUT exactly as the original file. This should be very simple but the output of my program is all garbled. What am I doing wrong? ( I am using http://www.…

---

## [Rails noob confusion - HTML Form Post to Rails Controller?](https://www.ruby-forum.com/t/rails-noob-confusion-html-form-post-to-rails-controller/155196)

<div class="topic-metadata">

**Author:** [@Jferg](https://www.ruby-forum.com/u/Jferg)\
**Replies:** 3\
**Last updated:** [December 11, 2008, 6:47am UTC](https://www.ruby-forum.com/t/rails-noob-confusion-html-form-post-to-rails-controller/155196 "2008-12-11T06:47:42Z")

</div>

I have recently been learning and trying to develop some application parts using Rails. One issue I may have is that one of the potential clients will want to have one of their external web pages POST to the Rails co…

---

## [USRP2 support to 802.11-like schemes](https://www.ruby-forum.com/t/usrp2-support-to-802-11-like-schemes/154805)

<div class="topic-metadata">

**Author:** [@Yihu\_Li](https://www.ruby-forum.com/u/Yihu_Li)\
**Replies:** 3\
**Last updated:** [December 9, 2008, 5:08pm UTC](https://www.ruby-forum.com/t/usrp2-support-to-802-11-like-schemes/154805 "2008-12-09T17:08:42Z")

</div>

Hi, I am new to gnuradio and trying to do some work based on 802.11. Through my understanding, the current implementations of 802.11-like schemes over gnuradio are mostly limitted by the processing delay on and betwe…

---

## [Extending ActiveRecord::Base broken during 2.2.0 RC update](https://www.ruby-forum.com/t/extending-activerecord-base-broken-during-2-2-0-rc-update/153611)

<div class="topic-metadata">

**Author:** [@Wincent\_C](https://www.ruby-forum.com/u/Wincent_C)\
**Replies:** 3\
**Last updated:** [November 19, 2008, 3:42pm UTC](https://www.ruby-forum.com/t/extending-activerecord-base-broken-during-2-2-0-rc-update/153611 "2008-11-19T15:42:44Z")

</div>

I’m trying to diagnose some breakage that occurred in the update from 2.1.2 to 2.2.0. The short version: an “acts\_as\_searchable” method added to ActiveRecord::Base doesn’t work anymore (raises NoMethodError). The lon…

---

## [Akismet Rails Plugin](https://www.ruby-forum.com/t/akismet-rails-plugin/153552)

<div class="topic-metadata">

**Author:** [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Replies:** 3\
**Last updated:** [November 19, 2008, 10:00am UTC](https://www.ruby-forum.com/t/akismet-rails-plugin/153552 "2008-11-19T10:00:22Z")

</div>

Hi all, I am trying to get Akismet installed on a RoR app. When trying to install Rakismet using: script/plugin install git://github.com/jfrench/rakismet I always get, plugin not found. Does anyone know where I can …

---

## [Ruby, GUI and Flex](https://www.ruby-forum.com/t/ruby-gui-and-flex/147408)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 3\
**Last updated:** [September 1, 2008, 11:17pm UTC](https://www.ruby-forum.com/t/ruby-gui-and-flex/147408 "2008-09-01T23:17:42Z")

</div>

hi all is there a way to use a Flex GUI interface? thanks J

---

## [Stumped on simple wildcard](https://www.ruby-forum.com/t/stumped-on-simple-wildcard/146038)

<div class="topic-metadata">

**Author:** [@woodzer](https://www.ruby-forum.com/u/woodzer)\
**Replies:** 3\
**Last updated:** [August 16, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/stumped-on-simple-wildcard/146038 "2008-08-16T16:27:16Z")

</div>

I’m trying to use a wildcard in an if but the solution is evading me. Is there a special character ruby uses as a general wildcard? My problem below is our domains are all setup to resolve on any combination of domain…

---

## [Routes with params](https://www.ruby-forum.com/t/routes-with-params/145379)

<div class="topic-metadata">

**Author:** [@pure](https://www.ruby-forum.com/u/pure)\
**Replies:** 3\
**Last updated:** [August 8, 2008, 6:58pm UTC](https://www.ruby-forum.com/t/routes-with-params/145379 "2008-08-08T18:58:10Z")

</div>

Hey all, my code looks like: \<%= link\_to ‘add’, :controller =\> ‘item’, :action =\> ‘add\_me’, :title =\> posts.title, :description =\> posts.description %\> I already added map.connect ‘:controller/:action’ to my routes…

---

## [Setting URL root / change Public/index.html default](https://www.ruby-forum.com/t/setting-url-root-change-public-index-html-default/144174)

<div class="topic-metadata">

**Author:** [@samraj](https://www.ruby-forum.com/u/samraj)\
**Replies:** 0\
**Last updated:** [July 26, 2008, 5:50am UTC](https://www.ruby-forum.com/t/setting-url-root-change-public-index-html-default/144174 "2008-07-26T05:50:59Z")

</div>

NTS: The default URL for a new rails app is the index.html file in the Public folder. If you want to change the default to another page, do the following: In the routes.rb file in the Public folder add the following …

---

## [ActiveRecord Callback](https://www.ruby-forum.com/t/activerecord-callback/143030)

<div class="topic-metadata">

**Author:** [@Piero\_B](https://www.ruby-forum.com/u/Piero_B)\
**Replies:** 3\
**Last updated:** [July 15, 2008, 9:28am UTC](https://www.ruby-forum.com/t/activerecord-callback/143030 "2008-07-15T09:28:29Z")

</div>

Ciao a tutti, vi pongo un piccolo problema: sto lavorando con active record in una applicazione non rails. Riassumendo ho 2 tabelle 1-1, una relativa al cliente (consumer) e una tabella ‘piatta’ relativa a dati non …

---

## [RSpec Website not accessible at www.rspec.info](https://www.ruby-forum.com/t/rspec-website-not-accessible-at-www-rspec-info/141129)

<div class="topic-metadata">

**Author:** [@Matthias\_Hennemeyer](https://www.ruby-forum.com/u/Matthias_Hennemeyer)\
**Replies:** 3\
**Last updated:** [June 22, 2008, 6:45pm UTC](https://www.ruby-forum.com/t/rspec-website-not-accessible-at-www-rspec-info/141129 "2008-06-22T18:45:46Z")

</div>

Hi, it would be nice if the rspec site could be also available at www.rspec.info. Matthias

---

## [Static Ruby](https://www.ruby-forum.com/t/static-ruby/132793)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 3\
**Last updated:** [June 5, 2008, 11:19am UTC](https://www.ruby-forum.com/t/static-ruby/132793 "2008-06-05T11:19:21Z")

</div>

Hi there, typically I modify CFLAGS variable to include a pure static version before compiling, as in: CFLAGS=’-static’ This works for sed, grep, bash etc… easily, but for ruby, this does not seem to work as straigh…

---

## [No marshal\_dump is defined for class StringIO](https://www.ruby-forum.com/t/no-marshal-dump-is-defined-for-class-stringio/132263)

<div class="topic-metadata">

**Author:** [@shuja](https://www.ruby-forum.com/u/shuja)\
**Replies:** 0\
**Last updated:** [March 18, 2008, 2:29pm UTC](https://www.ruby-forum.com/t/no-marshal-dump-is-defined-for-class-stringio/132263 "2008-03-18T14:29:25Z")

</div>

Hi all, I’m newbie to ROR, anybody know why I would be getting the following error when I use paginating\_find with memcache “no marshal\_dump is defined for class StringIO” Im just using the plugin straight out with v…

---

## [The problem with ruby on rails is](https://www.ruby-forum.com/t/the-problem-with-ruby-on-rails-is/123672)

<div class="topic-metadata">

**Author:** [@gemblon](https://www.ruby-forum.com/u/gemblon)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 6:04pm UTC](https://www.ruby-forum.com/t/the-problem-with-ruby-on-rails-is/123672 "2007-12-19T18:04:50Z")

</div>

RUBY on RAILS is just TOOO FREAKING EASY. I keep forgetting how easy stuff is to do, and keep trying to look for more piece’s to the puzzles. I keep trying to make it harder then it is. I keep thinking I need to ask…

---

## [Patches updated](https://www.ruby-forum.com/t/patches-updated/120493)

<div class="topic-metadata">

**Author:** [@Sanghyeon\_S](https://www.ruby-forum.com/u/Sanghyeon_S)\
**Replies:** 3\
**Last updated:** [November 21, 2007, 2:09am UTC](https://www.ruby-forum.com/t/patches-updated/120493 "2007-11-21T02:09:35Z")

</div>

I updated patches and Mono HOWTO against SVN r57. http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/ patch-rakefile – please apply Detect Mono path using pkg-config. Define exec\_net method for running .NET execut…

---

## [Condiciones sobre consulta JOIN](https://www.ruby-forum.com/t/condiciones-sobre-consulta-join/117012)

<div class="topic-metadata">

**Author:** [@rpcolom](https://www.ruby-forum.com/u/rpcolom)\
**Replies:** 3\
**Last updated:** [October 12, 2007, 8:12pm UTC](https://www.ruby-forum.com/t/condiciones-sobre-consulta-join/117012 "2007-10-12T20:12:58Z")

</div>

Volviendo al tema de los :conditions Â¿como puedo especificar un filtro de una select join de dos tablas que incluya campos de ambas? Es decir: select … from t1, t2 where t1.t2\_id=t2.id #join and t1.campo1=x and t2.…

---

## [Using define\_method isn't the same as defining a method](https://www.ruby-forum.com/t/using-define-method-isnt-the-same-as-defining-a-method/116766)

<div class="topic-metadata">

**Author:** [@Yossef\_M](https://www.ruby-forum.com/u/Yossef_M)\
**Replies:** 3\
**Last updated:** [October 10, 2007, 7:41pm UTC](https://www.ruby-forum.com/t/using-define-method-isnt-the-same-as-defining-a-method/116766 "2007-10-10T19:41:05Z")

</div>

I apologize if this has been brought up before. A cursory search through the archives didn’t come up with anything that addressed this same subject. I know that creating a Proc (at least a lambda-style Proc) will do …

---

## [Best way to start working on rails](https://www.ruby-forum.com/t/best-way-to-start-working-on-rails/82569)

<div class="topic-metadata">

**Author:** [@Kranti](https://www.ruby-forum.com/u/Kranti)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/best-way-to-start-working-on-rails/82569 "2007-09-25T22:52:29Z")

</div>

Hey Guys, What would be the best way to start working on RAILS for Java Developers.This is the most frequent question anyone can ask. According to me exploring on Ruby is the first point to start Would be happy to se…

---

## [Observe\_field loses event binding after firing](https://www.ruby-forum.com/t/observe-field-loses-event-binding-after-firing/112980)

<div class="topic-metadata">

**Author:** [@wolfram](https://www.ruby-forum.com/u/wolfram)\
**Replies:** 3\
**Last updated:** [September 6, 2007, 6:54pm UTC](https://www.ruby-forum.com/t/observe-field-loses-event-binding-after-firing/112980 "2007-09-06T18:54:40Z")

</div>

I’m running into an odd problem where I’m observing two radio buttons via observe\_field to make AJAX calls, and it seems to lose the event binding after the first call. The basic functionality is that clicking on the …

---

## [ActiveRecord basics](https://www.ruby-forum.com/t/activerecord-basics/110454)

<div class="topic-metadata">

**Author:** [@kabish](https://www.ruby-forum.com/u/kabish)\
**Replies:** 3\
**Last updated:** [July 27, 2007, 11:44am UTC](https://www.ruby-forum.com/t/activerecord-basics/110454 "2007-07-27T11:44:03Z")

</div>

Hi all, I’d want to create what in Java is called a Custom DTO: a model class that wraps selected data from one or more tables. What I do is creating first a subclass of ActiveRercord::Base class Targt \< ActiveRecord…

---

## [Could anyone help me in the question, thanks?](https://www.ruby-forum.com/t/could-anyone-help-me-in-the-question-thanks/107725)

<div class="topic-metadata">

**Author:** [@rubyer](https://www.ruby-forum.com/u/rubyer)\
**Replies:** 3\
**Last updated:** [June 25, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/could-anyone-help-me-in-the-question-thanks/107725 "2007-06-25T20:55:28Z")

</div>

In network application, we need to fill some fields of protocol header like below (in C): struct hdr { unsinged short ver; unsinged char len; unsinged char flg; … }; int main(void) { struct hdr hh; hh.ver = …

---

## [Applicativi creati con Ruby e/o con RoR](https://www.ruby-forum.com/t/applicativi-creati-con-ruby-e-o-con-ror/107161)

<div class="topic-metadata">

**Author:** [@mentat](https://www.ruby-forum.com/u/mentat)\
**Replies:** 3\
**Last updated:** [June 18, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/applicativi-creati-con-ruby-e-o-con-ror/107161 "2007-06-18T19:40:59Z")

</div>

Ciao a tutti!! Sapete indicarmi dei collegamenti dove poter andare a vedere qualche applicativo creati con Ruby e/o con Rails? Grazie per le eventuali risposte.

---

## [Resources for learning to write RESTful-CRUDy applications?](https://www.ruby-forum.com/t/resources-for-learning-to-write-restful-crudy-applications/105073)

<div class="topic-metadata">

**Author:** [@maurice-gladwell](https://www.ruby-forum.com/u/maurice-gladwell)\
**Replies:** 3\
**Last updated:** [June 11, 2007, 8:47pm UTC](https://www.ruby-forum.com/t/resources-for-learning-to-write-restful-crudy-applications/105073 "2007-06-11T20:47:33Z")

</div>

I’m looking for resources that would teach me to write Rails applications, RESTful-CRUDy style. I much prefer good exemplary programs to learn from, but could use a good, concise book as well :slight\_smile: Thanks in…

---

## [Looking for a pure Ruby uniq ID generator](https://www.ruby-forum.com/t/looking-for-a-pure-ruby-uniq-id-generator/105582)

<div class="topic-metadata">

**Author:** [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Replies:** 3\
**Last updated:** [May 31, 2007, 3:58pm UTC](https://www.ruby-forum.com/t/looking-for-a-pure-ruby-uniq-id-generator/105582 "2007-05-31T15:58:21Z")

</div>

Hello, I’m looking for a pure Ruby uniq non predictable ID generator In fact, quite the same as the uniq \*nix/cygwin command but fully writen with Ruby… Thanks

---

## [Rails Web services (in general), HTTP GET and JSON and other](https://www.ruby-forum.com/t/rails-web-services-in-general-http-get-and-json-and-other/103017)

<div class="topic-metadata">

**Author:** [@dtdtdt](https://www.ruby-forum.com/u/dtdtdt)\
**Replies:** 3\
**Last updated:** [April 30, 2007, 11:25pm UTC](https://www.ruby-forum.com/t/rails-web-services-in-general-http-get-and-json-and-other/103017 "2007-04-30T23:25:57Z")

</div>

Hi, I like SOA, I like Ajax, I like Ruby/Rails, but I am in doubt how to make some things. There are always solutions, but my idea is not solving the problem, but learning the best way to solve it. I didn’t find near…

---

## [UI tool with Ror](https://www.ruby-forum.com/t/ui-tool-with-ror/91654)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 3\
**Last updated:** [April 26, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/ui-tool-with-ror/91654 "2007-04-26T16:55:50Z")

</div>

Hi, Is there any tool for UI that RoR faternity suggests? Any open source tool that we can use it with Rails nicely? Or do i need to use dreamweaver, golive for UI? Regards, Sandeep G

---

## [ClothRed 0.3.0 released](https://www.ruby-forum.com/t/clothred-0-3-0-released/91827)

<div class="topic-metadata">

**Author:** [@Phillip\_G](https://www.ruby-forum.com/u/Phillip_G)\
**Replies:** 3\
**Last updated:** [April 13, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/clothred-0-3-0-released/91827 "2007-04-13T18:24:54Z")

</div>

Or: TTD is fun. = ClothRed HTML 2 Textile converter == What it is A library to convert HTML into Textile markup for use, for example, with RedCloth. == Requirements All you need is Ruby. == Get it Available as a …

---

## [Info regarding full duplex operation of RFX2400](https://www.ruby-forum.com/t/info-regarding-full-duplex-operation-of-rfx2400/89727)

<div class="topic-metadata">

**Author:** [@Rohit\_Gupta](https://www.ruby-forum.com/u/Rohit_Gupta)\
**Replies:** 3\
**Last updated:** [March 22, 2007, 8:31pm UTC](https://www.ruby-forum.com/t/info-regarding-full-duplex-operation-of-rfx2400/89727 "2007-03-22T20:31:17Z")

</div>

Hi, I have question regarding the full duplex operation of RFX2400 board. Looking at the circuit diagram of the board, I understand that each RFX2400 board has seperate receive AND transmit chain. Hence, if I connect…

---

## [Writing the user\_id of user when creating an item](https://www.ruby-forum.com/t/writing-the-user-id-of-user-when-creating-an-item/89259)

<div class="topic-metadata">

**Author:** [@pleigh](https://www.ruby-forum.com/u/pleigh)\
**Replies:** 3\
**Last updated:** [March 20, 2007, 10:43am UTC](https://www.ruby-forum.com/t/writing-the-user-id-of-user-when-creating-an-item/89259 "2007-03-20T10:43:30Z")

</div>

hi there, i have this problem, i am a newb in ror and don’t know how to do this. i have a user\_id column in a database table named items, i also use the login generator, i can signup, login, and logout, no problem wit…

---

## [RESTful url's](https://www.ruby-forum.com/t/restful-urls/85634)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 3\
**Last updated:** [February 15, 2007, 3:42am UTC](https://www.ruby-forum.com/t/restful-urls/85634 "2007-02-15T03:42:12Z")

</div>

I am having some trouble in trying to figure out how to add a date and time to my URL and leave out the :id. I have map.resources :events do |events| events.resources :showtimes end the url I want to be shown is /e…

---

## [Run other programs](https://www.ruby-forum.com/t/run-other-programs/83392)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 3\
**Last updated:** [January 30, 2007, 6:47am UTC](https://www.ruby-forum.com/t/run-other-programs/83392 "2007-01-30T06:47:47Z")

</div>

lets say I have three programs Main.rb Sub1.rb and Sub2.rb When I run Main.rb, I want it to access and run the other two ruby programs. How do I do this?

---

## [Search in array](https://www.ruby-forum.com/t/search-in-array/83202)

<div class="topic-metadata">

**Author:** [@materni](https://www.ruby-forum.com/u/materni)\
**Replies:** 3\
**Last updated:** [January 24, 2007, 9:50am UTC](https://www.ruby-forum.com/t/search-in-array/83202 "2007-01-24T09:50:17Z")

</div>

hi all is there in ruby a method like in\_array() php function? i need to verify if there is a string in an array

---

## [Two more dumb noob questions](https://www.ruby-forum.com/t/two-more-dumb-noob-questions/69832)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 3\
**Last updated:** [September 25, 2006, 12:00am UTC](https://www.ruby-forum.com/t/two-more-dumb-noob-questions/69832 "2006-09-25T00:00:44Z")

</div>

Hello all, Sorry for flooding the list with silly questions lately, but I’m having some difficulty with some basic concepts in Rails. What is the difference between an item prefixed with a colon and one without (as …

---

## [Bug or feature?!](https://www.ruby-forum.com/t/bug-or-feature/66660)

<div class="topic-metadata">

**Author:** [@Jake\_Liddell](https://www.ruby-forum.com/u/Jake_Liddell)\
**Replies:** 3\
**Last updated:** [August 29, 2006, 11:10am UTC](https://www.ruby-forum.com/t/bug-or-feature/66660 "2006-08-29T11:10:37Z")

</div>

Hi all, Hereâ??s a weird one. If I include the words â??mkdir radiantâ? anywhere in a page, even between tags, the page wonâ??t save â?? it returns: Precondition Failed The precondition on the request for the U…

---

## [Escape block using red cloth](https://www.ruby-forum.com/t/escape-block-using-red-cloth/64798)

<div class="topic-metadata">

**Author:** [@Harm\_de\_Laat](https://www.ruby-forum.com/u/Harm_de_Laat)\
**Replies:** 3\
**Last updated:** [August 17, 2006, 10:00pm UTC](https://www.ruby-forum.com/t/escape-block-using-red-cloth/64798 "2006-08-17T22:00:17Z")

</div>

Hi all, Is it possible to configure red cloth to escape a block such as: Hello, this works beautifull def foo bar end The text in the \[code\] block should not be parsed by Red Cloth’s to\_html method. I cannot fi…

---

## [Howto tune RF frequency in blocks?](https://www.ruby-forum.com/t/howto-tune-rf-frequency-in-blocks/97754)

<div class="topic-metadata">

**Author:** [@2\_1](https://www.ruby-forum.com/u/2_1)\
**Replies:** 3\
**Last updated:** [July 11, 2006, 4:23am UTC](https://www.ruby-forum.com/t/howto-tune-rf-frequency-in-blocks/97754 "2006-07-11T04:23:59Z")

</div>

Hi, I wonder if it is possible to tune the RF frequency in blocks written in c++. In python, statements as the follow are used to tune the frequency of RF board. r = u.tune(0, subdev, freq) I want to adjust the rec…

---

## [Ferret not returning the right results](https://www.ruby-forum.com/t/ferret-not-returning-the-right-results/96931)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 3\
**Last updated:** [July 4, 2006, 12:17pm UTC](https://www.ruby-forum.com/t/ferret-not-returning-the-right-results/96931 "2006-07-04T12:17:14Z")

</div>

I have ferret setup in my model with multiple fields, but when I do a search on the value that might be stored in two fields, I get no results. Here’s an example: “Jim 12333” Where Jim is a name field, and 12333 is …

---

## [Dummy field in a model](https://www.ruby-forum.com/t/dummy-field-in-a-model/64456)

<div class="topic-metadata">

**Author:** [@pratik](https://www.ruby-forum.com/u/pratik)\
**Replies:** 3\
**Last updated:** [June 26, 2006, 2:15am UTC](https://www.ruby-forum.com/t/dummy-field-in-a-model/64456 "2006-06-26T02:15:48Z")

</div>

I want to have a field in model, which I’m not storing in a database. And I want to do something like the following in the model code : validates\_format\_of :field\_NOT\_in\_db, :with =\> session\[:field\] How can I do it ? …

---

## [Inserting data to another DB table](https://www.ruby-forum.com/t/inserting-data-to-another-db-table/63027)

<div class="topic-metadata">

**Author:** [@jasbur](https://www.ruby-forum.com/u/jasbur)\
**Replies:** 3\
**Last updated:** [June 10, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/inserting-data-to-another-db-table/63027 "2006-06-10T22:41:55Z")

</div>

I have a form under one controller/model called “billing” using the “bills” table. When this form completes I want it to change the “has\_billing” field for the user under the “users” table from “0” to “1”. I’ve almost…

---

## [Experience with RSpec](https://www.ruby-forum.com/t/experience-with-rspec/61841)

<div class="topic-metadata">

**Author:** [@Cuong\_T](https://www.ruby-forum.com/u/Cuong_T)\
**Replies:** 3\
**Last updated:** [May 29, 2006, 6:47am UTC](https://www.ruby-forum.com/t/experience-with-rspec/61841 "2006-05-29T06:47:08Z")

</div>

Anyone with experience with RSpec care to share? Thanks.

---

## [Action Mailer Errno::EPIPE using different character sets](https://www.ruby-forum.com/t/action-mailer-errno-epipe-using-different-character-sets/59622)

<div class="topic-metadata">

**Author:** [@joachimgross](https://www.ruby-forum.com/u/joachimgross)\
**Replies:** 0\
**Last updated:** [May 4, 2006, 7:34pm UTC](https://www.ruby-forum.com/t/action-mailer-errno-epipe-using-different-character-sets/59622 "2006-05-04T19:34:03Z")

</div>

On my Windows development system everything is fine. On my Linux production server I get an Errno::EPIPE (Broken pipe) error when sending an email using Action Mailer. The specific situation is this: a) Rails 1.1.2 …

---

## [Installing a standalone package of rails](https://www.ruby-forum.com/t/installing-a-standalone-package-of-rails/59282)

<div class="topic-metadata">

**Author:** [@Arjan](https://www.ruby-forum.com/u/Arjan)\
**Replies:** 3\
**Last updated:** [May 3, 2006, 1:40pm UTC](https://www.ruby-forum.com/t/installing-a-standalone-package-of-rails/59282 "2006-05-03T13:40:16Z")

</div>

I recently downloaded a standalone package of rails, release 0.12.1 (.zip) but I don’t know how to install. When I unzip, I get a lot of -sometimes empty- folders. Should I copy these folders? If so, where should I co…

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

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