# Top

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

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

---

## [Code to login into any account with login and passport](https://www.ruby-forum.com/t/code-to-login-into-any-account-with-login-and-passport/90523)

<div class="topic-metadata">

**Author:** [@Sachin\_Gadkar](https://www.ruby-forum.com/u/Sachin_Gadkar)\
**Replies:** 4\
**Last updated:** [March 30, 2007, 9:29am UTC](https://www.ruby-forum.com/t/code-to-login-into-any-account-with-login-and-passport/90523 "2007-03-30T09:29:30Z")

</div>

Hi Ruby\_pals, Say, I have login and password for an account. Is it possible to get logged into it through a ruby code. Kindly suggest, ways. – removed\_email\_address@domain.invalid URL : http://nichas143.tripod.com

---

## [Ym4r plugin, problems?](https://www.ruby-forum.com/t/ym4r-plugin-problems/87631)

<div class="topic-metadata">

**Author:** [@mixplate](https://www.ruby-forum.com/u/mixplate)\
**Replies:** 4\
**Last updated:** [March 5, 2007, 12:36am UTC](https://www.ruby-forum.com/t/ym4r-plugin-problems/87631 "2007-03-05T00:36:39Z")

</div>

Hi, after installing the plugin and running a rake production command, i receive the following… /usr/local/lib/ruby/1.8/yaml.rb:133:in load' /usr/local/lib/ruby/1.8/yaml.rb:133:inload’ /usr/local/lib/ruby/1.8/yaml.rb…

---

## [Getting column names from a record set](https://www.ruby-forum.com/t/getting-column-names-from-a-record-set/87458)

<div class="topic-metadata">

**Author:** [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Replies:** 4\
**Last updated:** [March 2, 2007, 7:13pm UTC](https://www.ruby-forum.com/t/getting-column-names-from-a-record-set/87458 "2007-03-02T19:13:41Z")

</div>

Hello, I’m trying to get the column names associated w/ this record set: account\_all = Account.find(:all) Since account\_all is an array - how do I get the names? I know there’s got to be a simple way to do this.

---

## [Act\_as\_audited plugin](https://www.ruby-forum.com/t/act-as-audited-plugin/83371)

<div class="topic-metadata">

**Author:** [@Chika](https://www.ruby-forum.com/u/Chika)\
**Replies:** 4\
**Last updated:** [January 25, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/act-as-audited-plugin/83371 "2007-01-25T19:40:41Z")

</div>

EncontrÃ© este plugin que sirve para regustrar los cambios y los usuarios que los realizan. Me parece perfecto ya que es lo que necesito. Pero no entiendo muy bien como utilizarlo, ya lo tengo instalado pero no veo quÃ…

---

## [Quick question: continuing Ruby methods on different line](https://www.ruby-forum.com/t/quick-question-continuing-ruby-methods-on-different-line/70561)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 4\
**Last updated:** [September 30, 2006, 1:26pm UTC](https://www.ruby-forum.com/t/quick-question-continuing-ruby-methods-on-different-line/70561 "2006-09-30T13:26:10Z")

</div>

If you have a long method call like: some.long.method.call how can i make it some.long (next line) .method.call

---

## [Importing existing Oracle DB to Ruby](https://www.ruby-forum.com/t/importing-existing-oracle-db-to-ruby/69253)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [September 19, 2006, 7:22pm UTC](https://www.ruby-forum.com/t/importing-existing-oracle-db-to-ruby/69253 "2006-09-19T19:22:40Z")

</div>

We are moving ColdFusion applications to Ruby on Rails and we would like to keep our existing data. Is there a way to import the Oracle schema into Ruby using one of the commands? Thanks!

---

## [Save and Continue Editing](https://www.ruby-forum.com/t/save-and-continue-editing/95713)

<div class="topic-metadata">

**Author:** [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Replies:** 4\
**Last updated:** [June 10, 2006, 9:12pm UTC](https://www.ruby-forum.com/t/save-and-continue-editing/95713 "2006-06-10T21:12:28Z")

</div>

Also of note in Changeset 57: I added a “Save and Continue Editing” button Please note that this should be considered experimental. I haven’t decided if it’s an improvement or not. – John L. http://wiseheartdesign…

---

## [Converting class or type under single table inheritance](https://www.ruby-forum.com/t/converting-class-or-type-under-single-table-inheritance/61240)

<div class="topic-metadata">

**Author:** [@levent](https://www.ruby-forum.com/u/levent)\
**Replies:** 4\
**Last updated:** [May 22, 2006, 1:58pm UTC](https://www.ruby-forum.com/t/converting-class-or-type-under-single-table-inheritance/61240 "2006-05-22T13:58:04Z")

</div>

I think this query is more Ruby than Rails but I’m writing a Rails app using single table inheritance class User \< ActiveRecord::Base end class AdminUser \< User end The type column in the users table holds the clas…

---

## [Noob: The ruby way to multiple Array by multiple?](https://www.ruby-forum.com/t/noob-the-ruby-way-to-multiple-array-by-multiple/56116)

<div class="topic-metadata">

**Author:** [@eric99](https://www.ruby-forum.com/u/eric99)\
**Replies:** 4\
**Last updated:** [March 29, 2006, 6:09am UTC](https://www.ruby-forum.com/t/noob-the-ruby-way-to-multiple-array-by-multiple/56116 "2006-03-29T06:09:17Z")

</div>

I want to make a Array multipled by another Array, and the following semantic. For example: \[1, 2, 3\] \* \[4, 5\] then I will want \[\[1, 4\], \[1, 5\], \[2, 4\], \[2, 5\], \[3, 4\], \[3, 5\]\] returned. I have the following code s…

---

## [Trouble Running my new controller](https://www.ruby-forum.com/t/trouble-running-my-new-controller/55908)

<div class="topic-metadata">

**Author:** [@stewartm](https://www.ruby-forum.com/u/stewartm)\
**Replies:** 4\
**Last updated:** [March 25, 2006, 3:08am UTC](https://www.ruby-forum.com/t/trouble-running-my-new-controller/55908 "2006-03-25T03:08:22Z")

</div>

I’ve got Apache2, MySql5 installed on fc5, and I got RoR installed and set-up the database.yml file with correct username/password, etc – but RoR keeps complaining that it keeps losing connection; Mysql::Error: Lost …

---

## [Broken config/lighttpd.conf? (in EdgeRails)](https://www.ruby-forum.com/t/broken-config-lighttpd-conf-in-edgerails/55526)

<div class="topic-metadata">

**Author:** [@Peter\_T\_Bosse\_II](https://www.ruby-forum.com/u/Peter_T_Bosse_II)\
**Replies:** 4\
**Last updated:** [March 23, 2006, 12:42am UTC](https://www.ruby-forum.com/t/broken-config-lighttpd-conf-in-edgerails/55526 "2006-03-23T00:42:19Z")

</div>

I’m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the instructions from hivelogic. I think I’ve found a bug with EdgeRails, but I’m not sure how to submit it (and maybe I’m doing something wrong and someone…

---

## [Creating Application on base directory?](https://www.ruby-forum.com/t/creating-application-on-base-directory/71927)

<div class="topic-metadata">

**Author:** [@Jon\_Blower](https://www.ruby-forum.com/u/Jon_Blower)\
**Replies:** 4\
**Last updated:** [February 22, 2006, 6:56pm UTC](https://www.ruby-forum.com/t/creating-application-on-base-directory/71927 "2006-02-22T18:56:21Z")

</div>

Hi, Just wondering if its possible to set up an application to run on a base domain? If so, how? If you dont know what I mean so when I goto http://localhost:3000/ I dont get the rails information page? If you stil…

---

## [DRY relative to edit and show](https://www.ruby-forum.com/t/dry-relative-to-edit-and-show/50997)

<div class="topic-metadata">

**Author:** [@afg](https://www.ruby-forum.com/u/afg)\
**Replies:** 4\
**Last updated:** [December 23, 2005, 8:09pm UTC](https://www.ruby-forum.com/t/dry-relative-to-edit-and-show/50997 "2005-12-23T20:09:32Z")

</div>

I’m a newbie, but it seems like edit and show should somehow share a partial form. In particular I’ve customized the layout of my edit form by using a table and multiple rows/columns and I want my show form to look th…

---

## [Apache vs. Lighttpd](https://www.ruby-forum.com/t/apache-vs-lighttpd/48221)

<div class="topic-metadata">

**Author:** [@cool\_screen\_name900](https://www.ruby-forum.com/u/cool_screen_name900)\
**Replies:** 4\
**Last updated:** [November 18, 2005, 3:13am UTC](https://www.ruby-forum.com/t/apache-vs-lighttpd/48221 "2005-11-18T03:13:48Z")

</div>

I’m a long time user of Apache - first 1.3.x and then 2.x for about two years now I guess. People seem to be raving about Lighttpd, and, from what I’ve read, it appears to perform much better than Apache, especially …

---

## [Weird error when running migration](https://www.ruby-forum.com/t/weird-error-when-running-migration/94320)

<div class="topic-metadata">

**Author:** [@contact](https://www.ruby-forum.com/u/contact)\
**Replies:** 4\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/weird-error-when-running-migration/94320 "2005-11-12T12:49:48Z")

</div>

I’m having some troubles running what should be a simple migration yet I’m getting the error: rake aborted! wrong number of arguments (1 for 0) Here is my migration (the up() method): initial permissions Permission…

---

## [Ruby on rails migration](https://www.ruby-forum.com/t/ruby-on-rails-migration/210660)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [August 14, 2011, 9:18am UTC](https://www.ruby-forum.com/t/ruby-on-rails-migration/210660 "2011-08-14T09:18:44Z")

</div>

Hello, I am beginner to Ruby on rails doing a rails project with postgreSQL as back-end. I want to have two tables Table1 and Table2. Table1 has a column named say SUPPLIERNAME which is of string type, which should b…

---

## [Zena first gem: need testing](https://www.ruby-forum.com/t/zena-first-gem-need-testing/177325)

<div class="topic-metadata">

**Author:** [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Replies:** 6\
**Last updated:** [October 15, 2009, 9:06pm UTC](https://www.ruby-forum.com/t/zena-first-gem-need-testing/177325 "2009-10-15T21:06:20Z")

</div>

Hi List ! Zena is reaching maturity and we are in the process to deliver the CMS as a gem for the first time. Before pushing the gem in the wild, it would be really nice if some people could test the thing and give m…

---

## [Ruby training? Worry no more](https://www.ruby-forum.com/t/ruby-training-worry-no-more/167726)

<div class="topic-metadata">

**Author:** [@Garfeee](https://www.ruby-forum.com/u/Garfeee)\
**Replies:** 6\
**Last updated:** [May 14, 2009, 8:11pm UTC](https://www.ruby-forum.com/t/ruby-training-worry-no-more/167726 "2009-05-14T20:11:42Z")

</div>

Thank you, Kevin S… For an amazing video tutorial with Ruy on Rails Essential Training. Really good job explaining all that matters with the simplicity it needs to be understood by “newbies”. Loved the array \> pocket …

---

## [How ruby script/server work](https://www.ruby-forum.com/t/how-ruby-script-server-work/153155)

<div class="topic-metadata">

**Author:** [@mahmoud\_cs](https://www.ruby-forum.com/u/mahmoud_cs)\
**Replies:** 6\
**Last updated:** [December 1, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/how-ruby-script-server-work/153155 "2008-12-01T17:07:18Z")

</div>

how ruby script/server exactly work in rails?

---

## [Action\_mailer\_tls + Gmail](https://www.ruby-forum.com/t/action-mailer-tls-gmail/135674)

<div class="topic-metadata">

**Author:** [@sweetpete](https://www.ruby-forum.com/u/sweetpete)\
**Replies:** 6\
**Last updated:** [October 6, 2008, 10:14pm UTC](https://www.ruby-forum.com/t/action-mailer-tls-gmail/135674 "2008-10-06T22:14:02Z")

</div>

Hi, i am really struggling with getting gmail working in my rails app. I have installed this plugin: https://openrain.com/opensource/public/rails/plugins/action\_mailer\_tls/ I am implementing the ‘forgot password’ fea…

---

## [Patch for ruby-dev:34236](https://www.ruby-forum.com/t/patch-for-ruby-dev-34236/135273)

<div class="topic-metadata">

**Author:** [@wanabe](https://www.ruby-forum.com/u/wanabe)\
**Replies:** 6\
**Last updated:** [April 27, 2008, 5:56am UTC](https://www.ruby-forum.com/t/patch-for-ruby-dev-34236/135273 "2008-04-27T05:56:19Z")

</div>

e$B%o%J%Y$H?=$7$^$9!#e(B \[ruby-dev:34236\]e$B$KBP$9$k%Q%C%A$r=q$-$^$7$?!#e(B Proc e$B%\*%V%8%’%/%H$N:n@.$5$l$?0LCV$HL54X78$Ke(B module\_eval e$BCf$G$N%a%=%C%IDj5A$,$G$-$k$h$&$K$J$j$^$9!#e(B Index: eval.c — eval.c (revi…

---

## [How to serve images that require authentication](https://www.ruby-forum.com/t/how-to-serve-images-that-require-authentication/133241)

<div class="topic-metadata">

**Author:** [@apramanik](https://www.ruby-forum.com/u/apramanik)\
**Replies:** 6\
**Last updated:** [April 4, 2008, 12:21pm UTC](https://www.ruby-forum.com/t/how-to-serve-images-that-require-authentication/133241 "2008-04-04T12:21:18Z")

</div>

Hi all, I have images that are part of a user profile. These images should only be served to other users that view the profile. I’m new to web apps and was wondering what would be the best way to do this in rails. I …

---

## [Problems with rspec, models and relationships in 2.0](https://www.ruby-forum.com/t/problems-with-rspec-models-and-relationships-in-2-0/132465)

<div class="topic-metadata">

**Author:** [@Col\_W](https://www.ruby-forum.com/u/Col_W)\
**Replies:** 6\
**Last updated:** [March 31, 2008, 9:33am UTC](https://www.ruby-forum.com/t/problems-with-rspec-models-and-relationships-in-2-0/132465 "2008-03-31T09:33:19Z")

</div>

I have a couple of problems which are kinda related, so I’ll out them both here. I’ve been trying out rspec for the first time and I’m new to has\_many :through relationships, so excuse me. I want to relate a User to a…

---

## [Can this be more succinct?](https://www.ruby-forum.com/t/can-this-be-more-succinct/113190)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 6\
**Last updated:** [August 28, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/can-this-be-more-succinct/113190 "2007-08-28T18:44:54Z")

</div>

How can this be more succinct? Can I somehow put the nil check inline with the each? unless(params\[:categories\].nil?) params\[:categories\].each do |id| @subscriber.subscriptions.create :category\_id =\> id, :timestamp\_…

---

## [Concerns about starting a new "RESTfull compliant" site](https://www.ruby-forum.com/t/concerns-about-starting-a-new-restfull-compliant-site/86380)

<div class="topic-metadata">

**Author:** [@diegal](https://www.ruby-forum.com/u/diegal)\
**Replies:** 6\
**Last updated:** [March 6, 2007, 8:25am UTC](https://www.ruby-forum.com/t/concerns-about-starting-a-new-restfull-compliant-site/86380 "2007-03-06T08:25:55Z")

</div>

Hi all. I’m just starting a new app from scratch, and want to do it RESTfully… I’ve seen many blog posts, articles, and DHH’s RailsConf keynote about REST and resources and still have some questions about it. I’ve n…

---

## [DateTime](https://www.ruby-forum.com/t/datetime/79658)

<div class="topic-metadata">

**Author:** [@chell](https://www.ruby-forum.com/u/chell)\
**Replies:** 6\
**Last updated:** [December 18, 2006, 7:02am UTC](https://www.ruby-forum.com/t/datetime/79658 "2006-12-18T07:02:18Z")

</div>

Hi, I’ve just checked out this: http://ruby.cenophobie.com/RubyCheat.pdf Ruby cheat sheet. On the second page, DateTime is mentioned but when I try the following: DateTime::now or DateTime.now it says that the con…

---

## [Best way to sort the emails in a mailing list?](https://www.ruby-forum.com/t/best-way-to-sort-the-emails-in-a-mailing-list/99517)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 6\
**Last updated:** [July 23, 2006, 9:41pm UTC](https://www.ruby-forum.com/t/best-way-to-sort-the-emails-in-a-mailing-list/99517 "2006-07-23T21:41:47Z")

</div>

I know this isn’t really rails related, but I was wondering if anyone had a clever way to sort out which mailing list threads they’ve been involved with and which ones they haven’t. That way when a new email comes in …

---

## [Colored syntax output](https://www.ruby-forum.com/t/colored-syntax-output/63042)

<div class="topic-metadata">

**Author:** [@Robert\_MannI](https://www.ruby-forum.com/u/Robert_MannI)\
**Replies:** 6\
**Last updated:** [June 11, 2006, 8:03pm UTC](https://www.ruby-forum.com/t/colored-syntax-output/63042 "2006-06-11T20:03:41Z")

</div>

Hello! Maybe someone here knows how to do this: I have some Ruby code, and I need it in a syntax colored HTML output format. Is there any easy way to do this, maybe the “ruby” binary can do this? Thanks alot, Rob

---

## [\[ANN\] Howtos: Deploying Rails on Windows servers](https://www.ruby-forum.com/t/ann-howtos-deploying-rails-on-windows-servers/60243)

<div class="topic-metadata">

**Author:** [@kuma](https://www.ruby-forum.com/u/kuma)\
**Replies:** 6\
**Last updated:** [May 12, 2006, 1:18am UTC](https://www.ruby-forum.com/t/ann-howtos-deploying-rails-on-windows-servers/60243 "2006-05-12T01:18:48Z")

</div>

After a lot of work (and much promising) I have written instructions on various methods to deploy Rails applications in a Windows environment. For those of you who are not stuck with Windows, this won’t matter too muc…

---

## ["Persisting" Forms](https://www.ruby-forum.com/t/persisting-forms/48343)

<div class="topic-metadata">

**Author:** [@michael.gorsuch](https://www.ruby-forum.com/u/michael.gorsuch)\
**Replies:** 6\
**Last updated:** [November 22, 2005, 2:05pm UTC](https://www.ruby-forum.com/t/persisting-forms/48343 "2005-11-22T14:05:04Z")

</div>

I am building a search form for my application that is not directly tied to a model. I would like to search results page to display the original search form with the inputted values along with the results. I have eve…

---

## [How use gem Cancan on Rails](https://www.ruby-forum.com/t/how-use-gem-cancan-on-rails/243868)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [January 20, 2016, 10:32am UTC](https://www.ruby-forum.com/t/how-use-gem-cancan-on-rails/243868 "2016-01-20T10:32:35Z")

</div>

I have read a lot of website tutorial Cancan gem, but I can’t understand it. I want to create, edit role, and add user to role. config premiss for role. etc…

---

## [Nginx-1.9.9](https://www.ruby-forum.com/t/nginx-1-9-9/243604)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [December 10, 2015, 9:53am UTC](https://www.ruby-forum.com/t/nginx-1-9-9/243604 "2015-12-10T09:53:28Z")

</div>

Changes with nginx 1.9.9 09 Dec 2015 \*) Bugfix: proxying to unix domain sockets did not work when using variables; the bug had appeared in 1.9.8. – Maxim D. http://nginx.or…

---

## [Disable SSL3 handshake errors](https://www.ruby-forum.com/t/disable-ssl3-handshake-errors/232475)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 13, 2014, 12:02pm UTC](https://www.ruby-forum.com/t/disable-ssl3-handshake-errors/232475 "2014-10-13T12:02:13Z")

</div>

I disabled SSL3 in ssl\_protocols (ssl\_protocols TLSv1 TLSv1.1 TLSv1.2; ). So PCs with old browsers (example: IE on WinXP) fail to do the handshake and I have my nginx logs full of these errors ​​ : SSL\_do\_handshake…

---

## [Collection\_check\_boxes with has\_many through: association Rails 4](https://www.ruby-forum.com/t/collection-check-boxes-with-has-many-through-association-rails-4/240291)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 8, 2014, 1:42pm UTC](https://www.ruby-forum.com/t/collection-check-boxes-with-has-many-through-association-rails-4/240291 "2014-04-08T13:42:47Z")

</div>

I am trying to list all the categories a user can be interested in with check boxes so that a user can submit these interests through my join table. collection\_radio\_buttons works with a simple has\_many, belongs\_to a…

---

## [Heroku problem](https://www.ruby-forum.com/t/heroku-problem/238376)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 7, 2014, 5:04pm UTC](https://www.ruby-forum.com/t/heroku-problem/238376 "2014-01-07T17:04:32Z")

</div>

While deploying a new app on heroku i got this error ! You’ve reached the limit of 5 apps for unverified accounts. ! Add a credit card to verify your account. how to overcome this??

---

## [Minimum amount of data to trigger WX GUI Scope Sink? and Ch 1 vs. Ch2 with Ch 3 vs. Ch 4](https://www.ruby-forum.com/t/minimum-amount-of-data-to-trigger-wx-gui-scope-sink-and-ch-1-vs-ch2-with-ch-3-vs-ch-4/238013)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 12, 2013, 9:24pm UTC](https://www.ruby-forum.com/t/minimum-amount-of-data-to-trigger-wx-gui-scope-sink-and-ch-1-vs-ch2-with-ch-3-vs-ch-4/238013 "2013-12-12T21:24:47Z")

</div>

Hi, I am using WX GUI Scope Sink, and I have set the sample rate = 1M, same as the USRP. It seems that a minimum number of data points are required before anything appears on the plot - is that correct, and how can it…

---

## [Ngx\_http\_redis-0.3.7 released](https://www.ruby-forum.com/t/ngx-http-redis-0-3-7-released/237823)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 2, 2013, 6:11pm UTC](https://www.ruby-forum.com/t/ngx-http-redis-0-3-7-released/237823 "2013-12-02T18:11:57Z")

</div>

ngx\_http\_redis module version 0.3.7 released, available for immediate download at http://people.freebsd.org/~osa/ngx\_http\_redis-0.3.7.tar.gz \*) Bugfix: ngx\_http\_redis\_module might issue the error message “redis sent …

---

## [A better way?](https://www.ruby-forum.com/t/a-better-way/216559)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [February 17, 2012, 10:08am UTC](https://www.ruby-forum.com/t/a-better-way/216559 "2012-02-17T10:08:01Z")

</div>

Hi, As I am learning to program, I am finding things I think can probably be done in a better way. The following code seems like something programmers must run into all the time and I am wondering if there is a bett…

---

## [Impossible architecture?](https://www.ruby-forum.com/t/impossible-architecture/213380)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [October 31, 2011, 9:15pm UTC](https://www.ruby-forum.com/t/impossible-architecture/213380 "2011-10-31T21:15:42Z")

</div>

Hello, See if anyone can help me. I need to design a web application upload to a server that works with a database hosted on the PC user logged. This means that when a user logs on, the application configures the con…

---

## [Cannot modify SafeBuffer in place](https://www.ruby-forum.com/t/cannot-modify-safebuffer-in-place/208005)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [June 8, 2011, 3:43pm UTC](https://www.ruby-forum.com/t/cannot-modify-safebuffer-in-place/208005 "2011-06-08T15:43:49Z")

</div>

Upgraded from rails 3.0.7.rc1 to 3.0.8 today and ran into a problem when rendering haml: TypeError in Pages#home Cannot modify SafeBuffer in place Full Trace: activesupport (3.0.8) lib/active\_support/core\_ext/strin…

---

## [Generating complex exponential stream](https://www.ruby-forum.com/t/generating-complex-exponential-stream/204795)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 22, 2011, 9:21am UTC](https://www.ruby-forum.com/t/generating-complex-exponential-stream/204795 "2011-03-22T09:21:14Z")

</div>

Hi, I’am new to GNURadio. I started off writing a few signal processing blocks (since I’am more comfortable with C++ than Python). So far, I have written a signal block for circular correlation (to get an idea of t…

---

## [Problem running rspec test with Webrat](https://www.ruby-forum.com/t/problem-running-rspec-test-with-webrat/204244)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 8, 2011, 4:46pm UTC](https://www.ruby-forum.com/t/problem-running-rspec-test-with-webrat/204244 "2011-03-08T16:46:49Z")

</div>

Hi, I am trying to run rspec testcase using webrat but it is showing me an error as “undefined method \`last\_response’ for #Capybara::Document” Following are my configurations: Gemfile: roup :development, :test do g…

---

## [Route namespace and link\_to](https://www.ruby-forum.com/t/route-namespace-and-link-to/134655)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [January 17, 2011, 3:54pm UTC](https://www.ruby-forum.com/t/route-namespace-and-link-to/134655 "2011-01-17T15:54:27Z")

</div>

Hello, In my routes.rb file I have a namespace declared: map.namespace(:admin) do |admin| admin.resources :pictures admin.resources :admins end then in my erb template for the admin/admins controller I have a link…

---

## [Composite primary keys and :joins=\>](https://www.ruby-forum.com/t/composite-primary-keys-and-joins/193529)

<div class="topic-metadata">

**Author:** [@JeffV](https://www.ruby-forum.com/u/JeffV)\
**Replies:** 1\
**Last updated:** [August 19, 2010, 9:59pm UTC](https://www.ruby-forum.com/t/composite-primary-keys-and-joins/193529 "2010-08-19T21:59:57Z")

</div>

I have a legacy db with the following simplified structure: Table-A: type\_key, code\_key, name, … # PKs are type\_key and code\_key, there is no id col and I cannot alter this db Table-B: # each row has only the code a…

---

## [Rails+Jquery: comment rÃ©initialiser les f onctions javascript aprÃ¨s un replace\_html](https://www.ruby-forum.com/t/rails-jquery-comment-ra-initialiser-les-f-onctions-javascript-apra-s-un-replace-html/185018)

<div class="topic-metadata">

**Author:** [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Replies:** 1\
**Last updated:** [March 12, 2010, 7:55am UTC](https://www.ruby-forum.com/t/rails-jquery-comment-ra-initialiser-les-f-onctions-javascript-apra-s-un-replace-html/185018 "2010-03-12T07:55:11Z")

</div>

Bonjour, J’utilise Jquery pour des tooltips que j’initialise au chargement de la page avec $(function() { $('span.tooltip\_ni').cluetip({splitTitle: '|', arrows: true, cluetipClass: ‘jtip’, clickThrough: true}); } J…

---

## [New column in ActiveRecord object, method\_missing() called intermittently](https://www.ruby-forum.com/t/new-column-in-activerecord-object-method-missing-called-intermittently/178545)

<div class="topic-metadata">

**Author:** [@jenna\_s](https://www.ruby-forum.com/u/jenna_s)\
**Replies:** 7\
**Last updated:** [November 9, 2009, 6:07am UTC](https://www.ruby-forum.com/t/new-column-in-activerecord-object-method-missing-called-intermittently/178545 "2009-11-09T06:07:38Z")

</div>

Hi, I’m using the geokit plugin to provide a “find-locations-on-radius” feature in my app. When a location is added to the database, the actual address is translated (geocoded) into a longitude & latitude. The longit…

---

## [Como validar por separado](https://www.ruby-forum.com/t/como-validar-por-separado/171838)

<div class="topic-metadata">

**Author:** [@josedes](https://www.ruby-forum.com/u/josedes)\
**Replies:** 1\
**Last updated:** [July 17, 2009, 8:38am UTC](https://www.ruby-forum.com/t/como-validar-por-separado/171838 "2009-07-17T08:38:16Z")

</div>

Hola a todos, estoy comenzando con RubyOnRails y tengo el siguiente problema: Tengo una tabla cuyos campos son los datos del usuario incluyendo Login y Password, cuando estoy registrando un nuevo usuario no tengo prob…

---

## [Stdout](https://www.ruby-forum.com/t/stdout/172100)

<div class="topic-metadata">

**Author:** [@arevert](https://www.ruby-forum.com/u/arevert)\
**Replies:** 7\
**Last updated:** [July 14, 2009, 10:35pm UTC](https://www.ruby-forum.com/t/stdout/172100 "2009-07-14T22:35:47Z")

</div>

Hi! I’m developing an application, that needs to execute some ruby files, and log the output in a txt file. The problem that i have is that i can’t take this output. Here is a piece of code: filesToExec.each { |file| …

---

## [Welcome page](https://www.ruby-forum.com/t/welcome-page/166333)

<div class="topic-metadata">

**Author:** [@Jean-Christophe\_M](https://www.ruby-forum.com/u/Jean-Christophe_M)\
**Replies:** 1\
**Last updated:** [April 24, 2009, 6:00pm UTC](https://www.ruby-forum.com/t/welcome-page/166333 "2009-04-24T18:00:51Z")

</div>

Hi, I’d like to have a welcome page without the standard layout defined in my theme. Is it posisble to use another layout for a page, then set it as default index page ? If not, I could hardocde it in two ways : 1. …

---

## [Problem upgrading to rails 2.0](https://www.ruby-forum.com/t/problem-upgrading-to-rails-2-0/130096)

<div class="topic-metadata">

**Author:** [@ANSS](https://www.ruby-forum.com/u/ANSS)\
**Replies:** 7\
**Last updated:** [February 25, 2008, 5:02pm UTC](https://www.ruby-forum.com/t/problem-upgrading-to-rails-2-0/130096 "2008-02-25T17:02:25Z")

</div>

Hi, I have a problem upgrading to rails 2.0, my current installation of rails is version 1.2.4 installed through the official Ubuntu repository (apt-get install rails), I installed rails through: gem install rails –…

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

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