# Top

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

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

---

## [Basic question abt tags](https://www.ruby-forum.com/t/basic-question-abt-tags/114630)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/basic-question-abt-tags/114630 "2007-09-25T23:01:14Z")

</div>

This is a very simple question about extensions & tags - in the literature that I’ve seen, it’s not clear if I can define tags without creating an extension first. (sorry if I missed something in the tutorials) I’d …

---

## [Passing Multiple Parameters from observe\_field](https://www.ruby-forum.com/t/passing-multiple-parameters-from-observe-field/112949)

<div class="topic-metadata">

**Author:** [@Philip\_N](https://www.ruby-forum.com/u/Philip_N)\
**Replies:** 2\
**Last updated:** [August 25, 2007, 8:43pm UTC](https://www.ruby-forum.com/t/passing-multiple-parameters-from-observe-field/112949 "2007-08-25T20:43:05Z")

</div>

I need to pass through two parameters to a controller method from an observe\_field : the value of the field and another local variable. I can get it working for either of the two, but not for both. This is what I’m go…

---

## [Dir.mktmpdir](https://www.ruby-forum.com/t/dir-mktmpdir/112033)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 2\
**Last updated:** [August 15, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/dir-mktmpdir/112033 "2007-08-15T19:31:16Z")

</div>

e$B%F%s%\]%i%j%G%#%l%/%H%j$r:n$k%a%=%C%I$rMQ0U$9$k$H$$$$$H;W$&$se(B e$B$G$9$,!"$I$&$G$7$g$&e(B? tmpdir.rb e$B$Ge(B Dir.mktmpdir e$B$H$$$&$N$rDj5A$9$k$N$O$I$&$G$7$g$&e(B e$B$+!#e(B permission e$B$Oe(B 0700 e$B$K$9$ke(…

---

## [Rdoc and virtual attributes](https://www.ruby-forum.com/t/rdoc-and-virtual-attributes/110691)

<div class="topic-metadata">

**Author:** [@stephan](https://www.ruby-forum.com/u/stephan)\
**Replies:** 2\
**Last updated:** [July 31, 2007, 1:54pm UTC](https://www.ruby-forum.com/t/rdoc-and-virtual-attributes/110691 "2007-07-31T13:54:05Z")

</div>

I’ve been trying to get rdoc to document virtual attributes as though they weren’t virtual. The solution seems to be to use an attr\_reader / attr\_writer as an anchor for the documentation with the :nodoc: modifier on …

---

## [Create new tags - best practice?](https://www.ruby-forum.com/t/create-new-tags-best-practice/108052)

<div class="topic-metadata">

**Author:** [@pgundlach](https://www.ruby-forum.com/u/pgundlach)\
**Replies:** 2\
**Last updated:** [July 16, 2007, 8:18pm UTC](https://www.ruby-forum.com/t/create-new-tags-best-practice/108052 "2007-07-16T20:18:53Z")

</div>

Hi, what is the current best practice to create new tags? Create an extension, create a module and include Radiant::Taggable and call Page.send :include, ? Or should I create a plugin as described in http://radiantc…

---

## [Missing kEND for if statement, but not for a case statement?](https://www.ruby-forum.com/t/missing-kend-for-if-statement-but-not-for-a-case-statement/107935)

<div class="topic-metadata">

**Author:** [@shadowcipher](https://www.ruby-forum.com/u/shadowcipher)\
**Replies:** 2\
**Last updated:** [June 27, 2007, 6:25pm UTC](https://www.ruby-forum.com/t/missing-kend-for-if-statement-but-not-for-a-case-statement/107935 "2007-06-27T18:25:26Z")

</div>

I am having some trouble figuring out why I keep getting an unexpected kENSURE expecting kEND error. I have to sets of code and the first set uses a case statement with the same amount of end keywords. This set runs…

---

## [Compile error question on a login.rhtml file (text included)](https://www.ruby-forum.com/t/compile-error-question-on-a-login-rhtml-file-text-included/105543)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [May 30, 2007, 10:55pm UTC](https://www.ruby-forum.com/t/compile-error-question-on-a-login-rhtml-file-text-included/105543 "2007-05-30T22:55:35Z")

</div>

I am working my way through the January 2007 edition of “Build Your Own Ruby on Rails Web Applications” by Patrick Lenz. The application in the book is a clone of digg.com and I am halfway through the book with no pr…

---

## [Location of 'Your-web-site' in Radiant Mental](https://www.ruby-forum.com/t/location-of-your-web-site-in-radiant-mental/93088)

<div class="topic-metadata">

**Author:** [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Replies:** 2\
**Last updated:** [April 27, 2007, 3:36pm UTC](https://www.ruby-forum.com/t/location-of-your-web-site-in-radiant-mental/93088 "2007-04-27T15:36:19Z")

</div>

My site/rss feed works fine via Google Reader or another standalone RSS reader however if I try to add the site/rss url and check it, it defaults to: your-web-site.com I have trawled through /var/www/radiant looking …

---

## ["-" instead of "\_" in routes?](https://www.ruby-forum.com/t/instead-of-in-routes/90793)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [April 1, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/instead-of-in-routes/90793 "2007-04-01T19:38:13Z")

</div>

Hi all I’d like to have minus signs “-” instead of underscores “\_” in my routes. Is there an easy to do that? my\_controller/show\_something/123 # \<= not cool my-controller/show-something/123 # \<= much cooler Thanks a…

---

## [Help with wxSugar please](https://www.ruby-forum.com/t/help-with-wxsugar-please/90436)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 2\
**Last updated:** [March 29, 2007, 1:00am UTC](https://www.ruby-forum.com/t/help-with-wxsugar-please/90436 "2007-03-29T01:00:48Z")

</div>

I am playing around with making some sort of GUI in ruby and have settle on wxRuby. I stumbled across wxSugar and the sample code here: http://wxruby.rubyforge.org/wiki/wiki.pl?WxSugar but that code does not run!? It…

---

## [Activerecord failed?](https://www.ruby-forum.com/t/activerecord-failed/90295)

<div class="topic-metadata">

**Author:** [@Kevin\_Yang](https://www.ruby-forum.com/u/Kevin_Yang)\
**Replies:** 2\
**Last updated:** [March 27, 2007, 3:45pm UTC](https://www.ruby-forum.com/t/activerecord-failed/90295 "2007-03-27T15:45:46Z")

</div>

Hello all, i found something wrong (or maybe i was wrong?) this looks like a rectiverecord bug , can anyone help me to point out what’s going on? ------------------migration create\_table :books do |t| t.column :nam…

---

## [Param to url mapping](https://www.ruby-forum.com/t/param-to-url-mapping/88943)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 16, 2007, 4:07am UTC](https://www.ruby-forum.com/t/param-to-url-mapping/88943 "2007-03-16T04:07:16Z")

</div>

I’m currently reading “Agile Web D. with Rails (2nd Edition)” and I’ve run into something I don’t quite understand. In one section of the book they have link in the one of the views that looks like this: \<%= link\_to …

---

## [Expect and ruby](https://www.ruby-forum.com/t/expect-and-ruby/86547)

<div class="topic-metadata">

**Author:** [@rlorimor](https://www.ruby-forum.com/u/rlorimor)\
**Replies:** 2\
**Last updated:** [February 23, 2007, 11:43am UTC](https://www.ruby-forum.com/t/expect-and-ruby/86547 "2007-02-23T11:43:16Z")

</div>

I need to communicate with a sftp server from a Ruby script. What’s the best way to do this? I am looking for something like “expect” I found a way to spawn and expect using the “pty” standard lib but I didn’t see …

---

## [Child should inherit](https://www.ruby-forum.com/t/child-should-inherit/86333)

<div class="topic-metadata">

**Author:** [@David\_Minor](https://www.ruby-forum.com/u/David_Minor)\
**Replies:** 2\
**Last updated:** [February 21, 2007, 5:01pm UTC](https://www.ruby-forum.com/t/child-should-inherit/86333 "2007-02-21T17:01:03Z")

</div>

maybe there is a way to do this that I’m not seeing, but I think it would be very useful to tell a parent what filter/layout/page type his children should be. As an example of this, I have a primary layout that is us…

---

## [Sql: error](https://www.ruby-forum.com/t/sql-error/85955)

<div class="topic-metadata">

**Author:** [@keith](https://www.ruby-forum.com/u/keith)\
**Replies:** 2\
**Last updated:** [February 18, 2007, 11:38am UTC](https://www.ruby-forum.com/t/sql-error/85955 "2007-02-18T11:38:11Z")

</div>

All, Hope some1 can help. I am receiving the following error having set up radiant and visiting the localhost:3000. Any ideas? ActiveRecord::StatementInvalid in SiteController#show\_page Mysql::Error: Lost connectio…

---

## [Help on building a plugin](https://www.ruby-forum.com/t/help-on-building-a-plugin/85442)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [February 14, 2007, 5:55am UTC](https://www.ruby-forum.com/t/help-on-building-a-plugin/85442 "2007-02-14T05:55:36Z")

</div>

Hi, I’ve developed some code that allows you to use s3 as a cache store (ie store your cache fragments at s3 instead of your web server). It works great when I have the code in my lib/ folder. Now I want to package i…

---

## [Process POST data](https://www.ruby-forum.com/t/process-post-data/83522)

<div class="topic-metadata">

**Author:** [@chucky](https://www.ruby-forum.com/u/chucky)\
**Replies:** 2\
**Last updated:** [January 27, 2007, 12:58pm UTC](https://www.ruby-forum.com/t/process-post-data/83522 "2007-01-27T12:58:20Z")

</div>

Hi to all, Recently, I had one little problem regarding Ruby and Processing POST requests from a HTML form. I know that there is Webrick for Servlets and stuff, but I want to know, there is possible to process POST/G…

---

## [Yellow Fade Technique After A Redirect?](https://www.ruby-forum.com/t/yellow-fade-technique-after-a-redirect/80977)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 2\
**Last updated:** [January 2, 2007, 7:57pm UTC](https://www.ruby-forum.com/t/yellow-fade-technique-after-a-redirect/80977 "2007-01-02T19:57:31Z")

</div>

Hello, I am having difficulty implementing the yellow fade technique after a redirection. All the examples I have seen use it immediately after editing an in-place form via Ajax. I would like to use it after editin…

---

## [Utiliser Rails chez l'hÃ©bergeur](https://www.ruby-forum.com/t/utiliser-rails-chez-lha-bergeur/70511)

<div class="topic-metadata">

**Author:** [@aurels](https://www.ruby-forum.com/u/aurels)\
**Replies:** 2\
**Last updated:** [October 1, 2006, 10:07pm UTC](https://www.ruby-forum.com/t/utiliser-rails-chez-lha-bergeur/70511 "2006-10-01T22:07:49Z")

</div>

Bien le bonjour, Je suis dÃ©butant dans RoR mais j’apprÃ©cie dÃ©jÃ sa puissance! Mon aplication de test tourne impec en local sous webrick, mais, je ne voit pas bien comment faire tourner cette aplication en producti…

---

## [Crear registro con pasos](https://www.ruby-forum.com/t/crear-registro-con-pasos/70355)

<div class="topic-metadata">

**Author:** [@nexon](https://www.ruby-forum.com/u/nexon)\
**Replies:** 2\
**Last updated:** [September 28, 2006, 10:27pm UTC](https://www.ruby-forum.com/t/crear-registro-con-pasos/70355 "2006-09-28T22:27:43Z")

</div>

Hola!, quisiera saber como creo un registro (create) con pasos, por ejemplo el primer paso es colocar datos personales, el segundo tus direcciones, tercero cc, etc… para que al final todo lo ingresado sea guardado en …

---

## [Trailing slash problem!](https://www.ruby-forum.com/t/trailing-slash-problem/101249)

<div class="topic-metadata">

**Author:** [@anildigital](https://www.ruby-forum.com/u/anildigital)\
**Replies:** 2\
**Last updated:** [August 7, 2006, 6:03pm UTC](https://www.ruby-forum.com/t/trailing-slash-problem/101249 "2006-08-07T18:03:48Z")

</div>

hey http://anilw.info/blog/ works bot http://anilw.info/blog not Give me the solution http://anilw.info

---

## [Querying the SearchResults instance](https://www.ruby-forum.com/t/querying-the-searchresults-instance/97572)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [July 10, 2006, 10:00am UTC](https://www.ruby-forum.com/t/querying-the-searchresults-instance/97572 "2006-07-10T10:00:46Z")

</div>

Hi how do you search against the results returned by find\_by\_contents using ferret? i.e. how do you “search within these results”? This is an acts\_as\_ferret question again… thanks in advance… cheers caspar

---

## [Getting Net/SMTP to work for me](https://www.ruby-forum.com/t/getting-net-smtp-to-work-for-me/63491)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 2\
**Last updated:** [June 15, 2006, 10:25pm UTC](https://www.ruby-forum.com/t/getting-net-smtp-to-work-for-me/63491 "2006-06-15T22:25:08Z")

</div>

I’ve managed to get a simple mail message sent to myself, but, it leaves a lot to be desired. I get an e-mail from my server, to me, but, there’s no body to the mail, even though I created some message text in a “mess…

---

## [How can I link/anchor down the page with #anchor in urls?](https://www.ruby-forum.com/t/how-can-i-link-anchor-down-the-page-with-anchor-in-urls/62990)

<div class="topic-metadata">

**Author:** [@sfdesigner](https://www.ruby-forum.com/u/sfdesigner)\
**Replies:** 2\
**Last updated:** [June 10, 2006, 5:47pm UTC](https://www.ruby-forum.com/t/how-can-i-link-anchor-down-the-page-with-anchor-in-urls/62990 "2006-06-10T17:47:46Z")

</div>

I’m trying to expand on a blog tutorial and one thing I can’t figure out is how to use anchors within pages. For example say I have sections on a page with anchors like \<a name=section1" through \<a name=section6". Usi…

---

## [Hash key formatter](https://www.ruby-forum.com/t/hash-key-formatter/94706)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [May 13, 2006, 4:18pm UTC](https://www.ruby-forum.com/t/hash-key-formatter/94706 "2006-05-13T16:18:55Z")

</div>

Add an attribute to Hash to store transformation of keys. For instance: h = Hash.new h.key\_format do |k| k.to\_s.downcase.to\_sym } h\[‘BIG’\] = 10 h #=\> { :big =\> 10 } Good little RCR.

---

## [Newbie q about saving data to mysql](https://www.ruby-forum.com/t/newbie-q-about-saving-data-to-mysql/58457)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 2\
**Last updated:** [April 22, 2006, 2:58am UTC](https://www.ruby-forum.com/t/newbie-q-about-saving-data-to-mysql/58457 "2006-04-22T02:58:42Z")

</div>

I have a two tables in my DB: users and products and I tried to set up a foreign key relationship between the id field in user and a user\_id field in product. Despite redoing my scaffold the user\_id does not show up w…

---

## [Testing STI models](https://www.ruby-forum.com/t/testing-sti-models/88342)

<div class="topic-metadata">

**Author:** [@xamdam](https://www.ruby-forum.com/u/xamdam)\
**Replies:** 2\
**Last updated:** [March 28, 2006, 5:56pm UTC](https://www.ruby-forum.com/t/testing-sti-models/88342 "2006-03-28T17:56:20Z")

</div>

Hi everyone! I have a question: what is the preferred way (in terms of simplicity) to test models with single table inheritance. Right now I have 1 test case and 1 fixture for all of the STI models, but it’s very har…

---

## [Adding to has\_many on create and edit](https://www.ruby-forum.com/t/adding-to-has-many-on-create-and-edit/79333)

<div class="topic-metadata">

**Author:** [@Nicholas\_PSMueller](https://www.ruby-forum.com/u/Nicholas_PSMueller)\
**Replies:** 2\
**Last updated:** [March 10, 2006, 5:29am UTC](https://www.ruby-forum.com/t/adding-to-has-many-on-create-and-edit/79333 "2006-03-10T05:29:45Z")

</div>

Hello, I am fairly new to RoR and I have a question I hope can be solved elegantly (so many things are, so why not this one too?). I have a working solution, but I want to be sure I am doing things the “rails way” (…

---

## [Libxml utf-8 locale](https://www.ruby-forum.com/t/libxml-utf-8-locale/78015)

<div class="topic-metadata">

**Author:** [@Mage](https://www.ruby-forum.com/u/Mage)\
**Replies:** 2\
**Last updated:** [March 8, 2006, 6:10pm UTC](https://www.ruby-forum.com/t/libxml-utf-8-locale/78015 "2006-03-08T18:10:13Z")

</div>

Hello, honestly if I was to select two things I hate about computers, they should be XML and UTF-8. I have an xml file: “\<?xml version='1.0' encoding='UTF-8'?\>…” I have installed libxml-ruby and liblocale-ruby on my…

---

## [Simple stuff in rails rhtml](https://www.ruby-forum.com/t/simple-stuff-in-rails-rhtml/98002)

<div class="topic-metadata">

**Author:** [@zaq](https://www.ruby-forum.com/u/zaq)\
**Replies:** 2\
**Last updated:** [January 27, 2006, 9:11pm UTC](https://www.ruby-forum.com/t/simple-stuff-in-rails-rhtml/98002 "2006-01-27T21:11:16Z")

</div>

after playing with the DB interaction I’m moving on to doing some file IO. but I’m completly lost as to where to put the code and how to call it. I’m trying to get a list of files in a directory and it’s not obvious …

---

## [Returning :success or :failure to remote function calls](https://www.ruby-forum.com/t/returning-success-or-failure-to-remote-function-calls/52036)

<div class="topic-metadata">

**Author:** [@joergd](https://www.ruby-forum.com/u/joergd)\
**Replies:** 2\
**Last updated:** [January 10, 2006, 12:14pm UTC](https://www.ruby-forum.com/t/returning-success-or-failure-to-remote-function-calls/52036 "2006-01-10T12:14:34Z")

</div>

Hi, When calling remote functions (AJAX), I can test for :success and :failure. But how do I return a :success or :failure to my AJAX function call from my action? Thanks Joerg

---

## [Using one-dimensional arrays in select statements (noob)](https://www.ruby-forum.com/t/using-one-dimensional-arrays-in-select-statements-noob/49612)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 2\
**Last updated:** [December 7, 2005, 3:41pm UTC](https://www.ruby-forum.com/t/using-one-dimensional-arrays-in-select-statements-noob/49612 "2005-12-07T15:41:28Z")

</div>

I have an issue whereby I want the attributes on an object to be saved in the db as simple integers and the corresponding labels to be stored in the class. DB Car: id int, name varchar(10), speed int Model Car: cla…

---

## [Uploading multiple files elegantly](https://www.ruby-forum.com/t/uploading-multiple-files-elegantly/49151)

<div class="topic-metadata">

**Author:** [@wborgon](https://www.ruby-forum.com/u/wborgon)\
**Replies:** 2\
**Last updated:** [December 1, 2005, 3:14am UTC](https://www.ruby-forum.com/t/uploading-multiple-files-elegantly/49151 "2005-12-01T03:14:14Z")

</div>

I’m very new to rails and don’t yet feel comfortable synthesizing this myself, so any help would be really appreciated. I’m trying to implement file upload functionality, such that users can upload multiple files at …

---

## [Multiple DB connections not working after first call](https://www.ruby-forum.com/t/multiple-db-connections-not-working-after-first-call/49176)

<div class="topic-metadata">

**Author:** [@rails](https://www.ruby-forum.com/u/rails)\
**Replies:** 2\
**Last updated:** [November 30, 2005, 11:40pm UTC](https://www.ruby-forum.com/t/multiple-db-connections-not-working-after-first-call/49176 "2005-11-30T23:40:14Z")

</div>

Hello! I’ve looked through the mailing list archives, but havn’t found a viable answer for this question. I would like to have my rails app handle a couple tables in a legacy database. Looking at the wiki, comments …

---

## [Install aws cli gem in ruby](https://www.ruby-forum.com/t/install-aws-cli-gem-in-ruby/258945)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 0\
**Last updated:** [March 19, 2020, 10:51am UTC](https://www.ruby-forum.com/t/install-aws-cli-gem-in-ruby/258945 "2020-03-19T10:51:40Z")

</div>

Hi, while installing aws cli gem i aam getting the error pasted below gem install aws-cli --pre ERROR: Could not find a valid gem ‘baseballdb-commander’ (\>= 0) (required by ‘aws-cli’ (\>= 0)) in any repository ERROR:…

---

## [GRC blocks for GPS processing](https://www.ruby-forum.com/t/grc-blocks-for-gps-processing/243503)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [November 21, 2015, 7:38am UTC](https://www.ruby-forum.com/t/grc-blocks-for-gps-processing/243503 "2015-11-21T07:38:01Z")

</div>

Good day mam/sir! I am making an undergraduate project about GPS receiver using gnu radio. I would like to ask if there’s anyone who knows the blocks used for gps processing that can receive gps L1 signal (1575.42MHz)…

---

## [ATSC decode successful on SDRPlay RSP](https://www.ruby-forum.com/t/atsc-decode-successful-on-sdrplay-rsp/243282)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 8, 2015, 12:44am UTC](https://www.ruby-forum.com/t/atsc-decode-successful-on-sdrplay-rsp/243282 "2015-09-08T00:44:28Z")

</div>

Hi everyone. With help from Ron E., I managed to make ATSC decoding work using the SDRPlay RSP. The big issue was that the RSP has a DC bar in the middle of the waterfall. Canceling it in the SDR program isn’t enough;…

---

## [Automating Pivot Table Excel](https://www.ruby-forum.com/t/automating-pivot-table-excel/233882)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 19, 2015, 11:11pm UTC](https://www.ruby-forum.com/t/automating-pivot-table-excel/233882 "2015-01-19T23:11:50Z")

</div>

Hello everybody! Can you help me? I’m trying to integrate ruby with excel’s pivot table, and i’m failing, because i don’t know how to do that. I’ve done a lot of research, and nothing seems to help. Could you guys p…

---

## [How to i18n dropdown menu values. populated from database table](https://www.ruby-forum.com/t/how-to-i18n-dropdown-menu-values-populated-from-database-table/232985)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 8, 2014, 4:03pm UTC](https://www.ruby-forum.com/t/how-to-i18n-dropdown-menu-values-populated-from-database-table/232985 "2014-11-08T16:03:25Z")

</div>

I have cargo form with dropdown menu in simple\_forms, which is populated from model cargo\_price: \<%= f.association :cargo\_price, :label\_method =\> :price, :value\_method =\> :id %\> There is model called cargo\_price wit…

---

## [Watir question,](https://www.ruby-forum.com/t/watir-question/238333)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [January 4, 2014, 8:41pm UTC](https://www.ruby-forum.com/t/watir-question/238333 "2014-01-04T20:41:07Z")

</div>

hi, I have two problem here. First one is, SelectList appears in the page and I am able to choose element manually. But when I try to check using “puts $browser.select\_list(:id,“somevalue”).exists?” It return false…

---

## [Internet Explorer won't show my website](https://www.ruby-forum.com/t/internet-explorer-wont-show-my-website/225653)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [January 22, 2013, 1:09am UTC](https://www.ruby-forum.com/t/internet-explorer-wont-show-my-website/225653 "2013-01-22T01:09:57Z")

</div>

Hi There, I’m using nginx for serving a lot of webpages. That work’s fine on nearly every installation - exept of one: All websites on this server couldn’t get accessed by Internet Explorer. Firefox, Chrome, Safari e…

---

## [Question about Active Record](https://www.ruby-forum.com/t/question-about-active-record/224573)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 23, 2012, 10:39am UTC](https://www.ruby-forum.com/t/question-about-active-record/224573 "2012-11-23T10:39:55Z")

</div>

Good Morning, I’m an student of Computer Engineering from Simn Bolvar University, in Caracas Venezuela. I’m working in my thesis about ORM and their “respectfulness” on databases. In order to have a better understandi…

---

## [Clean way of extracting some info from an Array](https://www.ruby-forum.com/t/clean-way-of-extracting-some-info-from-an-array/214193)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 25, 2011, 12:44pm UTC](https://www.ruby-forum.com/t/clean-way-of-extracting-some-info-from-an-array/214193 "2011-11-25T12:44:01Z")

</div>

I’m using the act\_as\_followers gem and one of the methods returns an array of all the users that are following a specific user, example: followers = user.all\_following What would be the clean way of extracting just th…

---

## [How to pass a variable to a method in an existing class?](https://www.ruby-forum.com/t/how-to-pass-a-variable-to-a-method-in-an-existing-class/211300)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 1, 2011, 1:38am UTC](https://www.ruby-forum.com/t/how-to-pass-a-variable-to-a-method-in-an-existing-class/211300 "2011-09-01T01:38:27Z")

</div>

Hi, I am a new ruby user and I want to add a function to an existing class. I googled the answer and found part of the solution. All findings on the web adding a new method without a variable. In my case I want to use…

---

## [Rds help!](https://www.ruby-forum.com/t/rds-help/210499)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 9, 2011, 9:20pm UTC](https://www.ruby-forum.com/t/rds-help/210499 "2011-08-09T21:20:49Z")

</div>

hello people, i have installed ubuntu 10.04 and gnuradio 3.2.2, i want the RDS blocks in it, i installed gr-rds, it has been compiled and installed ( ./configure, make, sudo make install), but after installing i ca…

---

## [Difference Between attr\_accessor and attr\_accessible](https://www.ruby-forum.com/t/difference-between-attr-accessor-and-attr-accessible/208873)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 3, 2011, 11:16pm UTC](https://www.ruby-forum.com/t/difference-between-attr-accessor-and-attr-accessible/208873 "2011-07-03T23:16:49Z")

</div>

Hello everyone, I am working on a Rails toutorial and was wondering what the difference Between attr\_accessor and attr\_accessible. The tutorial is explaining how to create a secure password authintication system and …

---

## [Multiple relationships between models](https://www.ruby-forum.com/t/multiple-relationships-between-models/198874)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 9, 2010, 9:05pm UTC](https://www.ruby-forum.com/t/multiple-relationships-between-models/198874 "2010-11-09T21:05:56Z")

</div>

Hi, I’m fairly new to RoR and I’m trying to figure out the best way to deal with Users in my application. I’ve got (for the purpose of this thread) 3 models, User, Subject, and SubjectUserAssignment. The user model i…

---

## [Is it possible to use PWM(Pulse Width Modulation) on GNURadio?](https://www.ruby-forum.com/t/is-it-possible-to-use-pwm-pulse-width-modulation-on-gnuradio/194998)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 15, 2010, 7:15am UTC](https://www.ruby-forum.com/t/is-it-possible-to-use-pwm-pulse-width-modulation-on-gnuradio/194998 "2010-09-15T07:15:26Z")

</div>

I was requested to make a program that sends PWM signals. It is a part of some experiments, but I couldn’t find PWM block on GNU Radio Companion Are there someone who have already made such PWM blcok?

---

## [Tests Losing Data (factory girl)](https://www.ruby-forum.com/t/tests-losing-data-factory-girl/191891)

<div class="topic-metadata">

**Author:** [@Ants\_P](https://www.ruby-forum.com/u/Ants_P)\
**Replies:** 3\
**Last updated:** [July 20, 2010, 3:15pm UTC](https://www.ruby-forum.com/t/tests-losing-data-factory-girl/191891 "2010-07-20T15:15:44Z")

</div>

This is a cross post from the fg mailing list but the traffic is very low there so I thought I’d try here, too. While running a test with Cukes/FG, I pre populate a table (event\_categories), run my test and it passes…

---

## [Off topic me llega todo en ingles](https://www.ruby-forum.com/t/off-topic-me-llega-todo-en-ingles/191712)

<div class="topic-metadata">

**Author:** [@flopezr333](https://www.ruby-forum.com/u/flopezr333)\
**Replies:** 0\
**Last updated:** [July 16, 2010, 4:25pm UTC](https://www.ruby-forum.com/t/off-topic-me-llega-todo-en-ingles/191712 "2010-07-16T16:25:39Z")

</div>

Me suscribi a rails hispano pero me llegan todos los post en ingles… que debo hacer para que me llegen los posts de rails hispano? Saludos f.l.

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

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