# Top

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

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

---

## [Rails Relationships](https://www.ruby-forum.com/t/rails-relationships/50053)

<div class="topic-metadata">

**Author:** [@Neal](https://www.ruby-forum.com/u/Neal)\
**Replies:** 8\
**Last updated:** [December 13, 2005, 12:31pm UTC](https://www.ruby-forum.com/t/rails-relationships/50053 "2005-12-13T12:31:09Z")

</div>

I’m trying to find an elegant solution to a data model problem and was wondering if some of you good people could help. I’m setting up a simple book-loan tracking system, where an office has many people and people ha…

---

## [Athentication](https://www.ruby-forum.com/t/athentication/94308)

<div class="topic-metadata">

**Author:** [@petermichaux](https://www.ruby-forum.com/u/petermichaux)\
**Replies:** 8\
**Last updated:** [November 12, 2005, 12:50pm UTC](https://www.ruby-forum.com/t/athentication/94308 "2005-11-12T12:50:11Z")

</div>

Hi, Can someone point me in a direction where I can learn more about handling athentication in a Rails app? I’m thinking about having an administrator belonging to one or more admin groups. Each admin group having it…

---

## [I installed Ruby with RVM](https://www.ruby-forum.com/t/i-installed-ruby-with-rvm/260447)

<div class="topic-metadata">

**Author:** [@PaulGureghian](https://www.ruby-forum.com/u/PaulGureghian)\
**Replies:** 1\
**Last updated:** [October 31, 2020, 2:33pm UTC](https://www.ruby-forum.com/t/i-installed-ruby-with-rvm/260447 "2020-10-31T14:33:19Z")

</div>

it gave me ruby 2.7 , the current version is 2.7.2 is 2.7 ok ? how to use rvm to install 2.7.2 ?

---

## [Object#to\_proc to be used as Hash#to\_proc?](https://www.ruby-forum.com/t/object-to-proc-to-be-used-as-hash-to-proc/252081)

<div class="topic-metadata">

**Author:** [@jgomo3](https://www.ruby-forum.com/u/jgomo3)\
**Replies:** 1\
**Last updated:** [March 15, 2019, 10:38pm UTC](https://www.ruby-forum.com/t/object-to-proc-to-be-used-as-hash-to-proc/252081 "2019-03-15T22:38:46Z")

</div>

There is a cool example of using Hash#to\_proc where you can map “keys” to the Hash as it is a function, and get the corresponding values. Something like: h = { a: 1, b: 2, c: 3, d: 4 } \[ :a, :c, :d, :b \].map(&h) # =\> \[…

---

## [Longer user input?](https://www.ruby-forum.com/t/longer-user-input/235168)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [June 5, 2013, 3:11am UTC](https://www.ruby-forum.com/t/longer-user-input/235168 "2013-06-05T03:11:34Z")

</div>

I think the maximum number of characters in user input (‘gets’) is 254. The input that I need to have is a piece of BBCode and it is longer than 254 characters. So my question is: is there any way to get longer user i…

---

## [HTML as PHP](https://www.ruby-forum.com/t/html-as-php/218981)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 7\
**Last updated:** [April 29, 2012, 7:31pm UTC](https://www.ruby-forum.com/t/html-as-php/218981 "2012-04-29T19:31:28Z")

</div>

Hello, i want html files use as php file. So i have write the follow config: /etc/nginx/nginx.conf server { listen 80; server\_name silviosiefke\_de; access\_log /var/www/silviosiefke\_de/log/access\_log main; e…

---

## [Rspec in rails console](https://www.ruby-forum.com/t/rspec-in-rails-console/210687)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [August 14, 2011, 11:58pm UTC](https://www.ruby-forum.com/t/rspec-in-rails-console/210687 "2011-08-14T23:58:55Z")

</div>

Can we able to use rspec in rails console

---

## [Best way to do a find\_by\_or\_create based on an attribute?](https://www.ruby-forum.com/t/best-way-to-do-a-find-by-or-create-based-on-an-attribute/226171)

<div class="topic-metadata">

**Author:** [@ast](https://www.ruby-forum.com/u/ast)\
**Replies:** 7\
**Last updated:** [December 16, 2010, 3:31pm UTC](https://www.ruby-forum.com/t/best-way-to-do-a-find-by-or-create-based-on-an-attribute/226171 "2010-12-16T15:31:00Z")

</div>

I have a form for @topic that contains two fields, name(string) visible(boolean) When the user submits the form, I want to manipulate the contents of the attribute :name (which I am able to do - but it’s the next part…

---

## [The Debian directory](https://www.ruby-forum.com/t/the-debian-directory/167521)

<div class="topic-metadata">

**Author:** [@wallen](https://www.ruby-forum.com/u/wallen)\
**Replies:** 7\
**Last updated:** [May 11, 2009, 6:55pm UTC](https://www.ruby-forum.com/t/the-debian-directory/167521 "2009-05-11T18:55:16Z")

</div>

OK, I downloaded Gnuradio using: svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio and under the newly created gnuradio directory I find a debian directory. Since I’m running a debian machine is there something …

---

## [Insert rails into php](https://www.ruby-forum.com/t/insert-rails-into-php/160057)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 7\
**Last updated:** [March 4, 2009, 11:37am UTC](https://www.ruby-forum.com/t/insert-rails-into-php/160057 "2009-03-04T11:37:40Z")

</div>

hi experts, i have a PHP web application which consists of so much modules (like registration,billing,reports,etc…) i want to convert arround only 60% modules from PHP to Rails, that means remaining 40% modules shoul…

---

## [Setting Request Body (in stories in particular)](https://www.ruby-forum.com/t/setting-request-body-in-stories-in-particular/161116)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 1\
**Last updated:** [February 24, 2009, 10:59am UTC](https://www.ruby-forum.com/t/setting-request-body-in-stories-in-particular/161116 "2009-02-24T10:59:28Z")

</div>

I’m trying to set my request body in my tests (the application is a web service that takes large XML files in PUT requests). If you do this: put :update, :body =\> xml You get a request with an empty body, and a field…

---

## [How do I add a new font for my RoR website (hosted on linux, developed on Mac)?](https://www.ruby-forum.com/t/how-do-i-add-a-new-font-for-my-ror-website-hosted-on-linux-developed-on-mac/158014)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 7\
**Last updated:** [January 18, 2009, 9:54pm UTC](https://www.ruby-forum.com/t/how-do-i-add-a-new-font-for-my-ror-website-hosted-on-linux-developed-on-mac/158014 "2009-01-18T21:54:24Z")

</div>

Hi, Any pointers where to start digging re how I could use some fonts (e.g. Iconian Fonts ) in my Rails web site? I develop on Mac, but deploy to a Linux box. Does this mean I have to work out how to install fonts …

---

## [Array comparison](https://www.ruby-forum.com/t/array-comparison/152090)

<div class="topic-metadata">

**Author:** [@cpeterson](https://www.ruby-forum.com/u/cpeterson)\
**Replies:** 7\
**Last updated:** [October 31, 2008, 6:25pm UTC](https://www.ruby-forum.com/t/array-comparison/152090 "2008-10-31T18:25:02Z")

</div>

I can easily write a program to compare the contents of arrays, of course. Ruby’s great that way. In a matter of a minute or so, I could write a program that compares small numbers of items in a list with small num…

---

## [Mini cms functionality within an app](https://www.ruby-forum.com/t/mini-cms-functionality-within-an-app/126791)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 7\
**Last updated:** [January 22, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/mini-cms-functionality-within-an-app/126791 "2008-01-22T23:08:10Z")

</div>

I need a sort of mini cms function in my app, allow a user to alter the content of the site (nothin too sophisticated). Just want them to be able to alter “fragments” of content on the pages. I do it like this and I k…

---

## [Newbie question: how to seek in a file](https://www.ruby-forum.com/t/newbie-question-how-to-seek-in-a-file/111739)

<div class="topic-metadata">

**Author:** [@ak756](https://www.ruby-forum.com/u/ak756)\
**Replies:** 7\
**Last updated:** [August 10, 2007, 1:08pm UTC](https://www.ruby-forum.com/t/newbie-question-how-to-seek-in-a-file/111739 "2007-08-10T13:08:22Z")

</div>

Hi I want to find a string in a text file, then read some bytes data after the position of this string. Would anybody kindly help to tell me how to do? Thanks in advance.

---

## [Passing an array of hash to a render partial gives nil](https://www.ruby-forum.com/t/passing-an-array-of-hash-to-a-render-partial-gives-nil/106129)

<div class="topic-metadata">

**Author:** [@hamrin](https://www.ruby-forum.com/u/hamrin)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 1:30pm UTC](https://www.ruby-forum.com/t/passing-an-array-of-hash-to-a-render-partial-gives-nil/106129 "2007-06-11T13:30:45Z")

</div>

It looks like there is a problem passing an array of hash to a partial render via a collection. I am trying to do the following: \<%= render :partial =\> “listshop”, :collection =\> @pca %\> and @pca has the following: @…

---

## [\#method(false) returns singleton methods?](https://www.ruby-forum.com/t/method-false-returns-singleton-methods/77720)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 7\
**Last updated:** [December 9, 2006, 11:44pm UTC](https://www.ruby-forum.com/t/method-false-returns-singleton-methods/77720 "2006-12-09T23:44:17Z")

</div>

I had a hard enough time recalling that #instance\_methods only returns public methods rather then all methods, and after all this time I’m only now discovering that #methods(false) only returns singleton methods? Wh…

---

## [Error Install ruby (newbie)](https://www.ruby-forum.com/t/error-install-ruby-newbie/76809)

<div class="topic-metadata">

**Author:** [@andre\_hartawan](https://www.ruby-forum.com/u/andre_hartawan)\
**Replies:** 7\
**Last updated:** [November 22, 2006, 9:26am UTC](https://www.ruby-forum.com/t/error-install-ruby-newbie/76809 "2006-11-22T09:26:07Z")

</div>

I have installed ruby on windows using (One-Click Installer ver ,then in command prompt i try to run c:\\ruby\>gem install rails - remote ,but an error come up (Error : While executing gem… (Gem:: GemNotFoundException…

---

## [Problem with Apache 2 and mod\_fcgid](https://www.ruby-forum.com/t/problem-with-apache-2-and-mod-fcgid/71271)

<div class="topic-metadata">

**Author:** [@CSSSSdric\_H](https://www.ruby-forum.com/u/CSSSSdric_H)\
**Replies:** 7\
**Last updated:** [October 23, 2006, 8:48am UTC](https://www.ruby-forum.com/t/problem-with-apache-2-and-mod-fcgid/71271 "2006-10-23T08:48:57Z")

</div>

Hi, I have a problem with Apache 2 and mod\_fcgid. In fact, it seems there are correctly installed and configured: my rails application works (see http://www.cedrich.be/index ) … but the stylesheets aren’t loaded. Th…

---

## [Paypal - Instant Payment Notifications](https://www.ruby-forum.com/t/paypal-instant-payment-notifications/99814)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 7\
**Last updated:** [July 27, 2006, 6:24pm UTC](https://www.ruby-forum.com/t/paypal-instant-payment-notifications/99814 "2006-07-27T18:24:08Z")

</div>

Has anyone any experience of getting the Paypal plug in to work? I’ve set myself up on the Paypal sandbox, I’ve setup my sending and receiving accounts, i’ve got the Paypal button on my view, I can go and make payment…

---

## [Locale Currency format](https://www.ruby-forum.com/t/locale-currency-format/96944)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 1\
**Last updated:** [July 3, 2006, 6:44pm UTC](https://www.ruby-forum.com/t/locale-currency-format/96944 "2006-07-03T18:44:40Z")

</div>

Thanks to Josh and Roland, we’ll be close to get full currency localization ! parsing with locale settings seems to be fine (at least of amount below billions of euros… I don’t intend to get over , I’m not Bill Gates…

---

## [Role Based Authorization recipe implementation?](https://www.ruby-forum.com/t/role-based-authorization-recipe-implementation/59029)

<div class="topic-metadata">

**Author:** [@anabia](https://www.ruby-forum.com/u/anabia)\
**Replies:** 7\
**Last updated:** [June 9, 2006, 2:27am UTC](https://www.ruby-forum.com/t/role-based-authorization-recipe-implementation/59029 "2006-06-09T02:27:12Z")

</div>

i got the rails recipes book, i have now an auth system for users without problems, now i want to made a role based acces for my app, im following the “Role Based Authorization” recipe of the book but i cant make it t…

---

## [Url\_for\_file\_column problems](https://www.ruby-forum.com/t/url-for-file-column-problems/48358)

<div class="topic-metadata">

**Author:** [@vamlists](https://www.ruby-forum.com/u/vamlists)\
**Replies:** 7\
**Last updated:** [December 19, 2005, 10:37pm UTC](https://www.ruby-forum.com/t/url-for-file-column-problems/48358 "2005-12-19T22:37:16Z")

</div>

Hello, Has anyone got file\_column working fully? it’s doing most of it’s job properly, except for the url\_for\_file\_column helper method. Whatever I do, it’s always returning a nil. I tried reading the source, but not …

---

## [Built-in Classes Modified](https://www.ruby-forum.com/t/built-in-classes-modified/259378)

<div class="topic-metadata">

**Author:** [@adisharma](https://www.ruby-forum.com/u/adisharma)\
**Replies:** 2\
**Last updated:** [April 28, 2020, 5:27pm UTC](https://www.ruby-forum.com/t/built-in-classes-modified/259378 "2020-04-28T17:27:27Z")

</div>

Hello Everyone, I am new in this community and I have good knowledge of python but before some days i was thinking to switch in ruby. So I have checked the comparison between ruby vs python as a future point of view. So …

---

## [Adding an "Edited at:"](https://www.ruby-forum.com/t/adding-an-edited-at/244559)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [May 4, 2016, 12:57pm UTC](https://www.ruby-forum.com/t/adding-an-edited-at/244559 "2016-05-04T12:57:39Z")

</div>

I’m looking to add an edited\_at field on comments etc in a Rails 5 app (only shown if it has been edited). I know I can compare created\_at and updated\_at to check if the comment has been edited but it seems like a hit…

---

## [Nginx-1.9.10](https://www.ruby-forum.com/t/nginx-1-9-10/243931)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [January 28, 2016, 8:21am UTC](https://www.ruby-forum.com/t/nginx-1-9-10/243931 "2016-01-28T08:21:17Z")

</div>

Changes with nginx 1.9.10 26 Jan 2016 \*) Security: invalid pointer dereference might occur during DNS server response processing if the “resolver” directive was used, allowing…

---

## [Using Nginx as proxy mail server](https://www.ruby-forum.com/t/using-nginx-as-proxy-mail-server/234266)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [February 19, 2015, 7:31pm UTC](https://www.ruby-forum.com/t/using-nginx-as-proxy-mail-server/234266 "2015-02-19T19:31:19Z")

</div>

Hello! Would it be possible to set up a Nginx server that will proxy emails to a cPanel server? For example I set up a simple VPS server with IP 10.0.0.1 and then I set my domain’s MX record to mail.mydomain.com wh…

---

## [Cannot add an additional parameter to custom block](https://www.ruby-forum.com/t/cannot-add-an-additional-parameter-to-custom-block/238631)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 21, 2014, 3:34pm UTC](https://www.ruby-forum.com/t/cannot-add-an-additional-parameter-to-custom-block/238631 "2014-01-21T15:34:04Z")

</div>

Hi all, I got my things working, up to the point where I decided that an additional parameter in my custom block would be very helpful. But for some reason, GRC keeps holding on to my previous version of the block wi…

---

## [I want to associate a file type with my Ruby script](https://www.ruby-forum.com/t/i-want-to-associate-a-file-type-with-my-ruby-script/216017)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 24, 2012, 6:16am UTC](https://www.ruby-forum.com/t/i-want-to-associate-a-file-type-with-my-ruby-script/216017 "2012-01-24T06:16:39Z")

</div>

Hi: I’m writing a Ruby IDE. It opens a directory as a “project” and displays all the .rb files so you can edit them. I want to save all the settings for my IDE in a yaml file. It would be called MyProjectName.vr\_s…

---

## [Sqlite problem](https://www.ruby-forum.com/t/sqlite-problem/209618)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 19, 2011, 1:32am UTC](https://www.ruby-forum.com/t/sqlite-problem/209618 "2011-07-19T01:32:56Z")

</div>

Hello! I have a rails app using a mysql. Now I need to configure it with sqlite. I change database settings in config/database.yml and Gemfile file and run rake db:create rake db:migrate and did not get any err…

---

## [Ruby-glade-create-template error](https://www.ruby-forum.com/t/ruby-glade-create-template-error/193171)

<div class="topic-metadata">

**Author:** [@plastik77](https://www.ruby-forum.com/u/plastik77)\
**Replies:** 2\
**Last updated:** [September 12, 2010, 8:57pm UTC](https://www.ruby-forum.com/t/ruby-glade-create-template-error/193171 "2010-09-12T20:57:33Z")

</div>

I am facing problem while converting my glade gui design into ruby files. Here i paste the command and error: Command: ruby-glade-create-template example.glade \> example.rb Error Display: /usr/bin/ruby-glade-create-…

---

## [Skip default\_scope when running migrations](https://www.ruby-forum.com/t/skip-default-scope-when-running-migrations/177455)

<div class="topic-metadata">

**Author:** [@snow-templar](https://www.ruby-forum.com/u/snow-templar)\
**Replies:** 2\
**Last updated:** [October 18, 2009, 12:53am UTC](https://www.ruby-forum.com/t/skip-default-scope-when-running-migrations/177455 "2009-10-18T00:53:21Z")

</div>

Hi, I was wondering if there is a way to skip the application of a named\_scope to calls made in legacy migrations. I am working with some old migrations that include some data manipulation tasks, and my default scop…

---

## [How to add these headers to a xml response](https://www.ruby-forum.com/t/how-to-add-these-headers-to-a-xml-response/169760)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 2\
**Last updated:** [June 8, 2009, 2:35pm UTC](https://www.ruby-forum.com/t/how-to-add-these-headers-to-a-xml-response/169760 "2009-06-08T14:35:36Z")

</div>

Hi, I need to create something like this: \<?xml version="1.0" encoding="UTF-8"?\> aQlfVHX+qPM 2009-09-19T08:14:55Z The response should contain the next headers: Content-Type=application/vnd.3gpp+xml Authenticati…

---

## [Confirm option on submit\_tag -- not working](https://www.ruby-forum.com/t/confirm-option-on-submit-tag-not-working/141618)

<div class="topic-metadata">

**Author:** [@djlewis](https://www.ruby-forum.com/u/djlewis)\
**Replies:** 2\
**Last updated:** [June 28, 2008, 7:59am UTC](https://www.ruby-forum.com/t/confirm-option-on-submit-tag-not-working/141618 "2008-06-28T07:59:05Z")

</div>

I’m getting an incorrect result with the confirm option of submit buttons. This source… \<%= button\_to "Submit entire questionnaire", {}, :confirm =\> "Are you sure? You will not be able to make any more changes."…

---

## [Fastcgi problems (connection hangs/time outs)](https://www.ruby-forum.com/t/fastcgi-problems-connection-hangs-time-outs/116756)

<div class="topic-metadata">

**Author:** [@Attila\_Nagy](https://www.ruby-forum.com/u/Attila_Nagy)\
**Replies:** 2\
**Last updated:** [October 19, 2007, 11:06am UTC](https://www.ruby-forum.com/t/fastcgi-problems-connection-hangs-time-outs/116756 "2007-10-19T11:06:12Z")

</div>

Hello, I have a very simple perl fastcgi application (just for testing) and nginx 0.5.32 and 0.6.13. With both versions I get nothing in the web browser and the log says that there is a timeout. ktrace of the nginx …

---

## [Memcached - multiple puts and deletes?](https://www.ruby-forum.com/t/memcached-multiple-puts-and-deletes/92028)

<div class="topic-metadata">

**Author:** [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Replies:** 2\
**Last updated:** [April 14, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/memcached-multiple-puts-and-deletes/92028 "2007-04-14T23:54:55Z")

</div>

Hi, I have recently started using memcached to store my ‘Vehicle’ models which are expensive to construct (have may related models). I am also using memcache-client to fetch these models, sometimes many at a time usi…

---

## [Ruby, Curses, Threading, and Sleeping](https://www.ruby-forum.com/t/ruby-curses-threading-and-sleeping/86282)

<div class="topic-metadata">

**Author:** [@badcherry](https://www.ruby-forum.com/u/badcherry)\
**Replies:** 2\
**Last updated:** [February 22, 2007, 6:25am UTC](https://www.ruby-forum.com/t/ruby-curses-threading-and-sleeping/86282 "2007-02-22T06:25:35Z")

</div>

I’m attempting to get a curses application running in a threaded environment to handle input with no delay. This is needed for portability reasons. I have found though that in a threaded ruby environment that whenev…

---

## [What can i do if super admin user id is deleted by admin only](https://www.ruby-forum.com/t/what-can-i-do-if-super-admin-user-id-is-deleted-by-admin-only/234352)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [February 26, 2015, 8:09am UTC](https://www.ruby-forum.com/t/what-can-i-do-if-super-admin-user-id-is-deleted-by-admin-only/234352 "2015-02-26T08:09:01Z")

</div>

our site admin deleted his own id while deleting users ,what can i do now to get back admin user can any one help,its urgent.

---

## [Rails 4 Filtering on has\_many through associations](https://www.ruby-forum.com/t/rails-4-filtering-on-has-many-through-associations/233234)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [November 26, 2014, 2:26pm UTC](https://www.ruby-forum.com/t/rails-4-filtering-on-has-many-through-associations/233234 "2014-11-26T14:26:17Z")

</div>

Hi All, I have an issue on filtering a has\_many through association. My model is as follows class Group has\_and\_belongs\_to\_many :messages has\_many :tags, through :messages end class Message has\_and\_belongs\_to\_ma…

---

## [Redirect question (inception inside)](https://www.ruby-forum.com/t/redirect-question-inception-inside/231574)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 16, 2014, 12:27pm UTC](https://www.ruby-forum.com/t/redirect-question-inception-inside/231574 "2014-08-16T12:27:38Z")

</div>

I want to redirect /us/us/directory/filename to the /us/directory/filename directory on my Nginx server. but this if ( $request\_filename ~ /us/us/.+ ) { rewrite ^(.\*) http://mysiteurlt/us/$1 permanent;…

---

## [Problem installing shoes using the installer shoes-3.1.0.run](https://www.ruby-forum.com/t/problem-installing-shoes-using-the-installer-shoes-3-1-0-run/228390)

<div class="topic-metadata">

**Author:** [@rubina](https://www.ruby-forum.com/u/rubina)\
**Replies:** 5\
**Last updated:** [April 20, 2013, 5:42pm UTC](https://www.ruby-forum.com/t/problem-installing-shoes-using-the-installer-shoes-3-1-0-run/228390 "2013-04-20T17:42:51Z")

</div>

Hello everyone. I am trying to install shoes-3.1.0 by executing the install file: shoes-3.1.0.run, but after few seconds the installer terminates with the error listed below. Red Hat Enterprise Linux Workstation rele…

---

## [\[ruby-trunk - Bug #8192\]\[Open\] \[OSX\] Build failure by trunk](https://www.ruby-forum.com/t/ruby-trunk-bug-8192-open-osx-build-failure-by-trunk/227865)

<div class="topic-metadata">

**Author:** [@ayumin\_SAyumu\_AIZAW](https://www.ruby-forum.com/u/ayumin_SAyumu_AIZAW)\
**Replies:** 5\
**Last updated:** [April 1, 2013, 12:37am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8192-open-osx-build-failure-by-trunk/227865 "2013-04-01T00:37:26Z")

</div>

Issue #8192 has been reported by ayumin (Ayumu AIZAWA). Bug #8192: \[OSX\] Build failure by trunk Author: ayumin (Ayumu AIZAWA) Status: Open Priority: Normal Assignee: nobu (Nobuyoshi N.) Category: build Target ve…

---

## [\[ruby-trunk - Bug #7262\]\[Open\] module extension (#include/#prepend) in refinements](https://www.ruby-forum.com/t/ruby-trunk-bug-7262-open-module-extension-include-prepend-in-refinements/224177)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [December 12, 2012, 11:22pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-7262-open-module-extension-include-prepend-in-refinements/224177 "2012-12-12T23:22:46Z")

</div>

Issue #7262 has been reported by matz (Yukihiro M.). Bug #7262: module extension (#include/#prepend) in refinements Author: matz (Yukihiro M.) Status: Open Priority: Normal Assignee: shugo (Shugo M.) Category: co…

---

## [Multiple URL parameters in the same location directive](https://www.ruby-forum.com/t/multiple-url-parameters-in-the-same-location-directive/224048)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [October 28, 2012, 3:41pm UTC](https://www.ruby-forum.com/t/multiple-url-parameters-in-the-same-location-directive/224048 "2012-10-28T15:41:03Z")

</div>

Hi all, I have some URL patterns that follow the same directive specifications. E.g. sitemap.xml, robots.txt etc. follow the same location directive with the same caching policy, invalidation etc. location /robo…

---

## [ActiveScaffold Export file - Send as Email](https://www.ruby-forum.com/t/activescaffold-export-file-send-as-email/221550)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [July 20, 2012, 8:39am UTC](https://www.ruby-forum.com/t/activescaffold-export-file-send-as-email/221550 "2012-07-20T08:39:31Z")

</div>

I am using Rails 1.2.3 and Active scaffold 1.1.1 My requirement is to send the export of users data weekly to the admin as email via cron. How can i automate the process of exporting csv and storing it at a place? So…

---

## [WBX CW transmit problem](https://www.ruby-forum.com/t/wbx-cw-transmit-problem/208925)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [July 1, 2011, 4:17pm UTC](https://www.ruby-forum.com/t/wbx-cw-transmit-problem/208925 "2011-07-01T16:17:50Z")

</div>

Dear all, I have been testing USRP2 with WBX board (#957). Using GNU Radio, I have created a simple CW TX system. The problem: output signal is oscillating when I set the TX frequencies to 900MHz band. Signal output …

---

## [Matplotlib qualcosa per ruby?](https://www.ruby-forum.com/t/matplotlib-qualcosa-per-ruby/203990)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 3, 2011, 12:55pm UTC](https://www.ruby-forum.com/t/matplotlib-qualcosa-per-ruby/203990 "2011-03-03T12:55:21Z")

</div>

Salve ragazzi, qualcuno conosce qualcosa come matplotlib per ruby? (http://matplotlib.sourceforge.net/) Io ho trovato roba poco interessante finora: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/128721

---

## [Using Nginx as an injection proxy](https://www.ruby-forum.com/t/using-nginx-as-an-injection-proxy/202102)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 14, 2011, 4:46pm UTC](https://www.ruby-forum.com/t/using-nginx-as-an-injection-proxy/202102 "2011-02-14T16:46:50Z")

</div>

Hi, I’d like to know whether it is possible to use Nginx as an injection proxy (for 100% legal and professionnal use ! :slight\_smile: ), notably to analyse the headers or content of a response, and perform automated c…

---

## [Conditional haml vs. erb precedence](https://www.ruby-forum.com/t/conditional-haml-vs-erb-precedence/199507)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 2, 2010, 8:58pm UTC](https://www.ruby-forum.com/t/conditional-haml-vs-erb-precedence/199507 "2010-12-02T20:58:25Z")

</div>

Hi all, I’ve got a Rails app that I’m converting over to using HAML as part of a redesign. During the conversion process, we want to keep the new views away from most of our users until they’re ready for public beta. …

---

## [Getting values from multiple select](https://www.ruby-forum.com/t/getting-values-from-multiple-select/169030)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 5\
**Last updated:** [May 30, 2009, 12:11pm UTC](https://www.ruby-forum.com/t/getting-values-from-multiple-select/169030 "2009-05-30T12:11:54Z")

</div>

I try to get the values from a multiple select without luck. This is my select: \<%= select “product”, “items”, @options, {}, { :multiple =\> true } %\> If I add it directly to a column in the db I get: !binary | xGd…

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

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