# Top

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

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

---

## [Installing gem from source](https://www.ruby-forum.com/t/installing-gem-from-source/189113)

<div class="topic-metadata">

**Author:** [@pepe](https://www.ruby-forum.com/u/pepe)\
**Replies:** 7\
**Last updated:** [May 25, 2010, 4:44am UTC](https://www.ruby-forum.com/t/installing-gem-from-source/189113 "2010-05-25T04:44:34Z")

</div>

I need to install the latest actionwebservice from source. I have spent quite a bit of time looking for info on the net and reading books but couldn’t find a clear and cut set of instructions about how to do this. Th…

---

## [Looking for Set implementation in C](https://www.ruby-forum.com/t/looking-for-set-implementation-in-c/179034)

<div class="topic-metadata">

**Author:** [@Shot\_SPiotr\_S.S](https://www.ruby-forum.com/u/Shot_SPiotr_S.S)\
**Replies:** 7\
**Last updated:** [November 18, 2009, 9:11am UTC](https://www.ruby-forum.com/t/looking-for-set-implementation-in-c/179034 "2009-11-18T09:11:07Z")

</div>

Hello, good folks of ruby-talk. The Set class in MRI is implemented in pure Ruby (lib/set.rb). I vaguely remember someone posting here a C (re)implementation of the class, but I canâ€™t remember the details and itâ€™s…

---

## [Enumerating and mixin](https://www.ruby-forum.com/t/enumerating-and-mixin/177188)

<div class="topic-metadata">

**Author:** [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Replies:** 7\
**Last updated:** [October 14, 2009, 10:25am UTC](https://www.ruby-forum.com/t/enumerating-and-mixin/177188 "2009-10-14T10:25:07Z")

</div>

I am trying to learn the correct way to enumerate in Ruby, a few things are missing in my 1st stab at this. How do I use mixin with Enumerable to rewrite the class I have below? I can’t seem to find a concrete exampl…

---

## [USB writing problem](https://www.ruby-forum.com/t/usb-writing-problem/173508)

<div class="topic-metadata">

**Author:** [@Harvind\_Samra](https://www.ruby-forum.com/u/Harvind_Samra)\
**Replies:** 7\
**Last updated:** [September 14, 2009, 11:23pm UTC](https://www.ruby-forum.com/t/usb-writing-problem/173508 "2009-09-14T23:23:46Z")

</div>

We’ve occasionally encountered cases, while running OpenBTS, where the USRP code hang up and starts spitting out the following message repeatedly: short write xfer: 0 != 3584 In looking at fusb\_linux.cc, it looks lik…

---

## [Download a comic strip and email to myself with Ruby?](https://www.ruby-forum.com/t/download-a-comic-strip-and-email-to-myself-with-ruby/168813)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 7\
**Last updated:** [May 26, 2009, 9:56pm UTC](https://www.ruby-forum.com/t/download-a-comic-strip-and-email-to-myself-with-ruby/168813 "2009-05-26T21:56:11Z")

</div>

using Ruby on my local Windows machine, can I easily write a script to download a comic strip every day and email it to myself? such as http://comics.com/peanuts

---

## [Methodology question](https://www.ruby-forum.com/t/methodology-question/168658)

<div class="topic-metadata">

**Author:** [@mk27](https://www.ruby-forum.com/u/mk27)\
**Replies:** 7\
**Last updated:** [May 23, 2009, 10:22pm UTC](https://www.ruby-forum.com/t/methodology-question/168658 "2009-05-23T22:22:35Z")

</div>

Still learning, but it is getting easier by the minute :wink: I have a bunch of controllers (that correspond to db tables) and corresponding views. However, I want to use the views with link\_to\_remote into divs on a …

---

## [Regular expression](https://www.ruby-forum.com/t/regular-expression/163617)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 7\
**Last updated:** [March 23, 2009, 1:22pm UTC](https://www.ruby-forum.com/t/regular-expression/163617 "2009-03-23T13:22:34Z")

</div>

Hi, I know that what i’m going to ask is for the solution for a simple problem. But as I’m new to Ruby I have not learnt a lot about regular expressions in Ruby. Can anybody tell me how to extract all the contents wh…

---

## [Select helper and issues with :selected](https://www.ruby-forum.com/t/select-helper-and-issues-with-selected/163362)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 7\
**Last updated:** [March 19, 2009, 5:35pm UTC](https://www.ruby-forum.com/t/select-helper-and-issues-with-selected/163362 "2009-03-19T17:35:15Z")

</div>

I have this code: \<%= select ‘stuff’, ‘id’, Stuff.find\_by\_sql( “SELECT stuffs.value, stuffs.id from stuffs WHERE account\_id = " + @account.id.to\_s + " ORDER BY stuffs.value ASC” ).collect{ |a| \[a.value, a.id\] }, {:inc…

---

## [Freezing gems when dev OS != prod OS](https://www.ruby-forum.com/t/freezing-gems-when-dev-os-prod-os/152180)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 1\
**Last updated:** [October 30, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/freezing-gems-when-dev-os-prod-os/152180 "2008-10-30T21:56:07Z")

</div>

My question arises from the fact that I’m developing on Windows but, in the short term, deploying to a shared, Linux-based host. I’m developing on Windows because that’s where the app will eventually be installed. Bu…

---

## [Deleting Text From a File](https://www.ruby-forum.com/t/deleting-text-from-a-file/121506)

<div class="topic-metadata">

**Author:** [@woodyee](https://www.ruby-forum.com/u/woodyee)\
**Replies:** 7\
**Last updated:** [November 28, 2007, 11:30pm UTC](https://www.ruby-forum.com/t/deleting-text-from-a-file/121506 "2007-11-28T23:30:46Z")

</div>

Hi! I had to manually remove decimals and tildes from a text file. How could I have done this via programming? I googled this but didn’t really find anything, just stuff on removing spaces. Basically, I’d like to be a…

---

## [Web Hosting Services for RoR](https://www.ruby-forum.com/t/web-hosting-services-for-ror/115801)

<div class="topic-metadata">

**Author:** [@shupemeister](https://www.ruby-forum.com/u/shupemeister)\
**Replies:** 7\
**Last updated:** [September 29, 2007, 3:12am UTC](https://www.ruby-forum.com/t/web-hosting-services-for-ror/115801 "2007-09-29T03:12:19Z")

</div>

Newby here. I have read the instructions on setting up a server to host RoR. My web hosting service, IPowerWeb, claims to be set up to host RoR yet they say I have to manually set things up myself but the tech support…

---

## [An alternative for VB using Ruby](https://www.ruby-forum.com/t/an-alternative-for-vb-using-ruby/108976)

<div class="topic-metadata">

**Author:** [@ti-mara](https://www.ruby-forum.com/u/ti-mara)\
**Replies:** 7\
**Last updated:** [July 11, 2007, 3:56pm UTC](https://www.ruby-forum.com/t/an-alternative-for-vb-using-ruby/108976 "2007-07-11T15:56:54Z")

</div>

I want to know if theres an alternative to VB.net using ruby… I mean in terms of dragging and dropping to build applications directly… so that building apps would be faster in ruby than it already is. Might seem like …

---

## [Updated DIV after submit](https://www.ruby-forum.com/t/updated-div-after-submit/80353)

<div class="topic-metadata">

**Author:** [@mr\_brownstone](https://www.ruby-forum.com/u/mr_brownstone)\
**Replies:** 7\
**Last updated:** [December 26, 2006, 12:28pm UTC](https://www.ruby-forum.com/t/updated-div-after-submit/80353 "2006-12-26T12:28:36Z")

</div>

I have two DIV\`s, one for menu(div “menu”), and other for appear the forms(div “tela”).Well, after execute submit of view “new”, is load the view of scaffold, in new window. I want that after execute the submit, the v…

---

## [Installation question](https://www.ruby-forum.com/t/installation-question/95346)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 7\
**Last updated:** [May 30, 2006, 12:31am UTC](https://www.ruby-forum.com/t/installation-question/95346 "2006-05-30T00:31:21Z")

</div>

I use Mac OS and have installed Ruby. Sorry for a stupid question but where is Ruby installed?

---

## [FCGI hanging w/ lighttpd and RoR 1.0 (need to kill -9)](https://www.ruby-forum.com/t/fcgi-hanging-w-lighttpd-and-ror-1-0-need-to-kill-9/69789)

<div class="topic-metadata">

**Author:** [@jennyw](https://www.ruby-forum.com/u/jennyw)\
**Replies:** 7\
**Last updated:** [February 18, 2006, 6:01am UTC](https://www.ruby-forum.com/t/fcgi-hanging-w-lighttpd-and-ror-1-0-need-to-kill-9/69789 "2006-02-18T06:01:11Z")

</div>

Hi, everyone, I’m currently running a Rails 1.0 project using lighttpd-1.4.9 behind Apache 2 on RHEL 3. My fcgi process (I’m only using one right now) always hangs after some time, which is something I haven’t experie…

---

## [Uso delle variabili in Ruby/Tk](https://www.ruby-forum.com/t/uso-delle-variabili-in-ruby-tk/243713)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [December 24, 2015, 5:20pm UTC](https://www.ruby-forum.com/t/uso-delle-variabili-in-ruby-tk/243713 "2015-12-24T17:20:30Z")

</div>

Salve a tutti, da poco tempo mi sto cimentando nella costruzione di un’interfaccia grafica per il mio programma, utilizzando il toolkit Tk. Seguendo la guida Ruby/Tk non ho incontrato problemi nel costruire la parte g…

---

## [Rails app crashing on dreamhost](https://www.ruby-forum.com/t/rails-app-crashing-on-dreamhost/217485)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 2, 2012, 8:01pm UTC](https://www.ruby-forum.com/t/rails-app-crashing-on-dreamhost/217485 "2012-03-02T20:01:31Z")

</div>

Hi All, Wondering if anybody has seen this issue. I have a rails 3.2 app I am trying to host on dreamhost. I am using FastCGI. When I attempt to access the site, I get the “Rails application failed to start properl…

---

## [No warning: found = in conditional, should be ==](https://www.ruby-forum.com/t/no-warning-found-in-conditional-should-be/208756)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 26, 2011, 10:41am UTC](https://www.ruby-forum.com/t/no-warning-found-in-conditional-should-be/208756 "2011-06-26T10:41:39Z")

</div>

Issue #4299 has been updated by Hiroshi NAKAMURA. Target version set to 1.9.3 Bug #4299: no warning: found = in conditional, should be == Author: Kazuhiro NISHIYAMA Status: Assigned Priority: Normal Assignee: Nob…

---

## [myModel.all returns only 138 records](https://www.ruby-forum.com/t/mymodel-all-returns-only-138-records/245747)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [July 8, 2013, 3:32pm UTC](https://www.ruby-forum.com/t/mymodel-all-returns-only-138-records/245747 "2013-07-08T15:32:32Z")

</div>

Hi I have a Rail 4 with Postrgesql 9.1 setup that is working fine, apart from I just ran into an issue. Lets say I have a model called MyModel that has 150 records. If in IRB I try: test = MyModel.all Only 138 re…

---

## [Joining tables but not on the default ID field](https://www.ruby-forum.com/t/joining-tables-but-not-on-the-default-id-field/173636)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 6\
**Last updated:** [August 12, 2009, 2:50pm UTC](https://www.ruby-forum.com/t/joining-tables-but-not-on-the-default-id-field/173636 "2009-08-12T14:50:25Z")

</div>

I’ve got a working app, at its core I have a rake task that pulls in the resort data from a CSV file (which a data provider will give me annually). Thanks to the help here it’s all working fine. I think I’ve made a ba…

---

## [DBSRX filter efficiency?](https://www.ruby-forum.com/t/dbsrx-filter-efficiency/168212)

<div class="topic-metadata">

**Author:** [@Andreas\_Bogk](https://www.ruby-forum.com/u/Andreas_Bogk)\
**Replies:** 6\
**Last updated:** [May 18, 2009, 8:34pm UTC](https://www.ruby-forum.com/t/dbsrx-filter-efficiency/168212 "2009-05-18T20:34:11Z")

</div>

Dear Gnuradio hackers, I have problems with the DBSRX module of the USRP: I see GSM on all frequencies. I hope somebody can answer my questions: Is there an antialiasing filter somewhere in the design? If so, what …

---

## [Creating Unique Votes](https://www.ruby-forum.com/t/creating-unique-votes/151525)

<div class="topic-metadata">

**Author:** [@Leximo](https://www.ruby-forum.com/u/Leximo)\
**Replies:** 6\
**Last updated:** [October 23, 2008, 2:46pm UTC](https://www.ruby-forum.com/t/creating-unique-votes/151525 "2008-10-23T14:46:28Z")

</div>

I have a rails app that uses voting. Right now I have it set up so that you can vote on a word, but it doesn’t limit the number of votes. So someone can vote on the same word more than once. How do I make it so that y…

---

## [Closing HTML Tags, or Containing HTML](https://www.ruby-forum.com/t/closing-html-tags-or-containing-html/146583)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 6\
**Last updated:** [September 5, 2008, 6:04pm UTC](https://www.ruby-forum.com/t/closing-html-tags-or-containing-html/146583 "2008-09-05T18:04:03Z")

</div>

How are you gentlemen? I have a view where I need to render some HTML stored in site.html\_code \<%= site.html\_code %\> The problem is, when I do that, it changes all the links on the rest of the page that are pulled in…

---

## ["require" with many files](https://www.ruby-forum.com/t/require-with-many-files/136142)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 6\
**Last updated:** [May 3, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/require-with-many-files/136142 "2008-05-03T17:37:26Z")

</div>

Hi, is there any preferred way to load/require all the fiels in a directory? For example, my main file does: require “header.rb” and file “header.rb” must load all the related files contained in “headers/” directory…

---

## [Running scripts from a controller](https://www.ruby-forum.com/t/running-scripts-from-a-controller/134212)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 6\
**Last updated:** [April 9, 2008, 1:38am UTC](https://www.ruby-forum.com/t/running-scripts-from-a-controller/134212 "2008-04-09T01:38:52Z")

</div>

Hello, I am developing an app that needs to run a scripts outside of MVC. I have a Ruby script called ‘test.rb’ located in ‘public/tools’ that I would like to initiate from a controller. In my controller I tried the …

---

## [How to call mutiple actions in one layout](https://www.ruby-forum.com/t/how-to-call-mutiple-actions-in-one-layout/118736)

<div class="topic-metadata">

**Author:** [@heldopslippers](https://www.ruby-forum.com/u/heldopslippers)\
**Replies:** 6\
**Last updated:** [October 30, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/how-to-call-mutiple-actions-in-one-layout/118736 "2007-10-30T21:22:35Z")

</div>

hi for a few days now I am searching for a solution for this problem: I would like to render multiple actions in a layout. For example: I have in the welcome layout two divs: 1 menubar and a main. the menu bar has …

---

## [Regular Expression question](https://www.ruby-forum.com/t/regular-expression-question/108214)

<div class="topic-metadata">

**Author:** [@desertfox](https://www.ruby-forum.com/u/desertfox)\
**Replies:** 6\
**Last updated:** [June 30, 2007, 9:34am UTC](https://www.ruby-forum.com/t/regular-expression-question/108214 "2007-06-30T09:34:04Z")

</div>

Hello, Im working with regular expressions and I cant quite understand how the “13” is extracted from the string. Here is the irb output: irb(main):005:0\> “(13)”\[1…-2\].to\_i =\> 13 I dont understadn how the \[1…-2\] pa…

---

## [Ruby Class Variables](https://www.ruby-forum.com/t/ruby-class-variables/90865)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 6\
**Last updated:** [April 2, 2007, 5:36pm UTC](https://www.ruby-forum.com/t/ruby-class-variables/90865 "2007-04-02T17:36:47Z")

</div>

Hello, I’m little confused about class variables class Polygon attr\_accessor :sides @@sides = 10 end p Polygon.new.sides I get nil as return from sides?? but when I do this class Polygon @@sides = 10 def sides …

---

## [Attr\_protected macro](https://www.ruby-forum.com/t/attr-protected-macro/88987)

<div class="topic-metadata">

**Author:** [@gaurav\_bagga](https://www.ruby-forum.com/u/gaurav_bagga)\
**Replies:** 6\
**Last updated:** [March 16, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/attr-protected-macro/88987 "2007-03-16T23:03:54Z")

</div>

Hi All, I was going through a blog where I found “Do this by calling the attr\_protected macro in your model class definition” what do you mean by macro here. Is it a method?

---

## [Using Locomotive - Problem making database tables](https://www.ruby-forum.com/t/using-locomotive-problem-making-database-tables/78819)

<div class="topic-metadata">

**Author:** [@cmcfarland](https://www.ruby-forum.com/u/cmcfarland)\
**Replies:** 6\
**Last updated:** [January 10, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/using-locomotive-problem-making-database-tables/78819 "2007-01-10T23:09:28Z")

</div>

Hi, Im using a macbook and Im still trying to get rails running properly! I’ve went through the basic locomotive help file and have no problems up until ‘Prepare your database tables’. Here is what im trying to do: "…

---

## [Logging sql calls](https://www.ruby-forum.com/t/logging-sql-calls/73392)

<div class="topic-metadata">

**Author:** [@chadster](https://www.ruby-forum.com/u/chadster)\
**Replies:** 6\
**Last updated:** [November 7, 2006, 10:54am UTC](https://www.ruby-forum.com/t/logging-sql-calls/73392 "2006-11-07T10:54:17Z")

</div>

Is there an easy way to log every SQL call to the database? I’d like to log mysql queries and their respective execution times into a table so that I can closely monitor/report the performance of my application and …

---

## [Sorting through an array of an array](https://www.ruby-forum.com/t/sorting-through-an-array-of-an-array/72072)

<div class="topic-metadata">

**Author:** [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Replies:** 6\
**Last updated:** [October 14, 2006, 1:12am UTC](https://www.ruby-forum.com/t/sorting-through-an-array-of-an-array/72072 "2006-10-14T01:12:24Z")

</div>

Hello. Each of my arrays look like this: container\[0\] = \[“foo”, “bar”, “baz”\] container\[1\] = \[“doo”, “poo”, “woo”\] i’d like to sort by the second position (bar, and poo) and of course,affecting the whole row, so th…

---

## [Having Problem w/ Agile Web Development book](https://www.ruby-forum.com/t/having-problem-w-agile-web-development-book/101620)

<div class="topic-metadata">

**Author:** [@necrocyte](https://www.ruby-forum.com/u/necrocyte)\
**Replies:** 6\
**Last updated:** [August 6, 2006, 9:27pm UTC](https://www.ruby-forum.com/t/having-problem-w-agile-web-development-book/101620 "2006-08-06T21:27:16Z")

</div>

I get this error … NoMethodError in StoreController#index undefined method \`salable\_items’ for Product:Class and here is my store\_controller.rb … class StoreController \< ApplicationController def index @products = …

---

## [Mongrel/win32/apache2 link modification question](https://www.ruby-forum.com/t/mongrel-win32-apache2-link-modification-question/97527)

<div class="topic-metadata">

**Author:** [@John\_I](https://www.ruby-forum.com/u/John_I)\
**Replies:** 6\
**Last updated:** [July 10, 2006, 6:49pm UTC](https://www.ruby-forum.com/t/mongrel-win32-apache2-link-modification-question/97527 "2006-07-10T18:49:56Z")

</div>

I have apache2 - mongrel 0.3.13.3-mswin32 running, on a server 2000 pc, by folowing the ‘Serving Multiple Rails Applications on Windows with Apache and Mongrel’ ( http://tinyurl.com/z9ftz ) the question I have is why …

---

## [Question about magic enumerators in \> 1.8](https://www.ruby-forum.com/t/question-about-magic-enumerators-in-1-8/97677)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [July 10, 2006, 1:07pm UTC](https://www.ruby-forum.com/t/question-about-magic-enumerators-in-1-8/97677 "2006-07-10T13:07:00Z")

</div>

Hi – Can someone jog my memory, and/or enlighten me, as to what a case would be where it’s useful to have: array.map return an Enumerator? I can’t seem to come up with an example where: array.map.anything is diffe…

---

## [Conditional access log formatting?](https://www.ruby-forum.com/t/conditional-access-log-formatting/242757)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [July 20, 2015, 2:49pm UTC](https://www.ruby-forum.com/t/conditional-access-log-formatting/242757 "2015-07-20T14:49:07Z")

</div>

Hi, I’m using haproxy infront of some NGINX instances, but only for some instances which are being loadbalanced by haproxy, there are other instances which go straight through. I realise I need to change the logging …

---

## [How to Solv A \* x + x \* B = C](https://www.ruby-forum.com/t/how-to-solv-a-x-x-b-c/233368)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [December 16, 2014, 3:58pm UTC](https://www.ruby-forum.com/t/how-to-solv-a-x-x-b-c/233368 "2014-12-16T15:58:18Z")

</div>

Hey everybody I am a newer here and in ruby programming. I am using eclipse for ruby programming and running and I have an urgent problem with this: A \* x + x \* B = C That A, B , C are proper matrix and x is my desi…

---

## [Understanding nginx proxy magic](https://www.ruby-forum.com/t/understanding-nginx-proxy-magic/233214)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 25, 2014, 2:21pm UTC](https://www.ruby-forum.com/t/understanding-nginx-proxy-magic/233214 "2014-11-25T14:21:13Z")

</div>

I installed nginx as a reverse proxy in front of apache server. No configuration change was made on apache and nginx is simply passing all requests to the backend apache. Now website is more responsive and it can han…

---

## [Heroku not supporting website from othr web source](https://www.ruby-forum.com/t/heroku-not-supporting-website-from-othr-web-source/233041)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 13, 2014, 5:36pm UTC](https://www.ruby-forum.com/t/heroku-not-supporting-website-from-othr-web-source/233041 "2014-11-13T17:36:52Z")

</div>

hello friends, i am working with rails and i want to load some java script components from other web source and render it in my web site which is hosted on heroku. but heroku is not loading components from other web …

---

## [Notification System(social-network-like)](https://www.ruby-forum.com/t/notification-system-social-network-like/232080)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 17, 2014, 3:31am UTC](https://www.ruby-forum.com/t/notification-system-social-network-like/232080 "2014-09-17T03:31:06Z")

</div>

Hey guys, I’m still kinda new to Rails and was wondering if someone have ever been through this situation in any project. What I want to implement is a notification system, for a personal project I’m working into, som…

---

## [AWS HAProxy latency to Nginx?](https://www.ruby-forum.com/t/aws-haproxy-latency-to-nginx/209325)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 11, 2011, 11:25pm UTC](https://www.ruby-forum.com/t/aws-haproxy-latency-to-nginx/209325 "2011-07-11T23:25:03Z")

</div>

I’m new to nginx and have been migrating my organization’s web server away from apache/mod-php and to nginx 1.0 /php-fpm (php 5.3.6) We use Amazon Web Services and pipe requests to the nginx servers from the AWS load …

---

## [Custom rbconfig.rb](https://www.ruby-forum.com/t/custom-rbconfig-rb/187688)

<div class="topic-metadata">

**Author:** [@mike343](https://www.ruby-forum.com/u/mike343)\
**Replies:** 2\
**Last updated:** [April 28, 2010, 9:03am UTC](https://www.ruby-forum.com/t/custom-rbconfig-rb/187688 "2010-04-28T09:03:33Z")

</div>

On my system some settings for the compiler (Solaris) are wrong and i want to modify these. But since i dont have root access, i cannot modify that file directly. Is it possible to put a copy of that file like in .gem…

---

## [Ficheros HTML en directorios privados](https://www.ruby-forum.com/t/ficheros-html-en-directorios-privados/175996)

<div class="topic-metadata">

**Author:** [@melme](https://www.ruby-forum.com/u/melme)\
**Replies:** 2\
**Last updated:** [September 25, 2009, 4:48pm UTC](https://www.ruby-forum.com/t/ficheros-html-en-directorios-privados/175996 "2009-09-25T16:48:06Z")

</div>

Muy buenas. Estyo desarrollando un proyecto en el cual almaceno archivos HTML con sus ficheros relacionados (imÃ¡genes, hojas de estilo…) en directorios privados. Es decir, no son accesibles directamente desde el nave…

---

## [Instalar gem curb](https://www.ruby-forum.com/t/instalar-gem-curb/170158)

<div class="topic-metadata">

**Author:** [@elrosnav](https://www.ruby-forum.com/u/elrosnav)\
**Replies:** 2\
**Last updated:** [June 13, 2009, 2:31am UTC](https://www.ruby-forum.com/t/instalar-gem-curb/170158 "2009-06-13T02:31:21Z")

</div>

hola a todos estoy intentando ocupar handsoap para conectarme a un servidor soap este me dice que necesita la gem curb pero cuanto intento instalar me dice que no encuentra la lib de curl la libreria la baje pero nose…

---

## [Nginx cookie - how to inject variable into cookie](https://www.ruby-forum.com/t/nginx-cookie-how-to-inject-variable-into-cookie/169192)

<div class="topic-metadata">

**Author:** [@Payam\_C](https://www.ruby-forum.com/u/Payam_C)\
**Replies:** 2\
**Last updated:** [June 2, 2009, 5:11am UTC](https://www.ruby-forum.com/t/nginx-cookie-how-to-inject-variable-into-cookie/169192 "2009-06-02T05:11:51Z")

</div>

Hey, im trying to compare the cookie with the remote\_addr via nginx but nginx sees $remote\_addr as the text and not the a variable … so it wont match properly I do have two cookies… the one I need to match for is th…

---

## [Duda en cucumber](https://www.ruby-forum.com/t/duda-en-cucumber/167849)

<div class="topic-metadata">

**Author:** [@LLeSSSSr\_BorrSSSSs](https://www.ruby-forum.com/u/LLeSSSSr_BorrSSSSs)\
**Replies:** 2\
**Last updated:** [May 13, 2009, 6:12pm UTC](https://www.ruby-forum.com/t/duda-en-cucumber/167849 "2009-05-13T18:12:13Z")

</div>

Hola buenas, he empezadoa trastear con cucumber un poco y, queriendo utilizar-lo en catalan, pero en castellano me ha passado lo mismo, me encuentro que si utilizo el comando rake features me busca los escenarios y d…

---

## [Helper Class](https://www.ruby-forum.com/t/helper-class/166474)

<div class="topic-metadata">

**Author:** [@paul-au](https://www.ruby-forum.com/u/paul-au)\
**Replies:** 2\
**Last updated:** [April 25, 2009, 10:07pm UTC](https://www.ruby-forum.com/t/helper-class/166474 "2009-04-25T22:07:44Z")

</div>

Bonjour a tous, J’essaye de creer une classe qui va m’etre utile dans mes vues. J’ai donc commencÃ© a l’ecrire dans le module ApplicationHelper. Le probleme c’est que dans cette classe je n’ai pas acces aux methodes d…

---

## [What escape or sanitize functions are out there?](https://www.ruby-forum.com/t/what-escape-or-sanitize-functions-are-out-there/166191)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 2\
**Last updated:** [April 22, 2009, 11:10pm UTC](https://www.ruby-forum.com/t/what-escape-or-sanitize-functions-are-out-there/166191 "2009-04-22T23:10:25Z")

</div>

i found the following functions or method to escape HTML, URL params, or Javascript data: \<%= h @ha %\> \<%= sanitize @ha %\> \<%= u @ha %\> \<%= @ha.to\_json %\> \<%= strip\_tags @ha %\> are they more functions or methods t…

---

## [Rails Nested Object Form \*\_attributes problem](https://www.ruby-forum.com/t/rails-nested-object-form-attributes-problem/165365)

<div class="topic-metadata">

**Author:** [@dmrolfs](https://www.ruby-forum.com/u/dmrolfs)\
**Replies:** 2\
**Last updated:** [April 14, 2009, 12:07am UTC](https://www.ruby-forum.com/t/rails-nested-object-form-attributes-problem/165365 "2009-04-14T00:07:48Z")

</div>

I’m using Rails 2.3.2, and trying to get a nested object form to work properly. I’ve narrowed my problem to the issue that Rails is not setting my nested form elements with the \*\_attributes required to initiate the ac…

---

## [How to know where ERB stopped?](https://www.ruby-forum.com/t/how-to-know-where-erb-stopped/163481)

<div class="topic-metadata">

**Author:** [@matt\_neuburg](https://www.ruby-forum.com/u/matt_neuburg)\
**Replies:** 2\
**Last updated:** [March 21, 2009, 10:16pm UTC](https://www.ruby-forum.com/t/how-to-know-where-erb-stopped/163481 "2009-03-21T22:16:02Z")

</div>

Let’s say I’ve got an ERB template: text1 \<%= thing1() %\> text2 \<%= thing2() %\> text3 \<%= thing3() %\> text4 But let’s say we get an error (exception) during the execution of thing2(). How can I find out that thi…

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

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