# Top

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

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

---

## [USRP2 and MIMO](https://www.ruby-forum.com/t/usrp2-and-mimo/200828)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 23, 2010, 2:11am UTC](https://www.ruby-forum.com/t/usrp2-and-mimo/200828 "2010-12-23T02:11:44Z")

</div>

I have questions about using MIMO on USRP2, and also debugging FPGA code on USRP2. I am not using UHD. Connecting 2 USRPs with the MIMO cable: I am looking at the code for the mimo\_tx firmware and do not see how con…

---

## [Effect of samples\_per\_symbol on benchmark\_qt\_loopback2.py](https://www.ruby-forum.com/t/effect-of-samples-per-symbol-on-benchmark-qt-loopback2-py/200211)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 10, 2010, 4:56pm UTC](https://www.ruby-forum.com/t/effect-of-samples-per-symbol-on-benchmark-qt-loopback2-py/200211 "2010-12-10T16:56:13Z")

</div>

When I run gnuradio/gnuradio-examples/python/digital/benchmark\_qt\_loopback2.py I get a strange dependence on samples\_per\_symbol. I would naively have expected that the more samples per symbol the better, however: py…

---

## [HighLine freezes when using wrap\_at and page\_at](https://www.ruby-forum.com/t/highline-freezes-when-using-wrap-at-and-page-at/191595)

<div class="topic-metadata">

**Author:** [@LAMBEAU\_Bernard](https://www.ruby-forum.com/u/LAMBEAU_Bernard)\
**Replies:** 4\
**Last updated:** [July 15, 2010, 10:07pm UTC](https://www.ruby-forum.com/t/highline-freezes-when-using-wrap-at-and-page-at/191595 "2010-07-15T22:07:42Z")

</div>

Hi all, I’m experimenting a small problem when trying to use HighLine with wrap\_at/page\_at options… The script below leads to a deadlock under MacOS with all ruby installations I have (rvm) require 'rubygems' requi…

---

## [Git commit for 3.2.2 release?](https://www.ruby-forum.com/t/git-commit-for-3-2-2-release/188949)

<div class="topic-metadata">

**Author:** [@Catalin\_P](https://www.ruby-forum.com/u/Catalin_P)\
**Replies:** 4\
**Last updated:** [May 21, 2010, 11:47pm UTC](https://www.ruby-forum.com/t/git-commit-for-3-2-2-release/188949 "2010-05-21T23:47:00Z")

</div>

Hi, I’m trying to create a patch that applies cleanly onto a 3.2.2 tarball. I would like to maintain my changes in the form of a Git branch. I can’t seem to find a commit that matches up with the 3.2.2 release. The …

---

## [Semi global variables](https://www.ruby-forum.com/t/semi-global-variables/187569)

<div class="topic-metadata">

**Author:** [@Don\_F](https://www.ruby-forum.com/u/Don_F)\
**Replies:** 4\
**Last updated:** [April 26, 2010, 11:36pm UTC](https://www.ruby-forum.com/t/semi-global-variables/187569 "2010-04-26T23:36:08Z")

</div>

I have an application where multiple objects are created processing different sets of data based upon a configuration specified. Each object uses several other objects but those objects must use the configuration init…

---

## [HOW TO Track How Many Recipients Open Your Mail IN RAILS](https://www.ruby-forum.com/t/how-to-track-how-many-recipients-open-your-mail-in-rails/187366)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 4\
**Last updated:** [April 24, 2010, 6:35am UTC](https://www.ruby-forum.com/t/how-to-track-how-many-recipients-open-your-mail-in-rails/187366 "2010-04-24T06:35:35Z")

</div>

HOW TO Track How Many Recipients Open Your Mail IN RAILS? please help me PROVIDE SOLUTIONS AND STEPS OR ELSE ANY PLUGIN

---

## [HAS\_MANY BELONGS\_TO noobie question](https://www.ruby-forum.com/t/has-many-belongs-to-noobie-question/185854)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 4\
**Last updated:** [April 2, 2010, 6:41pm UTC](https://www.ruby-forum.com/t/has-many-belongs-to-noobie-question/185854 "2010-04-02T18:41:11Z")

</div>

Hey, I made my authentication system using Authlogic, and I have a current\_user helper Now, I also made a scaffold called posts, and everytime a user creates a post using that scaffold, i want it to be assigned to th…

---

## [Trying to set text\_area helper class for css =\> getting weirdness](https://www.ruby-forum.com/t/trying-to-set-text-area-helper-class-for-css-getting-weirdness/184540)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 4\
**Last updated:** [March 4, 2010, 7:08pm UTC](https://www.ruby-forum.com/t/trying-to-set-text-area-helper-class-for-css-getting-weirdness/184540 "2010-03-04T19:08:54Z")

</div>

here’s my view code: \<%= f.text\_area :notes, :cols =\> 40, :rows =\> 15, :class =\> ‘focus’ %\> here’s what firefox shows is being gen’d: note that I’m ending up with a class = “focus text\_area” instead of the expected…

---

## [Complex type-checking](https://www.ruby-forum.com/t/complex-type-checking/183868)

<div class="topic-metadata">

**Author:** [@lqqkout4elfy](https://www.ruby-forum.com/u/lqqkout4elfy)\
**Replies:** 4\
**Last updated:** [February 22, 2010, 1:29pm UTC](https://www.ruby-forum.com/t/complex-type-checking/183868 "2010-02-22T13:29:31Z")

</div>

I have a number of methods that can take arguments in two different forms. As an example: method(tuple \[, …\]) where ‘tuple’ can be things like (Point, Point, Integer) or (Numeric, Numeric, Numeric, Numeric, Integer)…

---

## [Usrp2](https://www.ruby-forum.com/t/usrp2/182009)

<div class="topic-metadata">

**Author:** [@halidziya\_yerebakan](https://www.ruby-forum.com/u/halidziya_yerebakan)\
**Replies:** 4\
**Last updated:** [January 22, 2010, 8:35pm UTC](https://www.ruby-forum.com/t/usrp2/182009 "2010-01-22T20:35:23Z")

</div>

Hi All; I am new about gnuradio. I tried in Beagleboard . It cause a problem with prims library. I hope I will solve with appliying libusb patch in open embedded. But I have also USRP2 and I am unable to compil…

---

## [Merging partial, incomplete data files](https://www.ruby-forum.com/t/merging-partial-incomplete-data-files/177683)

<div class="topic-metadata">

**Author:** [@bterkuile](https://www.ruby-forum.com/u/bterkuile)\
**Replies:** 4\
**Last updated:** [October 23, 2009, 12:42am UTC](https://www.ruby-forum.com/t/merging-partial-incomplete-data-files/177683 "2009-10-23T00:42:37Z")

</div>

Hello all, I write scripts for fun and am still a noob. I’d like to use ruby to solve a problem for me but find it difficult this time so I thought I’d ask for help. It’s very basic in fact. I have 2 csv files I’d l…

---

## [Backtracking through a file](https://www.ruby-forum.com/t/backtracking-through-a-file/175395)

<div class="topic-metadata">

**Author:** [@atreides](https://www.ruby-forum.com/u/atreides)\
**Replies:** 4\
**Last updated:** [September 12, 2009, 9:44pm UTC](https://www.ruby-forum.com/t/backtracking-through-a-file/175395 "2009-09-12T21:44:12Z")

</div>

IO.gets steps through a file one line at a time. However, I cannot figure out how to (once i find something i need in the file) go backwards line by line through that file until i find something else. I thought possib…

---

## [Rewrite rule from apache](https://www.ruby-forum.com/t/rewrite-rule-from-apache/169295)

<div class="topic-metadata">

**Author:** [@matt91](https://www.ruby-forum.com/u/matt91)\
**Replies:** 4\
**Last updated:** [June 2, 2009, 6:39pm UTC](https://www.ruby-forum.com/t/rewrite-rule-from-apache/169295 "2009-06-02T18:39:48Z")

</div>

I’m new to nginx. I’ve got it all set up apart from a few rewrite rules I need to add from apache, these are: RewriteRule ^bg\_sound\_(\[^\_\]\*).xspf$ /includes/bg\_audio\_player/bg\_sound.php?tributeid=$1 RewriteRule ^elvis…

---

## [Running Multiple Rails Apps in Developer Machine](https://www.ruby-forum.com/t/running-multiple-rails-apps-in-developer-machine/151529)

<div class="topic-metadata">

**Author:** [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Replies:** 4\
**Last updated:** [October 22, 2008, 4:51pm UTC](https://www.ruby-forum.com/t/running-multiple-rails-apps-in-developer-machine/151529 "2008-10-22T16:51:41Z")

</div>

Hi. I use a Windows XP system for development. Suppose i am doing a project in Rails. I am having another application in Rails which is used to create and view code snippets so that i can copy paste in my other projec…

---

## [Serializable Continuations in Ruby](https://www.ruby-forum.com/t/serializable-continuations-in-ruby/146626)

<div class="topic-metadata">

**Author:** [@lynchnco](https://www.ruby-forum.com/u/lynchnco)\
**Replies:** 4\
**Last updated:** [August 23, 2008, 8:58am UTC](https://www.ruby-forum.com/t/serializable-continuations-in-ruby/146626 "2008-08-23T08:58:58Z")

</div>

Does anyone know if there are any plans for implementing serializable continuations in the future? I need the feature, and Scheme has it, but I would like to avoid having to learn Scheme if possible. I’m just not a pr…

---

## [Show Validation Errors after redirecting](https://www.ruby-forum.com/t/show-validation-errors-after-redirecting/143419)

<div class="topic-metadata">

**Author:** [@christoph](https://www.ruby-forum.com/u/christoph)\
**Replies:** 4\
**Last updated:** [July 18, 2008, 4:31pm UTC](https://www.ruby-forum.com/t/show-validation-errors-after-redirecting/143419 "2008-07-18T16:31:48Z")

</div>

Hi all, I’ve got another newbie question. I have Article and Comment models/ controllers, and users can comment articles, this should be pretty clear :slight\_smile: Here is some code: class CommentsController \< Appl…

---

## [Migrating the database when switiching to a branch with a different schema](https://www.ruby-forum.com/t/migrating-the-database-when-switiching-to-a-branch-with-a-different-schema/141907)

<div class="topic-metadata">

**Author:** [@neil](https://www.ruby-forum.com/u/neil)\
**Replies:** 4\
**Last updated:** [July 2, 2008, 8:36am UTC](https://www.ruby-forum.com/t/migrating-the-database-when-switiching-to-a-branch-with-a-different-schema/141907 "2008-07-02T08:36:13Z")

</div>

Does anyone have any suggestions on how to quickly move to and from Git branches with different database schemas? For example, my ‘master’ branch only has a ‘users’ scaffold, but my ‘adding\_pictures’ branch has ‘users…

---

## [Items.last is most recent?](https://www.ruby-forum.com/t/items-last-is-most-recent/141811)

<div class="topic-metadata">

**Author:** [@george\_b](https://www.ruby-forum.com/u/george_b)\
**Replies:** 4\
**Last updated:** [June 30, 2008, 10:25pm UTC](https://www.ruby-forum.com/t/items-last-is-most-recent/141811 "2008-06-30T22:25:04Z")

</div>

If a model :has\_many :items, can I rely on items.last being the most recently created Item? Or is this just a really bad idea? Thanks, -george

---

## [Ruby1.8.7 $B$G(B Rails2.0.2 $B$,F0$+$J$$(B](https://www.ruby-forum.com/t/ruby1-8-7-b-g-b-rails2-0-2-b-f0-j-b/139585)

<div class="topic-metadata">

**Author:** [@okkez](https://www.ruby-forum.com/u/okkez)\
**Replies:** 4\
**Last updated:** [June 6, 2008, 11:39am UTC](https://www.ruby-forum.com/t/ruby1-8-7-b-g-b-rails2-0-2-b-f0-j-b/139585 "2008-06-06T11:39:16Z")

</div>

okkez e$B$G$9!#e(B Ruby1.8.7 e$B$Ge(B Rails 2.0.2 e$B$,F0$-$^$;$s!#e(B e$B\<+J,$G%S%k%I$7$?$N$He(B Debian e$B$N%Q%C%1!\<%8$r;n$7$^$7$?!#e(B e$B0J2\<$G:F8=$9$k$H;W$$$^$9!#e(B $ rails 2.0.2 hoge $ cd hoge $ script/gener…

---

## [How do I access this parameter?](https://www.ruby-forum.com/t/how-do-i-access-this-parameter/129130)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [February 14, 2008, 8:15pm UTC](https://www.ruby-forum.com/t/how-do-i-access-this-parameter/129130 "2008-02-14T20:15:14Z")

</div>

Hi, I have a form for creating users … \<% form\_tag ‘userconfirm’ do -%\> Username \<%= text\_field 'user', 'login' %\> Password \<%= password\_field 'user', 'password' %\> Confirm Password \<%= password\_field 'user', …

---

## [CSSs](https://www.ruby-forum.com/t/csss/128819)

<div class="topic-metadata">

**Author:** [@fernan2](https://www.ruby-forum.com/u/fernan2)\
**Replies:** 4\
**Last updated:** [February 12, 2008, 1:50am UTC](https://www.ruby-forum.com/t/csss/128819 "2008-02-12T01:50:31Z")

</div>

Â¿CÃ³mo hacÃ©is vosotros los CSS? Â¿Uno general mas uno por controlador? Â¿todo junto? Es que a medida que va creciendo la pÃ¡gina, me parece que tener las cosas especÃ­ficas de una pÃ¡gina en el CSS comÃºn es una bar…

---

## [Okay, I'm finally asking for help](https://www.ruby-forum.com/t/okay-im-finally-asking-for-help/126054)

<div class="topic-metadata">

**Author:** [@visage](https://www.ruby-forum.com/u/visage)\
**Replies:** 4\
**Last updated:** [January 15, 2008, 3:41am UTC](https://www.ruby-forum.com/t/okay-im-finally-asking-for-help/126054 "2008-01-15T03:41:13Z")

</div>

Hi, all! I would love if someone could help me figure this out. I can’t seem to see why the following fails: Here’s the spec: it “should redirect back to the index page” do Coupon.should\_receive (:new).with({“name…

---

## [Routing error](https://www.ruby-forum.com/t/routing-error/123491)

<div class="topic-metadata">

**Author:** [@isea](https://www.ruby-forum.com/u/isea)\
**Replies:** 4\
**Last updated:** [December 20, 2007, 12:20am UTC](https://www.ruby-forum.com/t/routing-error/123491 "2007-12-20T00:20:49Z")

</div>

Hello All, I am getting a routing error for every new project I start. I have searched tons for this issue but have come up with nothing that will remedy my problem. I am using RubyStack on a vista machine. Below in m…

---

## [FileUtils, a useful extension](https://www.ruby-forum.com/t/fileutils-a-useful-extension/121761)

<div class="topic-metadata">

**Author:** [@polypus](https://www.ruby-forum.com/u/polypus)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/fileutils-a-useful-extension/121761 "2007-12-12T19:11:40Z")

</div>

i find these come in real handy, and thought they would be good for inclusion into FileUtils or barring that, then maybe the guys at Facets lib might be interested. they are based on Unix shell test options, i.e. \[ -d…

---

## [File fun! How would you](https://www.ruby-forum.com/t/file-fun-how-would-you/120896)

<div class="topic-metadata">

**Author:** [@Casimir](https://www.ruby-forum.com/u/Casimir)\
**Replies:** 4\
**Last updated:** [November 22, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/file-fun-how-would-you/120896 "2007-11-22T17:15:40Z")

</div>

…index in a hash… …all directories under ‘src’… …that contain filetypes in ‘ft\[\]’… …without getting lost in arrays inside arrays… #Here is my try src="/" tmpindex = \[\] filetypes = \[".jpg", “.png”, “.gif”, “.bmp”\] …

---

## [Why Does This Controller Hang?](https://www.ruby-forum.com/t/why-does-this-controller-hang/118639)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 4\
**Last updated:** [October 29, 2007, 7:33pm UTC](https://www.ruby-forum.com/t/why-does-this-controller-hang/118639 "2007-10-29T19:33:54Z")

</div>

Given this controller: require ‘open-uri’ class HangController \< ApplicationController def m1 @content = open(‘http://localhost:3000/hang/m2’) do |s| s.read end end def m2 end end I know there are probably a …

---

## [Is this possible?](https://www.ruby-forum.com/t/is-this-possible/117785)

<div class="topic-metadata">

**Author:** [@Ben\_Marklein](https://www.ruby-forum.com/u/Ben_Marklein)\
**Replies:** 4\
**Last updated:** [October 20, 2007, 11:47am UTC](https://www.ruby-forum.com/t/is-this-possible/117785 "2007-10-20T11:47:53Z")

</div>

I’m relatively new to nginx and I’m trying to figure out whether it’s suitable for a specific use I have. I’d like to set up the following for serving a high volume of “badge” images in a lazy mannger. These are ima…

---

## [A self-contained Rails application/benchmark?](https://www.ruby-forum.com/t/a-self-contained-rails-application-benchmark/114951)

<div class="topic-metadata">

**Author:** [@znmeb](https://www.ruby-forum.com/u/znmeb)\
**Replies:** 4\
**Last updated:** [September 21, 2007, 4:34am UTC](https://www.ruby-forum.com/t/a-self-contained-rails-application-benchmark/114951 "2007-09-21T04:34:28Z")

</div>

I’m looking for a self-contained Rails application that I can use as a benchmark for Ruby, Rails, and presumably the hardware and RDBMS as well. It must be open source. It’s not particularly important to me what the a…

---

## [Run script against every file in a directory](https://www.ruby-forum.com/t/run-script-against-every-file-in-a-directory/114587)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 4\
**Last updated:** [September 17, 2007, 7:41pm UTC](https://www.ruby-forum.com/t/run-script-against-every-file-in-a-directory/114587 "2007-09-17T19:41:06Z")

</div>

Hi, I’m currently tryin to implement a ruby script which will run through a directory of javascript files and run jsmin.rb against each of them as a part of my build script. im running into a number of silly issues so…

---

## [WebServices & WSDL](https://www.ruby-forum.com/t/webservices-wsdl/113457)

<div class="topic-metadata">

**Author:** [@sirtyman](https://www.ruby-forum.com/u/sirtyman)\
**Replies:** 4\
**Last updated:** [September 3, 2007, 7:21pm UTC](https://www.ruby-forum.com/t/webservices-wsdl/113457 "2007-09-03T19:21:23Z")

</div>

Hi guys, Here is a part of my code (part o my class): @soaps\<\<SOAP::WSDLDriverFactory.new("http://#{@Address}:#{@wsPort}/#{wsdl}").create\_rpc\_driver() def method\_missing(m,\*args) @soaps.each do |soap| begin resul…

---

## [Turn of dependencies so that a destroy will not destroy chil](https://www.ruby-forum.com/t/turn-of-dependencies-so-that-a-destroy-will-not-destroy-chil/113330)

<div class="topic-metadata">

**Author:** [@newrubyguy](https://www.ruby-forum.com/u/newrubyguy)\
**Replies:** 4\
**Last updated:** [August 30, 2007, 12:09am UTC](https://www.ruby-forum.com/t/turn-of-dependencies-so-that-a-destroy-will-not-destroy-chil/113330 "2007-08-30T00:09:39Z")

</div>

Hello, Can i turn of dependencies so that a destroy on one table will not automatically destroy data in the child table? Thanks

---

## [Upload performance](https://www.ruby-forum.com/t/upload-performance/112112)

<div class="topic-metadata">

**Author:** [@Pier\_Luigi\_R](https://www.ruby-forum.com/u/Pier_Luigi_R)\
**Replies:** 4\
**Last updated:** [August 20, 2007, 2:10pm UTC](https://www.ruby-forum.com/t/upload-performance/112112 "2007-08-20T14:10:44Z")

</div>

Hello, I’ve been doing some tests for uploading large files (say \> 50MB) from a form using ruby on rails, has anyone experienced poor performance during this operation ? I’ve tried every method described in wikis, tu…

---

## [Return first line of parsing](https://www.ruby-forum.com/t/return-first-line-of-parsing/112329)

<div class="topic-metadata">

**Author:** [@h4z3](https://www.ruby-forum.com/u/h4z3)\
**Replies:** 4\
**Last updated:** [August 18, 2007, 1:28am UTC](https://www.ruby-forum.com/t/return-first-line-of-parsing/112329 "2007-08-18T01:28:58Z")

</div>

mysite.each {|line| if line =~ / (.+)\</b\>/ puts “#{$2} found at: #{$1}” end } Ok guys, Lets say the website has 50+ lines… and i only want to return the first one, any ideas?

---

## [Excel without ole](https://www.ruby-forum.com/t/excel-without-ole/111761)

<div class="topic-metadata">

**Author:** [@ar43r](https://www.ruby-forum.com/u/ar43r)\
**Replies:** 4\
**Last updated:** [August 11, 2007, 9:42am UTC](https://www.ruby-forum.com/t/excel-without-ole/111761 "2007-08-11T09:42:14Z")

</div>

Hi, everybody, Do somebody know how to manipulate the existing excel document without win32ole on Mac os or linux? Best regards

---

## [Howto use ENCRYPT() function of MySQL](https://www.ruby-forum.com/t/howto-use-encrypt-function-of-mysql/111478)

<div class="topic-metadata">

**Author:** [@babyloon00](https://www.ruby-forum.com/u/babyloon00)\
**Replies:** 4\
**Last updated:** [August 10, 2007, 12:26pm UTC](https://www.ruby-forum.com/t/howto-use-encrypt-function-of-mysql/111478 "2007-08-10T12:26:27Z")

</div>

Hi all, I’m working actually on a Control Panel to manage a mail system. Until now, when I create a new mail account, i do an insert and protect the pasword with ENCRYPT(‘password’) function. I can’t change the metho…

---

## [Remove session string from css and js file?](https://www.ruby-forum.com/t/remove-session-string-from-css-and-js-file/107325)

<div class="topic-metadata">

**Author:** [@nickmenow](https://www.ruby-forum.com/u/nickmenow)\
**Replies:** 4\
**Last updated:** [June 20, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/remove-session-string-from-css-and-js-file/107325 "2007-06-20T16:21:34Z")

</div>

How do you remove the session string from the css and js file? I have already set the ApplicationController session :disabled =\> true Any suggestions or a site that already has this solution? Thank you, Nickmenow

---

## [Self-relationship](https://www.ruby-forum.com/t/self-relationship/91424)

<div class="topic-metadata">

**Author:** [@tarini](https://www.ruby-forum.com/u/tarini)\
**Replies:** 4\
**Last updated:** [April 10, 2007, 10:06am UTC](https://www.ruby-forum.com/t/self-relationship/91424 "2007-04-10T10:06:47Z")

</div>

salve ragazzi, sto facendo un po’ di test con rails per cercare di entrare davvero nella sua logica. Sto realizzando una sorta di gestione utenti. Ogni utente oltre ai campi “standard” (name, surname, email, user, pa…

---

## [Ideas for rails](https://www.ruby-forum.com/t/ideas-for-rails/85763)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [February 16, 2007, 4:34am UTC](https://www.ruby-forum.com/t/ideas-for-rails/85763 "2007-02-16T04:34:46Z")

</div>

Here are a few suggestions, wondering what others thought: When you generate a model for a DB table, it would be nice if the model.rb contained the DB schema (kind of like # commented out schema) right in the model fi…

---

## [Gem dependency (Hpricot)](https://www.ruby-forum.com/t/gem-dependency-hpricot/76917)

<div class="topic-metadata">

**Author:** [@hanholl](https://www.ruby-forum.com/u/hanholl)\
**Replies:** 4\
**Last updated:** [November 24, 2006, 9:30pm UTC](https://www.ruby-forum.com/t/gem-dependency-hpricot/76917 "2006-11-24T21:30:58Z")

</div>

Hi, This is from Hpricot’s install page: If you’d prefer not to use RubyGems, you can also acquire a plain Ruby distribution: http://code.whytheluckystiff.net/dist/hpricot-0.4.tgz However, if you download, and try to…

---

## [Links for poor developers - \<a href\>](https://www.ruby-forum.com/t/links-for-poor-developers-a-href/76263)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 4\
**Last updated:** [November 17, 2006, 3:12am UTC](https://www.ruby-forum.com/t/links-for-poor-developers-a-href/76263 "2006-11-17T03:12:50Z")

</div>

I don’t enjoy getting involved in design much, mostly because of cross browser issues / css. Anyway, I’m needing a nice menu. Problem is , most of what is out there uses standard html links - And the css is coded a…

---

## [Help: restful and ajax call](https://www.ruby-forum.com/t/help-restful-and-ajax-call/74053)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 4\
**Last updated:** [October 29, 2006, 5:17pm UTC](https://www.ruby-forum.com/t/help-restful-and-ajax-call/74053 "2006-10-29T17:17:16Z")

</div>

After I thought this was fixed I found out that it wasn’t. What i want to do is give the user the ability to add additional text\_fields to their form. I’ve created the calls and forms but let me show what’s going on: …

---

## [Empty project in RadRails](https://www.ruby-forum.com/t/empty-project-in-radrails/68140)

<div class="topic-metadata">

**Author:** [@detoxxx](https://www.ruby-forum.com/u/detoxxx)\
**Replies:** 4\
**Last updated:** [September 10, 2006, 9:20am UTC](https://www.ruby-forum.com/t/empty-project-in-radrails/68140 "2006-09-10T09:20:21Z")

</div>

Hello, i have problem in RadRails, everytime i create new project. This project is empty, i see only its name without subfolders etc. Any advice for me? Thanks for help. My second problem i have with RubyOnRails: load…

---

## [Rails - forms](https://www.ruby-forum.com/t/rails-forms/101219)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 4\
**Last updated:** [August 6, 2006, 6:17pm UTC](https://www.ruby-forum.com/t/rails-forms/101219 "2006-08-06T18:17:05Z")

</div>

Currently I have a registration form that is built like this: First name \<%= text\_field “user”, “first\_name” %\> Last name \<%= text\_field “user”, “last\_name” %\> Email \<%= text\_field “user”, “email” %\> User type …

---

## [Is it possible to duplicate a key? --new](https://www.ruby-forum.com/t/is-it-possible-to-duplicate-a-key-new/101025)

<div class="topic-metadata">

**Author:** [@ricardo](https://www.ruby-forum.com/u/ricardo)\
**Replies:** 4\
**Last updated:** [August 3, 2006, 11:07pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-duplicate-a-key-new/101025 "2006-08-03T23:07:55Z")

</div>

Im not very familiar with RoR so this question might be kind of silly. I want to store strings from different lenguages in a database. I want to have the key for the string in english be the ‘key’ for all the corresp…

---

## [Newbie question about .rhtml](https://www.ruby-forum.com/t/newbie-question-about-rhtml/99513)

<div class="topic-metadata">

**Author:** [@Jean-Daniel\_B](https://www.ruby-forum.com/u/Jean-Daniel_B)\
**Replies:** 4\
**Last updated:** [July 25, 2006, 8:47am UTC](https://www.ruby-forum.com/t/newbie-question-about-rhtml/99513 "2006-07-25T08:47:16Z")

</div>

Hi everyone, coming from PHP something in the .rhtml files has been confusing the heck out of me. Why does this work? \<% for header in @all\_headers %\> \<%= header.subject %\> \<% end %\> and both of these don’t work \<%…

---

## [Problem with reqular expression](https://www.ruby-forum.com/t/problem-with-reqular-expression/61349)

<div class="topic-metadata">

**Author:** [@ilyas](https://www.ruby-forum.com/u/ilyas)\
**Replies:** 4\
**Last updated:** [May 23, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/problem-with-reqular-expression/61349 "2006-05-23T14:20:00Z")

</div>

I have this string: Color1 R=144 G=248 B=255 Need regular expression for get R,G,B How I can simplify it: lines.gsub!(/Color1 R=(\\d+) G=(\\d+) B=(\\d+)/) { puts $1 puts $2 puts $3 }

---

## [Some changes to scopesink.py](https://www.ruby-forum.com/t/some-changes-to-scopesink-py/94523)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [May 11, 2006, 5:32am UTC](https://www.ruby-forum.com/t/some-changes-to-scopesink-py/94523 "2006-05-11T05:32:40Z")

</div>

Hi, I’ve made some changes to scopesink.py so that it also allows it to plot the modulus (sqrt(I^2 + Q^2)) and phase (atan2(Q, I)) of a 2 channel signal as a function of time. It scales the modulus signal as the user…

---

## [Is "display" a reserved name of some sort?](https://www.ruby-forum.com/t/is-display-a-reserved-name-of-some-sort/53978)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 4\
**Last updated:** [February 19, 2006, 3:22am UTC](https://www.ruby-forum.com/t/is-display-a-reserved-name-of-some-sort/53978 "2006-02-19T03:22:34Z")

</div>

A view display.rhtml sees no controller state variables set in the corresponding display action. Why? – fxn

---

## [Displaying object variables, not obj ID](https://www.ruby-forum.com/t/displaying-object-variables-not-obj-id/50986)

<div class="topic-metadata">

**Author:** [@Tobias\_J](https://www.ruby-forum.com/u/Tobias_J)\
**Replies:** 4\
**Last updated:** [December 23, 2005, 4:13pm UTC](https://www.ruby-forum.com/t/displaying-object-variables-not-obj-id/50986 "2005-12-23T16:13:45Z")

</div>

I’m having problems with displaying an object correctly. I keep getting the obj’s ID back, like this: sendto("Chromosomes: " + p.c\_chromosomes.to\_s) # sort of ‘puts’ =\> Chromosomes: #Chromosome:0x10267658 C…

---

## [Additional database condition in -all- queries?](https://www.ruby-forum.com/t/additional-database-condition-in-all-queries/49259)

<div class="topic-metadata">

**Author:** [@janovetz](https://www.ruby-forum.com/u/janovetz)\
**Replies:** 4\
**Last updated:** [December 2, 2005, 8:11am UTC](https://www.ruby-forum.com/t/additional-database-condition-in-all-queries/49259 "2005-12-02T08:11:07Z")

</div>

Hello- Regarding a web application that is provided to several different customers, my original plan was to have separate databases for each customer. The Rails app would then choose the right database determined by…

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

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