# Top

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

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

---

## [Manejo de Listas de Datos en Rails](https://www.ruby-forum.com/t/manejo-de-listas-de-datos-en-rails/207499)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [May 27, 2011, 1:20am UTC](https://www.ruby-forum.com/t/manejo-de-listas-de-datos-en-rails/207499 "2011-05-27T01:20:15Z")

</div>

Hola a todos En mi aplicacion rails debo guardar ciertas listas de datos, por ejemplo: listas de tipos de contenedores, de tipos de usuario, de tipos de conductor, de tipos de ubicaciones, etc. Es decir son listas que …

---

## [Tunnel.py MAC address](https://www.ruby-forum.com/t/tunnel-py-mac-address/204905)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 26, 2011, 11:24am UTC](https://www.ruby-forum.com/t/tunnel-py-mac-address/204905 "2011-03-26T11:24:38Z")

</div>

When I run tunnel.py and configure the grX interface IP address I noticedusing ifconfigthat a seemingly random MAC address is assigned to the gr interface. Does ayone know if there is any logic to how the address is …

---

## [OFDM spectrum with power rolloff?](https://www.ruby-forum.com/t/ofdm-spectrum-with-power-rolloff/192066)

<div class="topic-metadata">

**Author:** [@george\_n](https://www.ruby-forum.com/u/george_n)\
**Replies:** 3\
**Last updated:** [July 26, 2010, 7:11pm UTC](https://www.ruby-forum.com/t/ofdm-spectrum-with-power-rolloff/192066 "2010-07-26T19:11:29Z")

</div>

Hi all, I am generating my own “OFDM” waveform which actually does not modulate anything. Step by step. I am simulating 1024 subcarriers but first generating 1024 zeros, and then I want to only enable the center 10…

---

## [Oniguruma and Ultraviolet on Windows 7](https://www.ruby-forum.com/t/oniguruma-and-ultraviolet-on-windows-7/184256)

<div class="topic-metadata">

**Author:** [@amacgregor](https://www.ruby-forum.com/u/amacgregor)\
**Replies:** 3\
**Last updated:** [March 14, 2010, 11:56am UTC](https://www.ruby-forum.com/t/oniguruma-and-ultraviolet-on-windows-7/184256 "2010-03-14T11:56:23Z")

</div>

Hi I have been tying to install the followings gems in order to add code syntax highlighting to my application: -Oniguruma -Ultraviolet -Harsh Unfortunately I have been running into the the following errors when ru…

---

## [Plans for Kernel.fork (even a stub)?](https://www.ruby-forum.com/t/plans-for-kernel-fork-even-a-stub/182255)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 3\
**Last updated:** [January 25, 2010, 6:39pm UTC](https://www.ruby-forum.com/t/plans-for-kernel-fork-even-a-stub/182255 "2010-01-25T18:39:48Z")

</div>

Hi, just curious as I’m going to patch an existing MRI lib around that and willing to ensure IronRuby support is baked in. What are the plans around Kernel.fork ? It looks like the method is not currently available (…

---

## [Which source file?](https://www.ruby-forum.com/t/which-source-file/181741)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 8\
**Last updated:** [January 17, 2010, 5:11pm UTC](https://www.ruby-forum.com/t/which-source-file/181741 "2010-01-17T17:11:45Z")

</div>

Windows development environment. After starting webrick using ruby script/server webrick --debugger I started poking around and found … (rdb:2) @devise\_mapping #\<Devise::Mapping:0x7182728 @for=\[:authenticatable, :a…

---

## [How do I access a child table/model from the parent in sql s](https://www.ruby-forum.com/t/how-do-i-access-a-child-table-model-from-the-parent-in-sql-s/176809)

<div class="topic-metadata">

**Author:** [@mitch\_newbie](https://www.ruby-forum.com/u/mitch_newbie)\
**Replies:** 8\
**Last updated:** [October 7, 2009, 2:41am UTC](https://www.ruby-forum.com/t/how-do-i-access-a-child-table-model-from-the-parent-in-sql-s/176809 "2009-10-07T02:41:32Z")

</div>

I am trying to use the fourth normal form for my applications so that i can get the information in the appropriate language. I have a table called manufacturers. I have another called descriptions. The descriptions a…

---

## [Best way to search - alternatives to full text (thinking sphinx)?](https://www.ruby-forum.com/t/best-way-to-search-alternatives-to-full-text-thinking-sphinx/175438)

<div class="topic-metadata">

**Author:** [@mikec](https://www.ruby-forum.com/u/mikec)\
**Replies:** 3\
**Last updated:** [September 14, 2009, 10:48pm UTC](https://www.ruby-forum.com/t/best-way-to-search-alternatives-to-full-text-thinking-sphinx/175438 "2009-09-14T22:48:18Z")

</div>

Currently I am using thinking\_sphinx, but to my dismay, a lot of hosts do not have sphinx installed and are unwilling to install it “because of security reasons”. This leaves me with a very limited option of hosting a…

---

## [Speed in production mode](https://www.ruby-forum.com/t/speed-in-production-mode/175383)

<div class="topic-metadata">

**Author:** [@jhaagmans](https://www.ruby-forum.com/u/jhaagmans)\
**Replies:** 8\
**Last updated:** [September 14, 2009, 9:27pm UTC](https://www.ruby-forum.com/t/speed-in-production-mode/175383 "2009-09-14T21:27:51Z")

</div>

Hi, I’ve recently been working on a social networking site developed in Rails. Even though it wasn’t very well developed (I only had to do some minor modifications and most of the code was written back in 2006), I no…

---

## [Filter out or not showing event records that are in the past](https://www.ruby-forum.com/t/filter-out-or-not-showing-event-records-that-are-in-the-past/171940)

<div class="topic-metadata">

**Author:** [@codecarpenter](https://www.ruby-forum.com/u/codecarpenter)\
**Replies:** 8\
**Last updated:** [August 17, 2009, 9:29pm UTC](https://www.ruby-forum.com/t/filter-out-or-not-showing-event-records-that-are-in-the-past/171940 "2009-08-17T21:29:29Z")

</div>

My app shows a list of upcoming events. Without having to modify the database frequently to keep up with the current date, I would like to be able to keep the events that are now in the past from being shown. Can I …

---

## [Convert an Character to the ASCII Character Code](https://www.ruby-forum.com/t/convert-an-character-to-the-ascii-character-code/171575)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 3\
**Last updated:** [July 6, 2009, 9:58am UTC](https://www.ruby-forum.com/t/convert-an-character-to-the-ascii-character-code/171575 "2009-07-06T09:58:55Z")

</div>

I have Ruby 1.9.1p129 and I want to convert an ASCII character to an Integer and a Float. While reading the following web page, I found conflicts in the code usage: ‘Convert an Character to the ASCII Character Code’ …

---

## [Html method on watir don't return the real html](https://www.ruby-forum.com/t/html-method-on-watir-dont-return-the-real-html/168250)

<div class="topic-metadata">

**Author:** [@tcblues](https://www.ruby-forum.com/u/tcblues)\
**Replies:** 3\
**Last updated:** [May 25, 2009, 1:05pm UTC](https://www.ruby-forum.com/t/html-method-on-watir-dont-return-the-real-html/168250 "2009-05-25T13:05:32Z")

</div>

Hi, I’m using watir to get the html of a page in order to verify every single page on w3c.org but what I get with watir is something like: Certus Games .... And the real content is: \<?xml version="1.0" encoding=…

---

## [Serving XHTML as HTML to MSIE browsers in NginX](https://www.ruby-forum.com/t/serving-xhtml-as-html-to-msie-browsers-in-nginx/164801)

<div class="topic-metadata">

**Author:** [@elliottcable](https://www.ruby-forum.com/u/elliottcable)\
**Replies:** 3\
**Last updated:** [April 7, 2009, 4:55am UTC](https://www.ruby-forum.com/t/serving-xhtml-as-html-to-msie-browsers-in-nginx/164801 "2009-04-07T04:55:46Z")

</div>

I’m trying to configure my server to serve XHTML files to MSIE browsers as text/html. Here’s the three things I’ve tried; all of them yell at me about a syntax error, so I can’t launch my server: location ~\* .(xhtml|…

---

## [I18n with Rails 2.1](https://www.ruby-forum.com/t/i18n-with-rails-2-1/160166)

<div class="topic-metadata">

**Author:** [@zeba-momin](https://www.ruby-forum.com/u/zeba-momin)\
**Replies:** 8\
**Last updated:** [February 27, 2009, 10:13am UTC](https://www.ruby-forum.com/t/i18n-with-rails-2-1/160166 "2009-02-27T10:13:31Z")

</div>

Hi. I’m currently using Rails 2.1. But i want to use i18n to internationalize my rails application. I’m trying to install rails 2.2 using: gem update rails but it gives me an error… Can anyone please suggest…how do…

---

## [Multiple access\_log directives in different contexts](https://www.ruby-forum.com/t/multiple-access-log-directives-in-different-contexts/157996)

<div class="topic-metadata">

**Author:** [@senh](https://www.ruby-forum.com/u/senh)\
**Replies:** 3\
**Last updated:** [January 17, 2009, 11:50pm UTC](https://www.ruby-forum.com/t/multiple-access-log-directives-in-different-contexts/157996 "2009-01-17T23:50:38Z")

</div>

I have a traffic log directive in my http block: http { Traffic log log\_format traffic $time\_local | $server\_name | $request\_length | $bytes\_sent; access\_log /var/log/nginx/traffic.log traffic; \[â€¦\] } This works…

---

## [X-Accel-Redirect can not serve some files](https://www.ruby-forum.com/t/x-accel-redirect-can-not-serve-some-files/157499)

<div class="topic-metadata">

**Author:** [@vitaliel](https://www.ruby-forum.com/u/vitaliel)\
**Replies:** 3\
**Last updated:** [January 12, 2009, 12:30pm UTC](https://www.ruby-forum.com/t/x-accel-redirect-can-not-serve-some-files/157499 "2009-01-12T12:30:45Z")

</div>

We use at Assembla common rails stack: nginx(0.6.33) - haproxy(1.3.15.7) thin(1.0.0) and X-Accel-Redirect feature. Some files can not be served by nginx and it returns 502 error: This link work: …

---

## [Tables word problem in Ruby](https://www.ruby-forum.com/t/tables-word-problem-in-ruby/155535)

<div class="topic-metadata">

**Author:** [@hai\_l](https://www.ruby-forum.com/u/hai_l)\
**Replies:** 3\
**Last updated:** [December 16, 2008, 3:28am UTC](https://www.ruby-forum.com/t/tables-word-problem-in-ruby/155535 "2008-12-16T03:28:45Z")

</div>

My problem is about table in Word. With Ruby I can access, modify, save as… word document to txt document. But I don’t find the code to work with tables. I see that every tables is destroyed its format if I save as wo…

---

## [Warbler: Simple question re: Rack inclusion in deployed Rails vs. Merb apps](https://www.ruby-forum.com/t/warbler-simple-question-re-rack-inclusion-in-deployed-rails-vs-merb-apps/146587)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 3\
**Last updated:** [August 22, 2008, 10:13pm UTC](https://www.ruby-forum.com/t/warbler-simple-question-re-rack-inclusion-in-deployed-rails-vs-merb-apps/146587 "2008-08-22T22:13:12Z")

</div>

I have two simple apps. - one in Rails, one in Merb. The Rack gem is explicitly included in the WAR file for the Merb app, but not for the Rails app. But I am using the RackServlet to serve dynamic requests in both ap…

---

## [How conditionally allow Session :off](https://www.ruby-forum.com/t/how-conditionally-allow-session-off/138428)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 8\
**Last updated:** [May 28, 2008, 2:17am UTC](https://www.ruby-forum.com/t/how-conditionally-allow-session-off/138428 "2008-05-28T02:17:53Z")

</div>

I need to enable/disable sessions based on the incoming IP address. Any request coming from the IP that Rails is running from needs to have session :off, other IPs can create a session. Right now I’m just using a hard…

---

## [Common Functions for Models](https://www.ruby-forum.com/t/common-functions-for-models/128420)

<div class="topic-metadata">

**Author:** [@vasan\_cec](https://www.ruby-forum.com/u/vasan_cec)\
**Replies:** 3\
**Last updated:** [February 11, 2008, 11:28am UTC](https://www.ruby-forum.com/t/common-functions-for-models/128420 "2008-02-11T11:28:05Z")

</div>

Hi Everyone, Can anyone tell me where to put the common functions, which is to be used in more than one model & controller? Is there any way to create a “common\_functions.rb” model? (Or) is it a good practice to p…

---

## [Convert all HTML entities within \<pre\> tags?](https://www.ruby-forum.com/t/convert-all-html-entities-within-pre-tags/123699)

<div class="topic-metadata">

**Author:** [@jasongarber](https://www.ruby-forum.com/u/jasongarber)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/convert-all-html-entities-within-pre-tags/123699 "2007-12-19T20:46:06Z")

</div>

Textile 2.0.0: bc. This is within a block of code, so \< and \> should be entities. You can talk about a tag if you wish and it will be properly escaped. You can't make something actually bold within. Output: This…

---

## [Help with Arrays](https://www.ruby-forum.com/t/help-with-arrays/112292)

<div class="topic-metadata">

**Author:** [@makki](https://www.ruby-forum.com/u/makki)\
**Replies:** 8\
**Last updated:** [August 18, 2007, 6:11am UTC](https://www.ruby-forum.com/t/help-with-arrays/112292 "2007-08-18T06:11:18Z")

</div>

I have the following code: words = \[\] while gets.chomp != ‘’ words.push gets.chomp end puts words.sort Its supposed to capture from the user, a bunch of words, until just enter is pressed, and put them in an arra…

---

## [Getting distinct result lists](https://www.ruby-forum.com/t/getting-distinct-result-lists/112181)

<div class="topic-metadata">

**Author:** [@plambert](https://www.ruby-forum.com/u/plambert)\
**Replies:** 3\
**Last updated:** [August 17, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/getting-distinct-result-lists/112181 "2007-08-17T17:47:07Z")

</div>

Is there a way in Ferret to do something akin to SQL’s “SELECT DISTINCT” query? I have a table with multiple columns, and I would like to search just a couple of them (but index others for other kinds of searches on…

---

## [Something like $$ in php](https://www.ruby-forum.com/t/something-like-in-php/103660)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 8\
**Last updated:** [May 9, 2007, 2:58pm UTC](https://www.ruby-forum.com/t/something-like-in-php/103660 "2007-05-09T14:58:31Z")

</div>

Hi all. I have this piece of code: Parked at Loopia. How can I use the string in ‘name’ to use as a method of declaration? $methodname = ‘new’ Just like using $obj-\>$methodname in php?

---

## [How to write a block - segmentation fault](https://www.ruby-forum.com/t/how-to-write-a-block-segmentation-fault/89845)

<div class="topic-metadata">

**Author:** [@newbee-robert](https://www.ruby-forum.com/u/newbee-robert)\
**Replies:** 3\
**Last updated:** [March 23, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/how-to-write-a-block-segmentation-fault/89845 "2007-03-23T19:06:00Z")

</div>

Hello, When running “make check” as outlined in the gr-howto-write-a-block tutorial, I am receiving a segmentation fault. I am running Ubuntu 6.10 (Edgy Eft) with linux kernel release 2.6.17-11-386 and GNU Radio 3.0. …

---

## [ANN: ruby-semacode-0.7.3](https://www.ruby-forum.com/t/ann-ruby-semacode-0-7-3/88370)

<div class="topic-metadata">

**Author:** [@gui\_dos](https://www.ruby-forum.com/u/gui_dos)\
**Replies:** 3\
**Last updated:** [March 11, 2007, 2:22am UTC](https://www.ruby-forum.com/t/ann-ruby-semacode-0-7-3/88370 "2007-03-11T02:22:41Z")

</div>

This Ruby extension implements a DataMatrix encoder for Ruby. It is typically used to create semacodes, which are barcodes, that contain URLs. This encoder does not create image files or visual representations of the …

---

## [Dealing with deletion, entitlement/roles, and multi-tenancy](https://www.ruby-forum.com/t/dealing-with-deletion-entitlement-roles-and-multi-tenancy/76640)

<div class="topic-metadata">

**Author:** [@cwk](https://www.ruby-forum.com/u/cwk)\
**Replies:** 3\
**Last updated:** [November 20, 2006, 7:31pm UTC](https://www.ruby-forum.com/t/dealing-with-deletion-entitlement-roles-and-multi-tenancy/76640 "2006-11-20T19:31:06Z")

</div>

Hi, I am currently avaluating Rails as a possible candidate for replacing ASP.NET in a core application. I have come across a few issues in my prototypes which I’d like to solicit the group’s collective wisdom on: D…

---

## [How to implement a global partial?](https://www.ruby-forum.com/t/how-to-implement-a-global-partial/60384)

<div class="topic-metadata">

**Author:** [@marstoni](https://www.ruby-forum.com/u/marstoni)\
**Replies:** 3\
**Last updated:** [May 13, 2006, 12:39am UTC](https://www.ruby-forum.com/t/how-to-implement-a-global-partial/60384 "2006-05-13T00:39:27Z")

</div>

Quick question: Whats the easiest way to implement a global partial? Where I can call one partial from many different controllers (err controller views)?

---

## [Atom](https://www.ruby-forum.com/t/atom/69792)

<div class="topic-metadata">

**Author:** [@gaspard](https://www.ruby-forum.com/u/gaspard)\
**Replies:** 8\
**Last updated:** [February 17, 2006, 10:45pm UTC](https://www.ruby-forum.com/t/atom/69792 "2006-02-17T22:45:56Z")

</div>

Any plans for using Atom with rails. I saw the “Typo” project is using MoveableType, Blogger, … but not Atom. It seems Atom is not part of ActionWebService. Has anyone done any work with Atom and Rails ? Thanks for y…

---

## [Accessing C structures in Ruby](https://www.ruby-forum.com/t/accessing-c-structures-in-ruby/50108)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 8\
**Last updated:** [December 13, 2005, 7:00pm UTC](https://www.ruby-forum.com/t/accessing-c-structures-in-ruby/50108 "2005-12-13T19:00:31Z")

</div>

(I’ve already looked at Swig, btw. I’d like to do this one by hand.) I have the following: typedef struct { double x; double y; double z; } VelocityRecord; typedef struct { double x; double y; double z; } Pos…

---

## [Generating forms with a self-defined helper](https://www.ruby-forum.com/t/generating-forms-with-a-self-defined-helper/244771)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [June 11, 2016, 8:11pm UTC](https://www.ruby-forum.com/t/generating-forms-with-a-self-defined-helper/244771 "2016-06-11T20:11:04Z")

</div>

im currently trying to implement a form with several buttons, and my solution for that was to make a full form for each of the 5 buttons. thats extremely repetitive, so i wanted to generate the forms with a helper fun…

---

## [Nginx proxy\_path key zone](https://www.ruby-forum.com/t/nginx-proxy-path-key-zone/244307)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [March 19, 2016, 10:29pm UTC](https://www.ruby-forum.com/t/nginx-proxy-path-key-zone/244307 "2016-03-19T22:29:12Z")

</div>

The value I specify for the size of my key zone in the proxy\_path statement is that a per-worker memory allocation or a shared memory zone? (i.e. if its 64mb and I have 32 processors, does the zone consume 64mb of m…

---

## [502 bad gateway](https://www.ruby-forum.com/t/502-bad-gateway/243606)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [December 10, 2015, 6:05pm UTC](https://www.ruby-forum.com/t/502-bad-gateway/243606 "2015-12-10T18:05:20Z")

</div>

Hello, I have a magento website working fine for months now. However i recently installed a PDF plugin to send invoices with emails. The PDF url is giving a 502 bad gateway “{admin}/sales\_invoice/view/invoice\_id/717/…

---

## [Regexp match should be different for \\z and \\Z, but isn't](https://www.ruby-forum.com/t/regexp-match-should-be-different-for-z-and-z-but-isnt/243379)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [October 9, 2015, 9:12am UTC](https://www.ruby-forum.com/t/regexp-match-should-be-different-for-z-and-z-but-isnt/243379 "2015-10-09T09:12:03Z")

</div>

irb(main):024:0\> “abc\\n\\de\\nfghi\\n” =~ /\\A(.?)\\n(.)\\z/m and puts “’#{$2}’” ‘de fghi ’ =\> nil irb(main):025:0\> “abc\\n\\de\\nfghi\\n” =~ /\\A(.?)\\n(.)\\Z/m and puts "’#{$2}’" 'de fghi ’ =\> nil The difference between…

---

## [Use of boringssl equal-preference cipher groups with nginx](https://www.ruby-forum.com/t/use-of-boringssl-equal-preference-cipher-groups-with-nginx/231595)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 24, 2014, 12:38am UTC](https://www.ruby-forum.com/t/use-of-boringssl-equal-preference-cipher-groups-with-nginx/231595 "2014-08-24T00:38:04Z")

</div>

Hi, I have successfully compiled nginx/1.7.4 with boringssl. One thing I am not sure if it’s possible already is to take advantage of equal-preference cipher groups that Boringssl supports. For reference: https://www…

---

## [Uniformare risposte JSON in Rails](https://www.ruby-forum.com/t/uniformare-risposte-json-in-rails/230172)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 5, 2014, 11:15am UTC](https://www.ruby-forum.com/t/uniformare-risposte-json-in-rails/230172 "2014-06-05T11:15:41Z")

</div>

Ciao a tutti, Ho un’applicazione Rails con molte richieste Ajax/Json che vorrei uniformare, cerco qualcosa tipo le “entity” di grape. La “rails way” in questi casi? Ho visto roar ma non mi convince molto. Esperienze …

---

## [Ruby encrypt and decrypt algorithm](https://www.ruby-forum.com/t/ruby-encrypt-and-decrypt-algorithm/226234)

<div class="topic-metadata">

**Author:** [@rider](https://www.ruby-forum.com/u/rider)\
**Replies:** 2\
**Last updated:** [July 6, 2011, 6:53pm UTC](https://www.ruby-forum.com/t/ruby-encrypt-and-decrypt-algorithm/226234 "2011-07-06T18:53:16Z")

</div>

Hi all, Please give list encrypt and decrypt algorithms in ruby. I have decrypt xml data, which encrypt with .Net, I know key value used for encryption. Thanks, rider

---

## [Controller Testing + Devise = boom (undefined @controller, request)](https://www.ruby-forum.com/t/controller-testing-devise-boom-undefined-controller-request/202794)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 6, 2011, 6:17pm UTC](https://www.ruby-forum.com/t/controller-testing-devise-boom-undefined-controller-request/202794 "2011-02-06T18:17:58Z")

</div>

Here I am, trying to learn TDD and BDD. Getting start, most simple case, and the world is falling apart: My test code: it “should respond with success” do puts ‘hi’ get :new response.should be\_success end My stack…

---

## [Jruby-1.6 and FFI (and GLPK)](https://www.ruby-forum.com/t/jruby-1-6-and-ffi-and-glpk/155928)

<div class="topic-metadata">

**Author:** [@Maurice\_Diamantini](https://www.ruby-forum.com/u/Maurice_Diamantini)\
**Replies:** 2\
**Last updated:** [December 24, 2008, 12:47am UTC](https://www.ruby-forum.com/t/jruby-1-6-and-ffi-and-glpk/155928 "2008-12-24T00:47:59Z")

</div>

Bonjour à tous ! Thank you for putting FFI in JRuby. If I understand well it’s new possibility, it would allow me to use native C extension (perhaps C++ later ?) directly from a JRuby script as well as a standard Rub…

---

## [AOT compile rails apps](https://www.ruby-forum.com/t/aot-compile-rails-apps/150914)

<div class="topic-metadata">

**Author:** [@sam](https://www.ruby-forum.com/u/sam)\
**Replies:** 2\
**Last updated:** [October 15, 2008, 2:24am UTC](https://www.ruby-forum.com/t/aot-compile-rails-apps/150914 "2008-10-15T02:24:24Z")

</div>

Hi, I got a question regarding jruby’s aot compile feature. Is it possible to ship an obfuscated rails app with it? I tried compiling only my controllers but I get an error regarding Invalid characters (see stacktrac…

---

## [Wildcards in valid\_referers](https://www.ruby-forum.com/t/wildcards-in-valid-referers/121355)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 2\
**Last updated:** [November 27, 2007, 7:31am UTC](https://www.ruby-forum.com/t/wildcards-in-valid-referers/121355 "2007-11-27T07:31:43Z")

</div>

I just updated my nginx from the 4.x series and noticed that a line in my config was causing errors. One of the domains in my old valid\_referers line was .google. to catch all the variations (like images.google.com an…

---

## [Db:migrate:engines task missing (svn externals install)](https://www.ruby-forum.com/t/dbengines-task-missing-svn-externals-install/58557)

<div class="topic-metadata">

**Author:** [@hatless](https://www.ruby-forum.com/u/hatless)\
**Replies:** 2\
**Last updated:** [April 4, 2007, 10:40pm UTC](https://www.ruby-forum.com/t/dbengines-task-missing-svn-externals-install/58557 "2007-04-04T22:40:41Z")

</div>

On my main development machine I have several apps. One uses a fixed version of engines installed via script\\plugin and explicitly runs under Rails 1.0 in environment.rb. User and Login engines run fine. For a new app…

---

## [Splitting a paragraph into words and spaces](https://www.ruby-forum.com/t/splitting-a-paragraph-into-words-and-spaces/97126)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 2\
**Last updated:** [July 5, 2006, 6:11am UTC](https://www.ruby-forum.com/t/splitting-a-paragraph-into-words-and-spaces/97126 "2006-07-05T06:11:45Z")

</div>

I’m using this: \<% words = article.content.split(/ /) %\> \<%= words\[0…20\] %\> to (ostensibly) split a paragraph into component words, with spaces in between, then print to html only the first 20 items, words and spaces…

---

## [Has anyone created a UAT environment to go with test, develo](https://www.ruby-forum.com/t/has-anyone-created-a-uat-environment-to-go-with-test-develo/79927)

<div class="topic-metadata">

**Author:** [@tma](https://www.ruby-forum.com/u/tma)\
**Replies:** 2\
**Last updated:** [March 12, 2006, 11:01am UTC](https://www.ruby-forum.com/t/has-anyone-created-a-uat-environment-to-go-with-test-develo/79927 "2006-03-12T11:01:48Z")

</div>

Has anyone tried to add another environment. When developing I develop locally, deploy to a UAT environment for checking that my stuff fits into the organisations infrastucture and user testing and then deploy to prod…

---

## [Noe 1.0.0 Released!](https://www.ruby-forum.com/t/noe-1-0-0-released/201555)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [January 10, 2011, 10:10pm UTC](https://www.ruby-forum.com/t/noe-1-0-0-released/201555 "2011-01-10T22:10:43Z")

</div>

noe version 1.0.0 has been released ! \<http://github.com/blambeau/n http://github.com/blambeau/quickloe\> \<n | RubyGems.org | your community gem host https://rubygems.org/gems/quickloe\> Noe helps development by providi…

---

## [Inversion of Control in Ruby by passing classes - does it make any sense?](https://www.ruby-forum.com/t/inversion-of-control-in-ruby-by-passing-classes-does-it-make-any-sense/198512)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [November 3, 2010, 3:21pm UTC](https://www.ruby-forum.com/t/inversion-of-control-in-ruby-by-passing-classes-does-it-make-any-sense/198512 "2010-11-03T15:21:04Z")

</div>

Hello everyone, I’m quite new to Ruby, with a strong background in PHP. I had a great time finding my way around in Ruby, because it is a fantastic language. However, right now I’m a bit stuck regarding the issue of …

---

## [Can I get meaningful page links using will\_paginate?](https://www.ruby-forum.com/t/can-i-get-meaningful-page-links-using-will-paginate/189197)

<div class="topic-metadata">

**Author:** [@RonPhillips](https://www.ruby-forum.com/u/RonPhillips)\
**Replies:** 7\
**Last updated:** [May 27, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/can-i-get-meaningful-page-links-using-will-paginate/189197 "2010-05-27T20:56:00Z")

</div>

Let’s say you search for “dengue fever.” Your search returns 137 pages, ordered by date, but labeled with a page number. You decide to look at articles written just before and after the Haitian earthquake (Jan 12, 201…

---

## [\[Bug #3295\] make test aborted](https://www.ruby-forum.com/t/bug-3295-make-test-aborted/188596)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 7\
**Last updated:** [May 21, 2010, 8:57pm UTC](https://www.ruby-forum.com/t/bug-3295-make-test-aborted/188596 "2010-05-21T20:57:46Z")

</div>

Bug #3295: make test aborted http://redmine.ruby-lang.org/issues/show/3295 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Target version: 1.9.2 ruby -v: ruby 1.9.3dev (2010-05-14 trunk…

---

## [Partials in layouts?](https://www.ruby-forum.com/t/partials-in-layouts/175123)

<div class="topic-metadata">

**Author:** [@Dudebot](https://www.ruby-forum.com/u/Dudebot)\
**Replies:** 7\
**Last updated:** [September 8, 2009, 9:32pm UTC](https://www.ruby-forum.com/t/partials-in-layouts/175123 "2009-09-08T21:32:24Z")

</div>

Hi Gurus, how do I include a partial in my main layout? In views/layouts/application.html.erb I have ... \<%= render :partial =\> 'navbar\_tabs' %\> ... No matter where I put \_navbar\_tabs.html.erb (or renamed it to \_navb…

---

## [Quick simple check: Very simple relationship setup (newbish for sure.)](https://www.ruby-forum.com/t/quick-simple-check-very-simple-relationship-setup-newbish-for-sure/171885)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 7\
**Last updated:** [July 10, 2009, 11:34pm UTC](https://www.ruby-forum.com/t/quick-simple-check-very-simple-relationship-setup-newbish-for-sure/171885 "2009-07-10T23:34:36Z")

</div>

Been googling trying to understand belongs\_to, has\_one, etc For this scenario: ‘A Person has a single favorite color and has multiple addresses. (Colors are reused across all the persons, addresses are always unique o…

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

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