# Top

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

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

---

## [How to create a project using Rails version 2.3.8 default is rails version 3.0.1](https://www.ruby-forum.com/t/how-to-create-a-project-using-rails-version-2-3-8-default-is-rails-version-3-0-1/198485)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 3, 2010, 10:30pm UTC](https://www.ruby-forum.com/t/how-to-create-a-project-using-rails-version-2-3-8-default-is-rails-version-3-0-1/198485 "2010-11-03T22:30:56Z")

</div>

I have a default rails version is 3.0.1 where we need to create rails project using the command: rails new projectname I want to make rails version 2.3.8 as default version but have no idea how to do. Is there any co…

---

## [Backup database from the application](https://www.ruby-forum.com/t/backup-database-from-the-application/194516)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 3\
**Last updated:** [September 6, 2010, 8:01pm UTC](https://www.ruby-forum.com/t/backup-database-from-the-application/194516 "2010-09-06T20:01:32Z")

</div>

Hi, I want to create an administration panel in the application that would allow to backup the database and some other stuff. How can I create a backup and send it to some place (s3, ftp) or download it as a file to t…

---

## [Performance - jRoR vs JSP - basic response of 30-40 ms on jRoR, 2-4ms on JSP](https://www.ruby-forum.com/t/performance-jror-vs-jsp-basic-response-of-30-40-ms-on-jror-2-4ms-on-jsp/192887)

<div class="topic-metadata">

**Author:** [@dc\_tech](https://www.ruby-forum.com/u/dc_tech)\
**Replies:** 3\
**Last updated:** [August 8, 2010, 6:42am UTC](https://www.ruby-forum.com/t/performance-jror-vs-jsp-basic-response-of-30-40-ms-on-jror-2-4ms-on-jsp/192887 "2010-08-08T06:42:55Z")

</div>

Has anyone done any recent benchmarking on RoR vs. JSP? Our testing on a very simple URL that simply shows the time indicates that RoR (or jRoR to be exact) seems to take 30+ms to return the results. This is contrast …

---

## [Re: Rails 2.3 I18n and localized mailer templates](https://www.ruby-forum.com/t/re-rails-2-3-i18n-and-localized-mailer-templates/190011)

<div class="topic-metadata">

**Author:** [@n1k](https://www.ruby-forum.com/u/n1k)\
**Replies:** 0\
**Last updated:** [June 11, 2010, 11:16am UTC](https://www.ruby-forum.com/t/re-rails-2-3-i18n-and-localized-mailer-templates/190011 "2010-06-11T11:16:54Z")

</div>

Hi, is there any progress in this? I found it very uncomfortable to pass interpolation twice. Once in Mailer model and second time in mailer’s template to the I18n engine. This way with naming templates according to …

---

## [Master table without related child record](https://www.ruby-forum.com/t/master-table-without-related-child-record/187240)

<div class="topic-metadata">

**Author:** [@f2andy](https://www.ruby-forum.com/u/f2andy)\
**Replies:** 3\
**Last updated:** [April 20, 2010, 4:54pm UTC](https://www.ruby-forum.com/t/master-table-without-related-child-record/187240 "2010-04-20T16:54:18Z")

</div>

Having a bit of a braindead day, can anyone help with this. I have three models: Player, Game, Prediction (Player has\_many :games, :through =\> :prediction) I want a named\_scope that finds games that the current play…

---

## [Benchmark\_rx.py with std\_4rx\_0tx.rbf](https://www.ruby-forum.com/t/benchmark-rx-py-with-std-4rx-0tx-rbf/184625)

<div class="topic-metadata">

**Author:** [@Christian\_Rohlfing](https://www.ruby-forum.com/u/Christian_Rohlfing)\
**Replies:** 3\
**Last updated:** [April 9, 2010, 12:57pm UTC](https://www.ruby-forum.com/t/benchmark-rx-py-with-std-4rx-0tx-rbf/184625 "2010-04-09T12:57:43Z")

</div>

The script benchmark\_rx.py (located in gnuradio-examples/python/digital) doesn’t run with the FPGA-file std\_4rx\_0tx.rbf. Is there any explanation for this problem? On the TX-side, I’m running benchmark\_tx.py with the …

---

## [I18n::backend::cache cache\_key collisions](https://www.ruby-forum.com/t/i18n-cache-cache-key-collisions/185760)

<div class="topic-metadata">

**Author:** [@mr.kamel](https://www.ruby-forum.com/u/mr.kamel)\
**Replies:** 0\
**Last updated:** [March 25, 2010, 6:43pm UTC](https://www.ruby-forum.com/t/i18n-cache-cache-key-collisions/185760 "2010-03-25T18:43:55Z")

</div>

Hi, i don’t find any useful information about my issue and i hope someone can help me out. please correct me if i’m wrong… i18n::backend::cache uses the cache\_key method to create a key for caching, right?! on line…

---

## [How to use open\_uri with cookies?](https://www.ruby-forum.com/t/how-to-use-open-uri-with-cookies/180119)

<div class="topic-metadata">

**Author:** [@yumiu](https://www.ruby-forum.com/u/yumiu)\
**Replies:** 0\
**Last updated:** [December 12, 2009, 12:28am UTC](https://www.ruby-forum.com/t/how-to-use-open-uri-with-cookies/180119 "2009-12-12T00:28:55Z")

</div>

Hi, I need to send a request with cookies info. I tried open(url,“Cookie” =\> cookies) it gives me NoMethodError Exception: undefined method \`strip’ for #ActionController::CookieJar:0x1344a558 Can anyone give me so…

---

## [Better documentation?](https://www.ruby-forum.com/t/better-documentation/178457)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [November 13, 2009, 4:20am UTC](https://www.ruby-forum.com/t/better-documentation/178457 "2009-11-13T04:20:11Z")

</div>

I’m interested in helping the documentation for rspec, ex: described similarly to how this person feels (that there’s not too much “getting started” docu). http://creativedeletion.com/2007/05/27/the-new-rspec-format…

---

## [Using multiple SMTP accounts with Rails & ActionMailer](https://www.ruby-forum.com/t/using-multiple-smtp-accounts-with-rails-actionmailer/177987)

<div class="topic-metadata">

**Author:** [@tnyplz](https://www.ruby-forum.com/u/tnyplz)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 3:42pm UTC](https://www.ruby-forum.com/t/using-multiple-smtp-accounts-with-rails-actionmailer/177987 "2009-10-27T15:42:15Z")

</div>

I have a need to send mail from more than 1 SMTP account in Rails and I stumbled upon this post The Author wasn’t thrilled with his solution and I’m hoping this forum can come up with something a little cleaner. I …

---

## [\[ANN\] zena 0.15.0 gem release](https://www.ruby-forum.com/t/ann-zena-0-15-0-gem-release/197004)

<div class="topic-metadata">

**Author:** [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Replies:** 3\
**Last updated:** [October 16, 2009, 7:12am UTC](https://www.ruby-forum.com/t/ann-zena-0-15-0-gem-release/197004 "2009-10-16T07:12:48Z")

</div>

First public release for zena, the CMS with super natural powers ! zena is a Ruby on Rails CMS with a focus on usability, ease of customization and web 2.0 goodness. More information on this release: http://bit.ly/1CR…

---

## [Need immeadiate help](https://www.ruby-forum.com/t/need-immeadiate-help/176408)

<div class="topic-metadata">

**Author:** [@mithunperera](https://www.ruby-forum.com/u/mithunperera)\
**Replies:** 3\
**Last updated:** [September 30, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/need-immeadiate-help/176408 "2009-09-30T14:46:45Z")

</div>

Hi all, I am going to do testing using Rspec. But i have no idea about that . so i need good tutorial for that. if anybody has such tutorials please help me by sending them. thanks, mithun

---

## [WARNING: Can't mass-assign these protected attributes:](https://www.ruby-forum.com/t/warning-cant-mass-assign-these-protected-attributes/173934)

<div class="topic-metadata">

**Author:** [@Ritvvij](https://www.ruby-forum.com/u/Ritvvij)\
**Replies:** 3\
**Last updated:** [August 18, 2009, 3:28pm UTC](https://www.ruby-forum.com/t/warning-cant-mass-assign-these-protected-attributes/173934 "2009-08-18T15:28:23Z")

</div>

Hi, Suddenly all the attributes in all my models have become protected and I cannot save anything. Of course a solution is to add attr\_accessor for all the atttributes in all the models. But this was not the case bef…

---

## [Aaf and "foreign" index (build from script, not from aaf)](https://www.ruby-forum.com/t/aaf-and-foreign-index-build-from-script-not-from-aaf/169703)

<div class="topic-metadata">

**Author:** [@fink](https://www.ruby-forum.com/u/fink)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 12:04pm UTC](https://www.ruby-forum.com/t/aaf-and-foreign-index-build-from-script-not-from-aaf/169703 "2009-06-07T12:04:23Z")

</div>

Hi there, it’s a bit difficult to describe in one line, so the subject ist a little confusing - sry. I have a file full of objects and use a ruby-script to store them in my database. To save time I decided to build t…

---

## [Nested resources and collection weirdness](https://www.ruby-forum.com/t/nested-resources-and-collection-weirdness/168573)

<div class="topic-metadata">

**Author:** [@joshs](https://www.ruby-forum.com/u/joshs)\
**Replies:** 3\
**Last updated:** [May 22, 2009, 11:09pm UTC](https://www.ruby-forum.com/t/nested-resources-and-collection-weirdness/168573 "2009-05-22T23:09:56Z")

</div>

I need the route /events/:event\_id/races/edit, so: map.resources :events do |event| event.resources :races, :collection =\> {:edit =\> :get} end Which produces this: edit\_event\_races GET /events/:event\_id/races/edi…

---

## [Has many through not working in ruby-enterprise](https://www.ruby-forum.com/t/has-many-through-not-working-in-ruby-enterprise/163697)

<div class="topic-metadata">

**Author:** [@mirec](https://www.ruby-forum.com/u/mirec)\
**Replies:** 3\
**Last updated:** [March 24, 2009, 6:25pm UTC](https://www.ruby-forum.com/t/has-many-through-not-working-in-ruby-enterprise/163697 "2009-03-24T18:25:04Z")

</div>

hi, I have simple has many through association which is working without problem on ruby 1.8.6 and rails 2.0.2, but on ruby-enterprise with ruby 2.0.2 or 2.3.2 it just does not see “through” part of association. clas…

---

## [\[ANN\] The end of Capchas: Thorny Form plugin](https://www.ruby-forum.com/t/ann-the-end-of-capchas-thorny-form-plugin/159892)

<div class="topic-metadata">

**Author:** [@wybo](https://www.ruby-forum.com/u/wybo)\
**Replies:** 3\
**Last updated:** [February 10, 2009, 6:19pm UTC](https://www.ruby-forum.com/t/ann-the-end-of-capchas-thorny-form-plugin/159892 "2009-02-10T18:19:55Z")

</div>

Thorny Form is a Rails plugin for unobtrusively protecting forms against form-SPAM. It adds extra fields like a honeypot and some others which can then be checked before the form-data is used in your application. To …

---

## [How to know the index value on the each method](https://www.ruby-forum.com/t/how-to-know-the-index-value-on-the-each-method/159241)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 3\
**Last updated:** [February 2, 2009, 6:42pm UTC](https://www.ruby-forum.com/t/how-to-know-the-index-value-on-the-each-method/159241 "2009-02-02T18:42:08Z")

</div>

Hello, I was wondering if there is a way to access the current index value when using the each method to iterate over an array. For example, @pancakes.each do |pancake| puts pancake How can I ask which is the curren…

---

## [Help using a rake task to add items to my database?](https://www.ruby-forum.com/t/help-using-a-rake-task-to-add-items-to-my-database/158618)

<div class="topic-metadata">

**Author:** [@sharon](https://www.ruby-forum.com/u/sharon)\
**Replies:** 3\
**Last updated:** [January 26, 2009, 2:27am UTC](https://www.ruby-forum.com/t/help-using-a-rake-task-to-add-items-to-my-database/158618 "2009-01-26T02:27:03Z")

</div>

Once a month or so, I’d like to pull data from an RSS feed and add it into my database. I’ve written a rake task that properly reads the feed, parses it and assigns the correct information to new instances of my @even…

---

## [Ruby 1.9.0-5 was released](https://www.ruby-forum.com/t/ruby-1-9-0-5-was-released/150103)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 0\
**Last updated:** [October 3, 2008, 7:56pm UTC](https://www.ruby-forum.com/t/ruby-1-9-0-5-was-released/150103 "2008-10-03T19:56:09Z")

</div>

Hi, I released Ruby 1.9.0-5. == Location ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.9.0-5.tar.bz2 MD5: 1f8be4695939a42a35d9ee793221eaa9 SHA256: 6641148785a8bd3b352c2f990e5b20c1bd244f61275150139671b9b84610d996 SIZE: …

---

## [Issue with HTML embed code in Redcloth 4.0.3](https://www.ruby-forum.com/t/issue-with-html-embed-code-in-redcloth-4-0-3/150030)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 0\
**Last updated:** [October 2, 2008, 5:12pm UTC](https://www.ruby-forum.com/t/issue-with-html-embed-code-in-redcloth-4-0-3/150030 "2008-10-02T17:12:31Z")

</div>

Hi all, I’m having an issue with HTML embed code in Redcloth 4.0.3. The following embed code is part of some textile that is being rendered with the this command: output = RedCloth.new(text, \[:no\_span\_caps\]).to\_html(…

---

## [Syntax error in RJS](https://www.ruby-forum.com/t/syntax-error-in-rjs/149231)

<div class="topic-metadata">

**Author:** [@jimgroom](https://www.ruby-forum.com/u/jimgroom)\
**Replies:** 3\
**Last updated:** [September 23, 2008, 4:12pm UTC](https://www.ruby-forum.com/t/syntax-error-in-rjs/149231 "2008-09-23T16:12:44Z")

</div>

I’m new to Ruby on Rails and came across a problem I could not solve alone. I’ve a pretty simple RJS file that looks like the following: 3.times do page.insert\_html :bottom, ‘messages’, ‘test’ end page.call ‘update…

---

## [How to truncate special charactors](https://www.ruby-forum.com/t/how-to-truncate-special-charactors/196812)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 0\
**Last updated:** [September 18, 2008, 12:14pm UTC](https://www.ruby-forum.com/t/how-to-truncate-special-charactors/196812 "2008-09-18T12:14:18Z")

</div>

Hi, In my application I am using a list box where i am showing different groups name. I am using \<%=truncate\_html\_strip\_textual\_wrap(group.name,28,28)%\> for truncating the name but it gives me problem when group nam…

---

## [Single Line replacement in file](https://www.ruby-forum.com/t/single-line-replacement-in-file/144287)

<div class="topic-metadata">

**Author:** [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Replies:** 3\
**Last updated:** [July 31, 2008, 10:58am UTC](https://www.ruby-forum.com/t/single-line-replacement-in-file/144287 "2008-07-31T10:58:04Z")

</div>

Hi All, My code: code.rb lines=File.open(“hi.txt”,“r”) output=\[\] lines.each do |single| out1=single.split(’ ‘) out2=out1\[0\].gsub(’‘, ‘’) out3= out2.gsub(’‘, ‘’) out4=out3.gsub(’‘,’') output \<\< out4 # I need to…

---

## [Tidy segfault on Linux](https://www.ruby-forum.com/t/tidy-segfault-on-linux/122239)

<div class="topic-metadata">

**Author:** [@lfeistel](https://www.ruby-forum.com/u/lfeistel)\
**Replies:** 3\
**Last updated:** [July 14, 2008, 1:37pm UTC](https://www.ruby-forum.com/t/tidy-segfault-on-linux/122239 "2008-07-14T13:37:18Z")

</div>

Hi– I’m using the Ruby tidy gem to clean some user-input HTML. It works splendidly on my Mac development machine, but seg faults on a CentOS linux box. I’ve tracked through the code, and the crash occurs in Tidybuf.r…

---

## [Running tests using JRuby](https://www.ruby-forum.com/t/running-tests-using-jruby/141623)

<div class="topic-metadata">

**Author:** [@arung](https://www.ruby-forum.com/u/arung)\
**Replies:** 3\
**Last updated:** [July 2, 2008, 9:24am UTC](https://www.ruby-forum.com/t/running-tests-using-jruby/141623 "2008-07-02T09:24:49Z")

</div>

Using JRuby 1.1.1 + Rails 2.0.2 (also 1.1.2 + 2.1), I generated a Rails app and tried running the default functional tests but getting the error: – cut here – ~/samples/jruby/test/temp/hello \>~/testbed/jruby-1.1.1/bi…

---

## [JRuby-rack not picking up file changes in development environment](https://www.ruby-forum.com/t/jruby-rack-not-picking-up-file-changes-in-development-environment/140069)

<div class="topic-metadata">

**Author:** [@Tyler\_J](https://www.ruby-forum.com/u/Tyler_J)\
**Replies:** 3\
**Last updated:** [June 10, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/jruby-rack-not-picking-up-file-changes-in-development-environment/140069 "2008-06-10T18:14:43Z")

</div>

I’m experiencing a problem using jruby-rack for development. When I’m running locally in development mode rack doesn’t seem to pick up any changes I make to controllers, views or other ruby/rails files. Goldspike did…

---

## [Switch Two Lines in a File](https://www.ruby-forum.com/t/switch-two-lines-in-a-file/137517)

<div class="topic-metadata">

**Author:** [@Dana\_M](https://www.ruby-forum.com/u/Dana_M)\
**Replies:** 3\
**Last updated:** [May 14, 2008, 12:07am UTC](https://www.ruby-forum.com/t/switch-two-lines-in-a-file/137517 "2008-05-14T00:07:59Z")

</div>

Hey guys, I’m trying to write a script to switch two lines in a file, and for some reason am having difficulty grokking it. I have an ugly start, which I’ll post if you want, but it’s over thirty lines long and still…

---

## [Installing tk after the fact?](https://www.ruby-forum.com/t/installing-tk-after-the-fact/135641)

<div class="topic-metadata">

**Author:** [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Replies:** 3\
**Last updated:** [April 23, 2008, 10:18pm UTC](https://www.ruby-forum.com/t/installing-tk-after-the-fact/135641 "2008-04-23T22:18:30Z")

</div>

Is it even possible to install tk support after the fact for ruby 1.8? Most of the boxes at work are running CentOS (RHEL clone), and I was going to write some small frontends in ruby/tk this morning. Lo and behold, …

---

## [COBOL\_ON\_COGS (Yet Another Rails Knockoff)](https://www.ruby-forum.com/t/cobol-on-cogs-yet-another-rails-knockoff/133537)

<div class="topic-metadata">

**Author:** [@tbobker](https://www.ruby-forum.com/u/tbobker)\
**Replies:** 3\
**Last updated:** [April 1, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/cobol-on-cogs-yet-another-rails-knockoff/133537 "2008-04-01T21:39:58Z")

</div>

Hi everyone, Sorry about the slightly offtopic posting, but this might be of interest to one or the other developer on this list, especially if you’ve ever had to deal with legacy integration. We’re announcing a new …

---

## [Multiple vhosts with wildcards?](https://www.ruby-forum.com/t/multiple-vhosts-with-wildcards/129645)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 3\
**Last updated:** [February 20, 2008, 2:52pm UTC](https://www.ruby-forum.com/t/multiple-vhosts-with-wildcards/129645 "2008-02-20T14:52:09Z")

</div>

Hi At the moment we’re using lighttpd, but its proving to be a little flaky with php-fcgi. I’d like to know whether its possible to get the following set-up working so I can replace lighttpd with nginx. We use a lot …

---

## [\#describe behavior with a module](https://www.ruby-forum.com/t/describe-behavior-with-a-module/129335)

<div class="topic-metadata">

**Author:** [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Replies:** 3\
**Last updated:** [February 17, 2008, 7:09am UTC](https://www.ruby-forum.com/t/describe-behavior-with-a-module/129335 "2008-02-17T07:09:30Z")

</div>

Consider: module X def initialize(a) super() end end describe X do it “is a module” do X.should be\_instance\_of(Module) end end This generates an error because #describe tries to include X into the test harnes…

---

## [CruiseControl problem. Broken Pipe?](https://www.ruby-forum.com/t/cruisecontrol-problem-broken-pipe/126398)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 21, 2008, 12:31am UTC](https://www.ruby-forum.com/t/cruisecontrol-problem-broken-pipe/126398 "2008-01-21T00:31:56Z")

</div>

Hi Friends, Just happened to catch this err in the CC log: Build loop failed BuilderError: Write failed: Broken pipe ./script/…/config/…/app/models/subversion.rb:98:in execute\_in\_local\_copy' ./script/../config/../li…

---

## [Networked Marshal Questions](https://www.ruby-forum.com/t/networked-marshal-questions/123533)

<div class="topic-metadata">

**Author:** [@polypus](https://www.ruby-forum.com/u/polypus)\
**Replies:** 3\
**Last updated:** [December 18, 2007, 5:44pm UTC](https://www.ruby-forum.com/t/networked-marshal-questions/123533 "2007-12-18T17:44:21Z")

</div>

hi all, what are the security implications of dumping/loading marshalled objects over the network if any? if i marshal a float or an array of floats, am i guaranteed to have the same exact floating point value upon l…

---

## [Problem running examples with spec\_server](https://www.ruby-forum.com/t/problem-running-examples-with-spec-server/122843)

<div class="topic-metadata">

**Author:** [@David\_Nolan](https://www.ruby-forum.com/u/David_Nolan)\
**Replies:** 3\
**Last updated:** [December 14, 2007, 1:52pm UTC](https://www.ruby-forum.com/t/problem-running-examples-with-spec-server/122843 "2007-12-14T13:52:15Z")

</div>

Hello, Running RSpec without DRB works fine. However, “spec -X” runs without error but provides no output at all, even though the DRB spec\_server seems to be fine. Has anyone got some suggestions as to why and how t…

---

## [How to Run Rails Stories](https://www.ruby-forum.com/t/how-to-run-rails-stories/120349)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 3\
**Last updated:** [November 16, 2007, 1:06am UTC](https://www.ruby-forum.com/t/how-to-run-rails-stories/120349 "2007-11-16T01:06:00Z")

</div>

I have non non-plain-text story without any steps\_for, can it be run? If so, how? Thanks, Nate

---

## [Alias\_method allows illegal identifier name](https://www.ruby-forum.com/t/alias-method-allows-illegal-identifier-name/118811)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [October 31, 2007, 9:41am UTC](https://www.ruby-forum.com/t/alias-method-allows-illegal-identifier-name/118811 "2007-10-31T09:41:30Z")

</div>

e$B$O$8$a$^$7$Fe(J alias\_method e$B$G!"?7$7$$L\>A0$K\<1JL;R$H$7$F$OIT@5$Je(J e$BJ8;zNs$rEO$7$F$b!"JLL\>Dj5A$G$-$F$7$^$$$^$9e(J e$B$b$A$m$s%3!\<%k$G$-$^$;$s$,e(J $ cat e.rb module M def m() end alias\_method “\\t\\n”, :m …

---

## [A Little Ruby, A Lot of Objects](https://www.ruby-forum.com/t/a-little-ruby-a-lot-of-objects/118448)

<div class="topic-metadata">

**Author:** [@Devi\_Web\_D](https://www.ruby-forum.com/u/Devi_Web_D)\
**Replies:** 3\
**Last updated:** [October 27, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/a-little-ruby-a-lot-of-objects/118448 "2007-10-27T16:55:33Z")

</div>

I just stumbled across this. It’s an absolute beginning programmer’s tutorial (for programming and ruby), supposedly in the style of A Little Lisper (or A Little Schemer)(I haven’t read either). Anyhow, I have never s…

---

## [A programming question about building a block](https://www.ruby-forum.com/t/a-programming-question-about-building-a-block/114658)

<div class="topic-metadata">

**Author:** [@Dawei\_Shen](https://www.ruby-forum.com/u/Dawei_Shen)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/a-programming-question-about-building-a-block/114658 "2007-09-25T23:07:19Z")

</div>

Hey, Guys I encountered a programming problem when I tried to build a new block. I defined a subclass inside my block class, which looks like: class my\_block : gr\_block{ class my\_subclass { sub\_class details } } W…

---

## [How to add dropdown list to this?](https://www.ruby-forum.com/t/how-to-add-dropdown-list-to-this/83258)

<div class="topic-metadata">

**Author:** [@Ryan\_Overton](https://www.ruby-forum.com/u/Ryan_Overton)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/how-to-add-dropdown-list-to-this/83258 "2007-09-25T22:52:28Z")

</div>

Pretty new to all of this…getting frustrated. Search Service Tag: \<%= text\_field\_tag("query2", @params\['query2'\], :size =\> 10 ) %\>

---

## [Create method calling wrong column name in a table](https://www.ruby-forum.com/t/create-method-calling-wrong-column-name-in-a-table/115021)

<div class="topic-metadata">

**Author:** [@whitewolfaustria](https://www.ruby-forum.com/u/whitewolfaustria)\
**Replies:** 3\
**Last updated:** [September 20, 2007, 3:41pm UTC](https://www.ruby-forum.com/t/create-method-calling-wrong-column-name-in-a-table/115021 "2007-09-20T15:41:26Z")

</div>

I have a multitable database with an observer logging changes into a datachange table. The create method inserts the data into the data change table, updates my model, and then trys to load from the datachange table. …

---

## [Beginning a variable name with a number](https://www.ruby-forum.com/t/beginning-a-variable-name-with-a-number/112959)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 3\
**Last updated:** [August 25, 2007, 10:24am UTC](https://www.ruby-forum.com/t/beginning-a-variable-name-with-a-number/112959 "2007-08-25T10:24:46Z")

</div>

I have a symbol that I need to name with a number as the first character, but that’s invalid ruby syntax. e.g.: t.column :\_3g2, :integer How can I somehow escape the ‘3’ so I don’t have the use the ‘\_’ in the variabl…

---

## [Asociaciones](https://www.ruby-forum.com/t/asociaciones/112385)

<div class="topic-metadata">

**Author:** [@nexon](https://www.ruby-forum.com/u/nexon)\
**Replies:** 3\
**Last updated:** [August 19, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/asociaciones/112385 "2007-08-19T20:42:55Z")

</div>

Holas!, miren tengo el siguiente dilema, tengo 2 modelos usuario y tarea, a usuario le corresponden varias tareas (has\_many :tareas) y a tarea -obviamente- le corresponde un usuario (belongs\_to :usuario). por ejemplo …

---

## [Javascript\_include\_tag - release number instead of time stam](https://www.ruby-forum.com/t/javascript-include-tag-release-number-instead-of-time-stam/111675)

<div class="topic-metadata">

**Author:** [@helzer](https://www.ruby-forum.com/u/helzer)\
**Replies:** 3\
**Last updated:** [August 9, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/javascript-include-tag-release-number-instead-of-time-stam/111675 "2007-08-09T20:06:43Z")

</div>

I’ve noticed that the major part of my pages’ load time is the Javascript for prototype and effects. Instead of forcing a reload per request (by attaching the ?timestamp parameter), I’d like to force reload this per r…

---

## [Name clash in C extension](https://www.ruby-forum.com/t/name-clash-in-c-extension/107684)

<div class="topic-metadata">

**Author:** [@oscar-alexander](https://www.ruby-forum.com/u/oscar-alexander)\
**Replies:** 3\
**Last updated:** [July 3, 2007, 4:07pm UTC](https://www.ruby-forum.com/t/name-clash-in-c-extension/107684 "2007-07-03T16:07:47Z")

</div>

Hi, I’m trying to write an extension interfacing with the C iGraph library (http://cneurocvs.rmki.kfki.hu/igraph/). Unfortunately the iGraph header files define a macro called TYPE which clashes with the TYPE macro d…

---

## [Help with form\_for helper selects](https://www.ruby-forum.com/t/help-with-form-for-helper-selects/108076)

<div class="topic-metadata">

**Author:** [@CPerry](https://www.ruby-forum.com/u/CPerry)\
**Replies:** 3\
**Last updated:** [June 29, 2007, 12:13am UTC](https://www.ruby-forum.com/t/help-with-form-for-helper-selects/108076 "2007-06-29T00:13:59Z")

</div>

Hey all, I am building a form for my app and I am having some trouble with creating a select for the form. In my form\_for helper, I am attempting to create a selection drop down and here is the code for that… I…

---

## [Choosing tools (RoR/drupal/other)](https://www.ruby-forum.com/t/choosing-tools-ror-drupal-other/105117)

<div class="topic-metadata">

**Author:** [@nvm](https://www.ruby-forum.com/u/nvm)\
**Replies:** 3\
**Last updated:** [May 29, 2007, 1:53am UTC](https://www.ruby-forum.com/t/choosing-tools-ror-drupal-other/105117 "2007-05-29T01:53:31Z")

</div>

Hi! I have an idea for a project that would be based around a community like website. I am currently trying to evaluate different tools for me to build my site with. Though I’m fairly new to developing server side thi…

---

## [Form\_remote\_tag not sending xml\_http\_request](https://www.ruby-forum.com/t/form-remote-tag-not-sending-xml-http-request/103147)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 3\
**Last updated:** [May 2, 2007, 2:46pm UTC](https://www.ruby-forum.com/t/form-remote-tag-not-sending-xml-http-request/103147 "2007-05-02T14:46:39Z")

</div>

I have a form defined in a view : \<% form\_remote\_tag( :url =\>{:action =\> ‘list’ }, :html =\> {:id =\> ‘prop\_search\_form’, :name =\> “prop\_search\_form”}) do %\> … \<% end %\> when submitted, the check in list action of th…

---

## [Bad file descriptor](https://www.ruby-forum.com/t/bad-file-descriptor/103028)

<div class="topic-metadata">

**Author:** [@parvg](https://www.ruby-forum.com/u/parvg)\
**Replies:** 3\
**Last updated:** [May 2, 2007, 4:06am UTC](https://www.ruby-forum.com/t/bad-file-descriptor/103028 "2007-05-02T04:06:21Z")

</div>

Hi, Does anybody here use selenium? If yes have you experienced an error “Bad File Descriptor…”? When i try to run on of the selenium examples for ruby i get the above message. Can anybody offers some help. I’m us…

---

## [Leggere files gzip](https://www.ruby-forum.com/t/leggere-files-gzip/92719)

<div class="topic-metadata">

**Author:** [@sulfarom](https://www.ruby-forum.com/u/sulfarom)\
**Replies:** 3\
**Last updated:** [May 2, 2007, 1:46am UTC](https://www.ruby-forum.com/t/leggere-files-gzip/92719 "2007-05-02T01:46:15Z")

</div>

C’e’ qualche libreria che consente di farlo?

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

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