# Top

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

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

---

## [Rubynodes extension failed compilation](https://www.ruby-forum.com/t/rubynodes-extension-failed-compilation/99027)

<div class="topic-metadata">

**Author:** [@Alexandru\_P](https://www.ruby-forum.com/u/Alexandru_P)\
**Replies:** 8\
**Last updated:** [July 20, 2006, 1:36pm UTC](https://www.ruby-forum.com/t/rubynodes-extension-failed-compilation/99027 "2006-07-20T13:36:15Z")

</div>

Hi! For the first time I am trying to install a Ruby package that has C extensions (at least this is what I read). I am talking about rubynode-0.1.0. So, I have unarchived the tar.gz and tried running ruby setup.rb. …

---

## [Looking for AOL, MSN, Yahoo "Rails Buddies"](https://www.ruby-forum.com/t/looking-for-aol-msn-yahoo-rails-buddies/61647)

<div class="topic-metadata">

**Author:** [@tkimble](https://www.ruby-forum.com/u/tkimble)\
**Replies:** 8\
**Last updated:** [May 26, 2006, 4:30am UTC](https://www.ruby-forum.com/t/looking-for-aol-msn-yahoo-rails-buddies/61647 "2006-05-26T04:30:38Z")

</div>

I’m an independent software developer that spends a fair amount of time each day working on Rails-related project. t’d be really great to meet some people to chat about rails, software development, or whatever else ge…

---

## [How to ensure no blank lines in DATA statements](https://www.ruby-forum.com/t/how-to-ensure-no-blank-lines-in-data-statements/58579)

<div class="topic-metadata">

**Author:** [@Joseph\_Paish](https://www.ruby-forum.com/u/Joseph_Paish)\
**Replies:** 8\
**Last updated:** [April 24, 2006, 7:31am UTC](https://www.ruby-forum.com/t/how-to-ensure-no-blank-lines-in-data-statements/58579 "2006-04-24T07:31:05Z")

</div>

suppose i have the following piece of code to read some data (input by the user) following END while line = DATA.gets one\_record = line.chomp!.split do stuff end END bought 2 widgets 17.99 sold 12 widgets 22.49 b…

---

## [Nginx add location details to URL when we stop decoding URL](https://www.ruby-forum.com/t/nginx-add-location-details-to-url-when-we-stop-decoding-url/234188)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [February 14, 2015, 7:23am UTC](https://www.ruby-forum.com/t/nginx-add-location-details-to-url-when-we-stop-decoding-url/234188 "2015-02-14T07:23:44Z")

</div>

I am accessing a URL which has encode characters http:…/malintha/tel%3A%2B6281808147137 location /gateway/ { proxy\_set\_header X-Forwarded-Host $host; proxy\_set\_header X-Forwarded-Server $host; proxy\_set\_header X-For…

---

## [Optional port in grc block](https://www.ruby-forum.com/t/optional-port-in-grc-block/233671)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 4, 2015, 5:59pm UTC](https://www.ruby-forum.com/t/optional-port-in-grc-block/233671 "2015-01-04T17:59:52Z")

</div>

Hi all, I would like to have grc block with a bool option “Debug”. Once this is set to True, then I would like to have an additional output port. How do I do that? I already added this part in the xml file: …

---

## [Autoindentation not working in IRB](https://www.ruby-forum.com/t/autoindentation-not-working-in-irb/232932)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 5, 2014, 7:13pm UTC](https://www.ruby-forum.com/t/autoindentation-not-working-in-irb/232932 "2014-11-05T19:13:35Z")

</div>

Here is my ~/.irbrc file content. arup@linux-wzza:~\> cat ~/.irbrc configure irb require ‘irb/completion’ IRB.conf\[:AUTO\_INDENT\] = true IRB.conf\[:PROMPT\_MODE\] = :SIMPLE arup@linux-wzza:~\> ========= IRB indentation…

---

## [Is symmetric routing required for a nginx deployment?](https://www.ruby-forum.com/t/is-symmetric-routing-required-for-a-nginx-deployment/232045)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 15, 2014, 9:50pm UTC](https://www.ruby-forum.com/t/is-symmetric-routing-required-for-a-nginx-deployment/232045 "2014-09-15T21:50:54Z")

</div>

Hi, I’m investigating reverse proxy and content caching servers for a deployment at work but our infrastructure is currently asymmetric where the server would only see the inbound half of the conversation. Does ngin…

---

## [Clock Recovery MM](https://www.ruby-forum.com/t/clock-recovery-mm/231950)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 9, 2014, 9:22pm UTC](https://www.ruby-forum.com/t/clock-recovery-mm/231950 "2014-09-09T21:22:31Z")

</div>

Hi all, looking at the clock recovery MM code, I wonder if d\_omega\_relative\_limit is a relative or absolute deviation from d\_omega. Here it looks like absolute https://github.com/gnuradio/gnuradio/blob/next/gr-digita…

---

## [Dependency drop down list](https://www.ruby-forum.com/t/dependency-drop-down-list/239545)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 5, 2014, 9:54pm UTC](https://www.ruby-forum.com/t/dependency-drop-down-list/239545 "2014-03-05T21:54:43Z")

</div>

Hello, I am trying load a drop down list based on selection from first drop down list. Based on first drop down list selection, I am able to fetch data for second drop down list but I am not able to refresh second …

---

## [Nginx-extras (1.4.1 Ubuntu precise) cache loader/manager issue](https://www.ruby-forum.com/t/nginx-extras-1-4-1-ubuntu-precise-cache-loader-manager-issue/236196)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 14, 2013, 1:09pm UTC](https://www.ruby-forum.com/t/nginx-extras-1-4-1-ubuntu-precise-cache-loader-manager-issue/236196 "2013-08-14T13:09:18Z")

</div>

Dear people, I used for a while the nginx-extras 1.4.1 for Ubuntu 12.04 LTS (precise); I used this package since it supported ‘more\_clear\_headers’ which was useful to hide some headers (LifeRay headers). As you have…

---

## [\[ANN\] ruby-processing latest version](https://www.ruby-forum.com/t/ann-ruby-processing-latest-version/245592)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [July 12, 2013, 3:56pm UTC](https://www.ruby-forum.com/t/ann-ruby-processing-latest-version/245592 "2013-07-12T15:56:08Z")

</div>

The current development release of ruby-processing is at processing-2.0 and jruby-1.7.4, get it here and get creative in ruby…

---

## [Mocking and specing command line (cli) execution, file operations 	etc.?](https://www.ruby-forum.com/t/mocking-and-specing-command-line-cli-execution-file-operations-etc/189744)

<div class="topic-metadata">

**Author:** [@kristianm](https://www.ruby-forum.com/u/kristianm)\
**Replies:** 2\
**Last updated:** [June 8, 2010, 7:43am UTC](https://www.ruby-forum.com/t/mocking-and-specing-command-line-cli-execution-file-operations-etc/189744 "2010-06-08T07:43:42Z")

</div>

What are the options for creating specs for file operations, executing commands in the CLI etc.? If I build a generator or something which runs a lot of things in the command line, how do I check the results of these …

---

## [Rspec-rails and rack middleware](https://www.ruby-forum.com/t/rspec-rails-and-rack-middleware/175940)

<div class="topic-metadata">

**Author:** [@abg](https://www.ruby-forum.com/u/abg)\
**Replies:** 2\
**Last updated:** [September 23, 2009, 2:29am UTC](https://www.ruby-forum.com/t/rspec-rails-and-rack-middleware/175940 "2009-09-23T02:29:25Z")

</div>

Ah ok. I tried that, but I can’t seem to figure out what to use for the def app … end method in my spec though. The app is my Rails app… for now I have something like: http://www.pastie.org/625791 I can get the dum…

---

## [$upstream\_cache\_status](https://www.ruby-forum.com/t/upstream-cache-status/169948)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 2\
**Last updated:** [June 10, 2009, 6:42pm UTC](https://www.ruby-forum.com/t/upstream-cache-status/169948 "2009-06-10T18:42:15Z")

</div>

The patch to enable $upstream\_cache\_status. Possible values: MISS EXPIRED expired, request was passed to backend UPDATING expired, stale response was used due to proxy/fastcgi\_cache\_use\_stale updating STALE expi…

---

## [GeoLocation for any Cell Phone with GPS](https://www.ruby-forum.com/t/geolocation-for-any-cell-phone-with-gps/169672)

<div class="topic-metadata">

**Author:** [@flaubert](https://www.ruby-forum.com/u/flaubert)\
**Replies:** 2\
**Last updated:** [June 7, 2009, 5:06pm UTC](https://www.ruby-forum.com/t/geolocation-for-any-cell-phone-with-gps/169672 "2009-06-07T17:06:22Z")

</div>

Hi all, I’m having the following problem: I need a user using any device of any GPS is advised that at a certain place. I search on the net with articles on Global Positioning RubyonRails, but without success. Can an…

---

## [Sqlite distinct Datum](https://www.ruby-forum.com/t/sqlite-distinct-datum/158743)

<div class="topic-metadata">

**Author:** [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Replies:** 2\
**Last updated:** [January 27, 2009, 4:22pm UTC](https://www.ruby-forum.com/t/sqlite-distinct-datum/158743 "2009-01-27T16:22:57Z")

</div>

Hallo, ich würde gern aus einer Tabelle mit Publikationen nur die Jahreszahlen herauzfiltern, in denen Publikationen erschienen sind. Die Tabelle steht in sqlite-Datenbank. Ich habe das hier versucht: Publication…

---

## [Net-smtp timeout error](https://www.ruby-forum.com/t/net-smtp-timeout-error/158669)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 2\
**Last updated:** [January 26, 2009, 6:21pm UTC](https://www.ruby-forum.com/t/net-smtp-timeout-error/158669 "2009-01-26T18:21:51Z")

</div>

Hi, Ruby 1.8.6-p114 RHEL 3 I’ve got two RHEL3 boxes, alpha and beta. On the alpha box, the following script works fine. On the beta box I get a timeout error with the same script. What’s happening? require ‘net/smt…

---

## [Rails 2.0.2 and in\_place\_edit? and Rich](https://www.ruby-forum.com/t/rails-2-0-2-and-in-place-edit-and-rich/125786)

<div class="topic-metadata">

**Author:** [@mike343](https://www.ruby-forum.com/u/mike343)\
**Replies:** 2\
**Last updated:** [November 6, 2008, 2:28pm UTC](https://www.ruby-forum.com/t/rails-2-0-2-and-in-place-edit-and-rich/125786 "2008-11-06T14:28:10Z")

</div>

Hello, Can ANYONE please give me some help. I have TinyMCE installed and working. However, I want to use it in an in\_place\_editor type of fashion. I have tried many, many, many different things and simply cannot g…

---

## [Aui notebook problem with glossy tabs](https://www.ruby-forum.com/t/aui-notebook-problem-with-glossy-tabs/151817)

<div class="topic-metadata">

**Author:** [@Henrik\_Sarvell](https://www.ruby-forum.com/u/Henrik_Sarvell)\
**Replies:** 2\
**Last updated:** [October 26, 2008, 11:53am UTC](https://www.ruby-forum.com/t/aui-notebook-problem-with-glossy-tabs/151817 "2008-10-26T11:53:14Z")

</div>

Hi everyone, I’ve got a problem with tabs in the AUI Notebook. I just implemented a light on dark GTK theme. It seems like the glossy tabs are trying to fade a gradient with light towards dark (see attachement), on to…

---

## [Using Erb inside SQL fiields](https://www.ruby-forum.com/t/using-erb-inside-sql-fiields/131237)

<div class="topic-metadata">

**Author:** [@ron](https://www.ruby-forum.com/u/ron)\
**Replies:** 2\
**Last updated:** [March 7, 2008, 4:37pm UTC](https://www.ruby-forum.com/t/using-erb-inside-sql-fiields/131237 "2008-03-07T16:37:43Z")

</div>

Hi, So I have a basic CMS I’m working on where a page has a title and a body field. The body field is just plain html stored as text in the SQL database. I have two questions/concerns: how do I get erb to work fr…

---

## [Any idea on implementing Gdk::Window#add\_filter?](https://www.ruby-forum.com/t/any-idea-on-implementing-gdk-window-add-filter/121102)

<div class="topic-metadata">

**Author:** [@sam](https://www.ruby-forum.com/u/sam)\
**Replies:** 2\
**Last updated:** [November 23, 2007, 11:17pm UTC](https://www.ruby-forum.com/t/any-idea-on-implementing-gdk-window-add-filter/121102 "2007-11-23T23:17:44Z")

</div>

Hi Sirs, To implement an OSD we’ll need to intercept key event (ex. multimedia volume control key) and that will need the method Gdk::Window#add\_filter but it’s missing in current ruby-gnome2 implementation. Any idea…

---

## [Re: multi threaded theoretically useful?](https://www.ruby-forum.com/t/re-multi-threaded-theoretically-useful/116455)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [October 5, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/re-multi-threaded-theoretically-useful/116455 "2007-10-05T19:11:22Z")

</div>

Thanks to all for your helpful answers on this question. It’s nice to belong to a mailing list that has smart users (not that others don’t, of course). So overall the answer to my question is that a multi-threaded ra…

---

## [Mysql character set](https://www.ruby-forum.com/t/mysql-character-set/81601)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 2\
**Last updated:** [January 10, 2007, 11:08pm UTC](https://www.ruby-forum.com/t/mysql-character-set/81601 "2007-01-10T23:08:43Z")

</div>

Hi all, I am just familarizing myself

---

## [Net/http performance question](https://www.ruby-forum.com/t/net-http-performance-question/74531)

<div class="topic-metadata">

**Author:** [@bornboulder](https://www.ruby-forum.com/u/bornboulder)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 10:49am UTC](https://www.ruby-forum.com/t/net-http-performance-question/74531 "2006-11-07T10:49:37Z")

</div>

I have the following code: def fetch\_into (uri, name) http = Net::HTTP.new(uri.host, uri.port) req = Net::HTTP::Get.new(uri.path) req.basic\_auth(USERNAME, PASSWORD) start\_time = Time.now.to\_f File.open(name, “w”) d…

---

## [AWS Client - There has to be a better way](https://www.ruby-forum.com/t/aws-client-there-has-to-be-a-better-way/63490)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 2\
**Last updated:** [June 16, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/aws-client-there-has-to-be-a-better-way/63490 "2006-06-16T16:11:13Z")

</div>

I’m working on building a SOAP client with AWS, i.e: class PersonAPI \< ActionWebService::API::Base api\_method :find\_all, :returns =\> \[\[Person\]\] end soap\_client = ActionWebService::Client::Soap.new(PersonAPI, “http:/…

---

## [Help: File.file?, ftype fails oddly](https://www.ruby-forum.com/t/help-file-file-ftype-fails-oddly/102064)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 2\
**Last updated:** [February 8, 2006, 7:24am UTC](https://www.ruby-forum.com/t/help-file-file-ftype-fails-oddly/102064 "2006-02-08T07:24:41Z")

</div>

Hello all, I’ve been working on a class+script to crawl through my directories and thought I had it working just right, when it crashed some 13 minutes into running. I included the stack at the bottom, in case it gi…

---

## [Xml parsing with nokogiri](https://www.ruby-forum.com/t/xml-parsing-with-nokogiri/261359)

<div class="topic-metadata">

**Author:** [@HansS](https://www.ruby-forum.com/u/HansS)\
**Replies:** 1\
**Last updated:** [May 27, 2021, 6:34am UTC](https://www.ruby-forum.com/t/xml-parsing-with-nokogiri/261359 "2021-05-27T06:34:48Z")

</div>

Hi all, Hopefully someone has a clue to help me (am a bit a dummy in xml/soap land) I am trying to parse the XML further below which is in the variable payload. When parsing it with : doc = Nokogiri::XML(payload) a…

---

## [Listing all the nested keys from hash](https://www.ruby-forum.com/t/listing-all-the-nested-keys-from-hash/253611)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 1\
**Last updated:** [January 21, 2020, 12:46pm UTC](https://www.ruby-forum.com/t/listing-all-the-nested-keys-from-hash/253611 "2020-01-21T12:46:04Z")

</div>

{ “reports”: \[ { “columnHeader”: { “dimensions”: \[ “ga:dateHour”, “ga:browser”, “ga:browserVersion”, “ga:operatingSystem”, “ga:mobileDeviceInfo”, “ga:deviceCategory”, “ga:browserSize” \], “metricHeader”: { “…

---

## [Ruby on Rails Report](https://www.ruby-forum.com/t/ruby-on-rails-report/252362)

<div class="topic-metadata">

**Author:** [@Anuja94](https://www.ruby-forum.com/u/Anuja94)\
**Replies:** 1\
**Last updated:** [May 9, 2019, 5:14am UTC](https://www.ruby-forum.com/t/ruby-on-rails-report/252362 "2019-05-09T05:14:14Z")

</div>

This is my output. You can see ‘Mr.Sandun Gamage’ should come into contact person 2 column.but now it comes in contact person1(3rd). Please help to get it. Here is my code belong to those columns. - if Organization…

---

## [Not able to enter commands in putty window](https://www.ruby-forum.com/t/not-able-to-enter-commands-in-putty-window/243326)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [September 18, 2015, 11:54am UTC](https://www.ruby-forum.com/t/not-able-to-enter-commands-in-putty-window/243326 "2015-09-18T11:54:34Z")

</div>

Hi, I am not able to enter any commands in putty window using ruby code. I have used the below code to open the putty window. Please help me how to execute the commands inside this. require ‘net/ssh’ require ‘ssh’ …

---

## [\[Gnu-radio\] import blsk2](https://www.ruby-forum.com/t/gnu-radio-import-blsk2/238706)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 24, 2014, 3:47pm UTC](https://www.ruby-forum.com/t/gnu-radio-import-blsk2/238706 "2014-01-24T15:47:04Z")

</div>

Hello I installed gnuradio, but when I run a code against problem: Traceback (most recent call last): File “monitor\_gui\_v07.py”, line 19, in from gmrs\_txrx import \* File “/ home / rita / PTT / USRP / gmrs\_txrx.py”,…

---

## [Forcing browser redirects on a Ruby on Rails application](https://www.ruby-forum.com/t/forcing-browser-redirects-on-a-ruby-on-rails-application/228371)

<div class="topic-metadata">

**Author:** [@karan\_verma](https://www.ruby-forum.com/u/karan_verma)\
**Replies:** 7\
**Last updated:** [April 22, 2013, 7:44am UTC](https://www.ruby-forum.com/t/forcing-browser-redirects-on-a-ruby-on-rails-application/228371 "2013-04-22T07:44:07Z")

</div>

Hi I am building a Rails application which aims at facilitating two users to collaborate on a web page based on their user id. The user matching process is a controlled one since the app is for research purposes. To…

---

## [Social-Reviewing : new project for developpers to discuss about code](https://www.ruby-forum.com/t/social-reviewing-new-project-for-developpers-to-discuss-about-code/229648)

<div class="topic-metadata">

**Author:** [@guirec\_c](https://www.ruby-forum.com/u/guirec_c)\
**Replies:** 7\
**Last updated:** [February 20, 2013, 9:45am UTC](https://www.ruby-forum.com/t/social-reviewing-new-project-for-developpers-to-discuss-about-code/229648 "2013-02-20T09:45:11Z")

</div>

Hello, I started a new project to for developpers to discuss about code and techniques used for projects. You can see it here : http://www.social-reviewing.com/. You can see an exemple here : http://www.social-revie…

---

## [Problems with javascript testing](https://www.ruby-forum.com/t/problems-with-javascript-testing/214116)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 22, 2011, 11:35am UTC](https://www.ruby-forum.com/t/problems-with-javascript-testing/214116 "2011-11-22T11:35:34Z")

</div>

Hi all, I may be missing something simple here, but I’m having problems with attempting to get a javascript request test going. I’m not sure if this is the correct place to ask but perhaps someone will be able to dir…

---

## [Build problem on E100](https://www.ruby-forum.com/t/build-problem-on-e100/213699)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [November 10, 2011, 9:49pm UTC](https://www.ruby-forum.com/t/build-problem-on-e100/213699 "2011-11-10T21:49:44Z")

</div>

For some reason the ARM Assembler doesn’t like the NEON instructions in dotprod\_fff\_armv7\_a.c: \[ 9%\] Building C object gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/dotprod\_fff\_armv7\_a.c.o /tmp/ccAcWVL…

---

## [Constants and Configurations](https://www.ruby-forum.com/t/constants-and-configurations/206718)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [May 9, 2011, 4:46pm UTC](https://www.ruby-forum.com/t/constants-and-configurations/206718 "2011-05-09T16:46:09Z")

</div>

Hi, Right now I have some Constants in my application that serve as configurations for my application. I would like to make these configurations “editable” by the users/admins through views. What is the best strategy…

---

## [Test/unit-ing an extension](https://www.ruby-forum.com/t/test-unit-ing-an-extension/198813)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 10, 2010, 2:09pm UTC](https://www.ruby-forum.com/t/test-unit-ing-an-extension/198813 "2010-11-10T14:09:37Z")

</div>

Hi, I’m using radiant 0.8.1 and trying to write some tests for an extension of mine within a big project. I’m just writing with test/unit and have some very simple stuff in place. When it comes to running the tests …

---

## [Ajax CSRF in Rails3](https://www.ruby-forum.com/t/ajax-csrf-in-rails3/195306)

<div class="topic-metadata">

**Author:** [@Ft51](https://www.ruby-forum.com/u/Ft51)\
**Replies:** 7\
**Last updated:** [September 21, 2010, 10:28pm UTC](https://www.ruby-forum.com/t/ajax-csrf-in-rails3/195306 "2010-09-21T22:28:15Z")

</div>

I’m using rails3. It does not seem to check the authenticity\_token when doing a POST using Ajax. I traced this to: module ActionDispatch class Request \< Rack::Request … def forgery\_whitelisted? get? || xhr? || cont…

---

## [How can this Java method header be represented in Ruby](https://www.ruby-forum.com/t/how-can-this-java-method-header-be-represented-in-ruby/195230)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 7\
**Last updated:** [September 20, 2010, 4:00pm UTC](https://www.ruby-forum.com/t/how-can-this-java-method-header-be-represented-in-ruby/195230 "2010-09-20T16:00:02Z")

</div>

I have a Java method header that looks something like follows: public static short\[\]\[\] setFile(String fileName) { … } How can I write this in Ruby? Thanks.

---

## [Conditions parameter for find](https://www.ruby-forum.com/t/conditions-parameter-for-find/182727)

<div class="topic-metadata">

**Author:** [@df-sean](https://www.ruby-forum.com/u/df-sean)\
**Replies:** 7\
**Last updated:** [February 2, 2010, 6:16am UTC](https://www.ruby-forum.com/t/conditions-parameter-for-find/182727 "2010-02-02T06:16:59Z")

</div>

I would like to limit the results returned by the category\_id. I can manually insert the category\_id :conditions =\> \[‘category\_id = 1’\] but I would like it to respond to the input from the search form instead. :condi…

---

## [Forgetting MutableString](https://www.ruby-forum.com/t/forgetting-mutablestring/137043)

<div class="topic-metadata">

**Author:** [@editkid](https://www.ruby-forum.com/u/editkid)\
**Replies:** 7\
**Last updated:** [May 8, 2008, 6:31pm UTC](https://www.ruby-forum.com/t/forgetting-mutablestring/137043 "2008-05-08T18:31:44Z")

</div>

I keep forgetting to wrap up CLR strings in MutableStrings when returning strings retrieved from calls to .NET Framework library methods. I had this RSpec that had something like: some\_array\[3\].should == “some mutabl…

---

## [Fail to build Nginx 0.6.21 from source to support OpenSSL](https://www.ruby-forum.com/t/fail-to-build-nginx-0-6-21-from-source-to-support-openssl/122788)

<div class="topic-metadata">

**Author:** [@vnjug](https://www.ruby-forum.com/u/vnjug)\
**Replies:** 1\
**Last updated:** [December 12, 2007, 6:47pm UTC](https://www.ruby-forum.com/t/fail-to-build-nginx-0-6-21-from-source-to-support-openssl/122788 "2007-12-12T18:47:27Z")

</div>

Hi all, I have a hard time to build Nginx 0.6.21 from source code with OpenSSQL support. My configuration is as follows: ./configure --prefix=/user/local/nginx/ –with-http\_stub\_status\_module –with-openssl=/usr/lib…

---

## [Relationing has\_many, belongs\_to](https://www.ruby-forum.com/t/relationing-has-many-belongs-to/113632)

<div class="topic-metadata">

**Author:** [@eagoweb](https://www.ruby-forum.com/u/eagoweb)\
**Replies:** 7\
**Last updated:** [September 3, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/relationing-has-many-belongs-to/113632 "2007-09-03T19:53:00Z")

</div>

Hello, i want to know if i am relationing fine, because i am having problems,i have 2 models, one for members and other to relate some members to this: class Member \< ActiveRecord::Base has\_many :matrix, :foreign\_key…

---

## [QUICK QUESTION: Method in Controller AND Helper](https://www.ruby-forum.com/t/quick-question-method-in-controller-and-helper/107261)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 7\
**Last updated:** [July 16, 2007, 3:41am UTC](https://www.ruby-forum.com/t/quick-question-method-in-controller-and-helper/107261 "2007-07-16T03:41:42Z")

</div>

Hey, Is there a way to write a method in the application controller and also have it available as a helper method without rewriting it in the application helper? I’m pretty sure there is, but haven’t found the specif…

---

## [Rails login page](https://www.ruby-forum.com/t/rails-login-page/91138)

<div class="topic-metadata">

**Author:** [@BLT](https://www.ruby-forum.com/u/BLT)\
**Replies:** 7\
**Last updated:** [April 5, 2007, 11:40pm UTC](https://www.ruby-forum.com/t/rails-login-page/91138 "2007-04-05T23:40:46Z")

</div>

Has anyone got any information on how to make a really simple login page for rails? I just literally want an un-encrypted username/password in a mysql database then some way of using rails to query that database to ch…

---

## [@session deprecation and markaby](https://www.ruby-forum.com/t/session-deprecation-and-markaby/83922)

<div class="topic-metadata">

**Author:** [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Replies:** 7\
**Last updated:** [January 31, 2007, 12:47am UTC](https://www.ruby-forum.com/t/session-deprecation-and-markaby/83922 "2007-01-31T00:47:12Z")

</div>

Hi, Rails 1.2 is barking at me to use session\[:foo\] instead of @session\[:foo\]. (Actually, to be exact, it’s saying “@session is deprecated! Call session.\[\] instead of @session.\[\]” but session.\[\] makes no sense at all…

---

## [Ruby Backend Developer for Berlin Startup wanted!](https://www.ruby-forum.com/t/ruby-backend-developer-for-berlin-startup-wanted/245159)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [November 29, 2016, 12:09pm UTC](https://www.ruby-forum.com/t/ruby-backend-developer-for-berlin-startup-wanted/245159 "2016-11-29T12:09:15Z")

</div>

Backend Ruby Developer (Berlin) You like to develop state-of-the-art technology? We are looking for Backend Ruby Developers with strong Ruby on Rails skills. You will build awesome features with our creative team. Wh…

---

## [Form is not saving data upon submission](https://www.ruby-forum.com/t/form-is-not-saving-data-upon-submission/244234)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [March 9, 2016, 10:21pm UTC](https://www.ruby-forum.com/t/form-is-not-saving-data-upon-submission/244234 "2016-03-09T22:21:05Z")

</div>

When I click the submit button, the form automatically refreshes the page. The console doesn’t show any errors related to strong parameters as stated below. I will post the controller, \_form view and model information …

---

## [Adding voting system](https://www.ruby-forum.com/t/adding-voting-system/242301)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [June 12, 2015, 4:54pm UTC](https://www.ruby-forum.com/t/adding-voting-system/242301 "2015-06-12T16:54:12Z")

</div>

Hi User when creating a post in blog adds voting, specifies items for voting, while others can vote and see the results. Maybe who have this in projects and can me show code, how you implement in your project. Or e…

---

## [Connect to Production Database - Explicit password on database.yml?](https://www.ruby-forum.com/t/connect-to-production-database-explicit-password-on-database-yml/242166)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [June 1, 2015, 10:29pm UTC](https://www.ruby-forum.com/t/connect-to-production-database-explicit-password-on-database-yml/242166 "2015-06-01T22:29:43Z")

</div>

Hi there, What is a good way to setup connection to production database? Do I really need to keep production password on database.yml file? Are there any other ways? Thanks in advance, Leandro

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

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