# Top

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

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

---

## [PositiveSSL certificate keeps giving the untrusted issuer warnings in browser](https://www.ruby-forum.com/t/positivessl-certificate-keeps-giving-the-untrusted-issuer-warnings-in-browser/211465)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 5, 2011, 6:55am UTC](https://www.ruby-forum.com/t/positivessl-certificate-keeps-giving-the-untrusted-issuer-warnings-in-browser/211465 "2011-09-05T06:55:36Z")

</div>

Since I’m working on a Facebook app, the self-signed certificate I created for SSL access to my admin area is no longer useful. I grabbed a PositiveSSL cert from Comodo, but after following the instructions here ( Usi…

---

## [\[ANN\] RestfulRouteVersion 0.2 for making API versioning easier](https://www.ruby-forum.com/t/ann-restfulrouteversion-0-2-for-making-api-versioning-easier/208225)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 14, 2011, 8:30pm UTC](https://www.ruby-forum.com/t/ann-restfulrouteversion-0-2-for-making-api-versioning-easier/208225 "2011-06-14T20:30:51Z")

</div>

Hi folks, Restful\_route\_version makes it easier for programmers to create different version of REStful or RESTlike APIs. It extends Rails routing api, making following possible: version\_namespace :api do version\_nam…

---

## [IPv6 issues viewing any static or dynamic file](https://www.ruby-forum.com/t/ipv6-issues-viewing-any-static-or-dynamic-file/206988)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 15, 2011, 6:23pm UTC](https://www.ruby-forum.com/t/ipv6-issues-viewing-any-static-or-dynamic-file/206988 "2011-05-15T18:23:30Z")

</div>

Hello, I am having issues with IPv6 being able to view any files static or dynamic. I keep getting the error curl -6 http://ipv6.example.com/test.png 2011/05/14 16:18:36 \[info\] 6217#0: \*1 client timed out (110: Conne…

---

## [Private vs. protected question](https://www.ruby-forum.com/t/private-vs-protected-question/205589)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 10, 2011, 12:05am UTC](https://www.ruby-forum.com/t/private-vs-protected-question/205589 "2011-04-10T00:05:36Z")

</div>

From a book I’m reading: class Person def initialize(age) @age = age end def age @age end def age\_difference\_with(other\_person) (self.age - other\_person.age).abs end protected :age end fred = Person.new(34) …

---

## [Volk: duplicate symbol \_volk\_cpu](https://www.ruby-forum.com/t/volk-duplicate-symbol-volk-cpu/229186)

<div class="topic-metadata">

**Author:** [@Kyle\_Z](https://www.ruby-forum.com/u/Kyle_Z)\
**Replies:** 3\
**Last updated:** [December 16, 2010, 5:38pm UTC](https://www.ruby-forum.com/t/volk-duplicate-symbol-volk-cpu/229186 "2010-12-16T17:38:26Z")

</div>

when I try to build volk from next branch of git, I got error during make libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic\_lookup -o .libs/libvolk\_runtime.0.dylib .libs/volk\_cpu\_x86.o .libs/cpuid\_x86\_64.o .…

---

## [Accessing data in sink](https://www.ruby-forum.com/t/accessing-data-in-sink/153001)

<div class="topic-metadata">

**Author:** [@Mayank\_G](https://www.ruby-forum.com/u/Mayank_G)\
**Replies:** 3\
**Last updated:** [November 9, 2010, 6:51pm UTC](https://www.ruby-forum.com/t/accessing-data-in-sink/153001 "2010-11-09T18:51:37Z")

</div>

Hi, I am confused about how to access the data that is present in the sink. I mean that I need to send the sink data into some other component and need to access all the contents. How can I do that? Thanks

---

## [Search for a string in another string allowing mismatches](https://www.ruby-forum.com/t/search-for-a-string-in-another-string-allowing-mismatches/195331)

<div class="topic-metadata">

**Author:** [@janus](https://www.ruby-forum.com/u/janus)\
**Replies:** 3\
**Last updated:** [September 26, 2010, 10:34am UTC](https://www.ruby-forum.com/t/search-for-a-string-in-another-string-allowing-mismatches/195331 "2010-09-26T10:34:04Z")

</div>

Hi all, I’m sure this is a very common problem. But can’t find a simple & efficient way of solving it. Basically, I want to find out if a string contains my search string as a substring. However, a certain amount of …

---

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

<div class="topic-metadata">

**Author:** [@Rushikesh\_Khasgiwal](https://www.ruby-forum.com/u/Rushikesh_Khasgiwal)\
**Replies:** 3\
**Last updated:** [September 21, 2009, 7:40am UTC](https://www.ruby-forum.com/t/usb-latency-problem/175822 "2009-09-21T07:40:01Z")

</div>

I tried to use the usrp for implementing rfid protocols, however the USB latency is causing a bottleneck and I cannot generate and send the reply packet before the timeout(I need to send the reply within 80-120 us). u…

---

## [I am having a problem testing a date in a rails view](https://www.ruby-forum.com/t/i-am-having-a-problem-testing-a-date-in-a-rails-view/170087)

<div class="topic-metadata">

**Author:** [@powertoaster](https://www.ruby-forum.com/u/powertoaster)\
**Replies:** 3\
**Last updated:** [June 12, 2009, 7:06pm UTC](https://www.ruby-forum.com/t/i-am-having-a-problem-testing-a-date-in-a-rails-view/170087 "2009-06-12T19:06:47Z")

</div>

I see June 13, 2009 on my index page when running in development. I get this 2. is not true. require File.expand\_path(File.dirname(FILE) + ‘/…/…/spec\_helper’) describe “/timesheets/index.html.erb” do include Times…

---

## [Shell command execution problem!](https://www.ruby-forum.com/t/shell-command-execution-problem/168445)

<div class="topic-metadata">

**Author:** [@CiriusMex](https://www.ruby-forum.com/u/CiriusMex)\
**Replies:** 3\
**Last updated:** [May 21, 2009, 11:45pm UTC](https://www.ruby-forum.com/t/shell-command-execution-problem/168445 "2009-05-21T23:45:49Z")

</div>

Hi, well here comes my problem. I’m working on a function that will generate PDF files automatically using files already existing. I’m using pdftk utils to generate those files and everythings is working just fine whe…

---

## [Sort relative distance on the fly](https://www.ruby-forum.com/t/sort-relative-distance-on-the-fly/165763)

<div class="topic-metadata">

**Author:** [@dezrtdude](https://www.ruby-forum.com/u/dezrtdude)\
**Replies:** 3\
**Last updated:** [April 18, 2009, 9:02pm UTC](https://www.ruby-forum.com/t/sort-relative-distance-on-the-fly/165763 "2009-04-18T21:02:43Z")

</div>

Hi I am quite a newbie in Ruby. I want to sort a list of locations by relative distance (shortest to farthest relative to my location) on the fly. For example, let say I am at x and y coordinate, I have other points i…

---

## [Spec Server Error on rake spec:server:start](https://www.ruby-forum.com/t/spec-server-error-on-rake-specstart/163666)

<div class="topic-metadata">

**Author:** [@charlesgreen](https://www.ruby-forum.com/u/charlesgreen)\
**Replies:** 3\
**Last updated:** [March 23, 2009, 8:54pm UTC](https://www.ruby-forum.com/t/spec-server-error-on-rake-specstart/163666 "2009-03-23T20:54:50Z")

</div>

Hi, I am following the directions for setting up autotest ( http://wiki.github.com/dchelimsky/rspec/spec\_server-autospec-nearly-pure-bdd-joy) and experienced an error when I run rake spec:server:start. $ rake spec:se…

---

## [Malloc error with String#\<\< / String#+](https://www.ruby-forum.com/t/malloc-error-with-string-string/161392)

<div class="topic-metadata">

**Author:** [@tjholowaychuk](https://www.ruby-forum.com/u/tjholowaychuk)\
**Replies:** 3\
**Last updated:** [February 26, 2009, 8:59pm UTC](https://www.ruby-forum.com/t/malloc-error-with-string-string/161392 "2009-02-26T20:59:07Z")

</div>

The repo is here if anyone wants to take a look http://github.com/visionmedia/dm-forms/tree/master This is the first time I have had a memory error of any kind, heres the output message: forms ruby(7152,0xa041efa0) m…

---

## [Updating database via cron?](https://www.ruby-forum.com/t/updating-database-via-cron/161063)

<div class="topic-metadata">

**Author:** [@bongoman](https://www.ruby-forum.com/u/bongoman)\
**Replies:** 3\
**Last updated:** [February 24, 2009, 7:52am UTC](https://www.ruby-forum.com/t/updating-database-via-cron/161063 "2009-02-24T07:52:42Z")

</div>

Hi there I have a Rails app running that needs to have it’s database periodically updated from an upload of a text file. The data file is in UIEE format and I’m working on a Ruby script that parses the file and inser…

---

## [Cucumber and autospec do not work?](https://www.ruby-forum.com/t/cucumber-and-autospec-do-not-work/155001)

<div class="topic-metadata">

**Author:** [@Kero\_van\_Gelder](https://www.ruby-forum.com/u/Kero_van_Gelder)\
**Replies:** 3\
**Last updated:** [December 6, 2008, 12:14pm UTC](https://www.ruby-forum.com/t/cucumber-and-autospec-do-not-work/155001 "2008-12-06T12:14:18Z")

</div>

Hi! I’m not sure this is how cucumber should behave. Should I file one or three tickets at http://rspec.lighthouseapp.com/projects/16211-cucumber ? $ cucumber -v 0.1.12 $ mkdir fresh $ cd fresh $ cucumber cucum…

---

## [Inconsistency in the PER versus distance using USRP](https://www.ruby-forum.com/t/inconsistency-in-the-per-versus-distance-using-usrp/153788)

<div class="topic-metadata">

**Author:** [@sporb](https://www.ruby-forum.com/u/sporb)\
**Replies:** 3\
**Last updated:** [November 25, 2008, 11:18pm UTC](https://www.ruby-forum.com/t/inconsistency-in-the-per-versus-distance-using-usrp/153788 "2008-11-25T23:18:34Z")

</div>

Hello, everybody! I am using two USRP to find the average PER at a certain distance, but the average PER at a certain distance seems to be varying every day. Yesterday, the PER was around 5%Â when two usprsÂ were 10 f…

---

## [Make RDoc escape inner element strings](https://www.ruby-forum.com/t/make-rdoc-escape-inner-element-strings/153773)

<div class="topic-metadata">

**Author:** [@jfernandez](https://www.ruby-forum.com/u/jfernandez)\
**Replies:** 3\
**Last updated:** [November 25, 2008, 2:41am UTC](https://www.ruby-forum.com/t/make-rdoc-escape-inner-element-strings/153773 "2008-11-25T02:41:40Z")

</div>

Is there a way to make RDoc use the html entities of stuff like: \<=\> (ActiveSupport::TimeZone) The xml parser im using is getting confused by the ‘\<’ ‘\>’ strings inside elements… wondering if you can make Rdoc use t…

---

## [How to access a method in the parent class](https://www.ruby-forum.com/t/how-to-access-a-method-in-the-parent-class/148163)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [September 10, 2008, 12:49am UTC](https://www.ruby-forum.com/t/how-to-access-a-method-in-the-parent-class/148163 "2008-09-10T00:49:46Z")

</div>

Hi, I’ll explain my problem with an example code: module M def hello puts “hello !!!” B.new end class B def initialize puts “B instance initialized !!!” bye() \<— ERROR !!! end end end class A include M d…

---

## [Mocking MiddleMan](https://www.ruby-forum.com/t/mocking-middleman/141222)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 3\
**Last updated:** [June 24, 2008, 10:17pm UTC](https://www.ruby-forum.com/t/mocking-middleman/141222 "2008-06-24T22:17:05Z")

</div>

I’m trying to verify (using expectations) that a backgroundrb job is being started. I ran across this thread: http://rubyforge.org/pipermail/rspec-users/2007-October/004115.html , in which Pat M. conditionally loads b…

---

## [Spacing data into columns](https://www.ruby-forum.com/t/spacing-data-into-columns/141212)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 3\
**Last updated:** [June 24, 2008, 1:11pm UTC](https://www.ruby-forum.com/t/spacing-data-into-columns/141212 "2008-06-24T13:11:26Z")

</div>

Hi, I want to output a series of items, but I want to make sure they’re properly spaced out so it’s more readable. Sample: dfssdf | 393f | dfskjsdfk dfjkdfkdfkj| fd | 3493 df | 1 | et…

---

## [Looking for migrations suggestion for war deployments](https://www.ruby-forum.com/t/looking-for-migrations-suggestion-for-war-deployments/116702)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 3\
**Last updated:** [March 19, 2008, 11:43am UTC](https://www.ruby-forum.com/t/looking-for-migrations-suggestion-for-war-deployments/116702 "2008-03-19T11:43:21Z")

</div>

I am looking to depoly my small rails app with JRuby on tomcat. My main issue is how to migrate the database once the war is deployed. Does anyone have any thoughts or suggestions on how to do this? I know that the …

---

## [Securing the Admin page](https://www.ruby-forum.com/t/securing-the-admin-page/123730)

<div class="topic-metadata">

**Author:** [@richardchaven](https://www.ruby-forum.com/u/richardchaven)\
**Replies:** 3\
**Last updated:** [December 21, 2007, 10:57am UTC](https://www.ruby-forum.com/t/securing-the-admin-page/123730 "2007-12-21T10:57:45Z")

</div>

Now that I have my Radiant powered site up and running (thank you very much!) I am getting a bit anxious about the /admin page being exposed to the world. Not that I’m a big target or anything, but I really don’t wan…

---

## [Question pour rester "DRY"](https://www.ruby-forum.com/t/question-pour-rester-dry/123437)

<div class="topic-metadata">

**Author:** [@liquidautumn](https://www.ruby-forum.com/u/liquidautumn)\
**Replies:** 3\
**Last updated:** [December 17, 2007, 8:48pm UTC](https://www.ruby-forum.com/t/question-pour-rester-dry/123437 "2007-12-17T20:48:40Z")

</div>

Bonjour à tous, comme j’avais un peu de code qui se répétait, j’ai sous classé mes contrôleurs (qui sont des sous classes de “ApplicationController”). Ca marche quand je ré-écrit mes vues correspondants à mes méthodes…

---

## [RSpec Testing Problem with Namespace](https://www.ruby-forum.com/t/rspec-testing-problem-with-namespace/119707)

<div class="topic-metadata">

**Author:** [@raecoo](https://www.ruby-forum.com/u/raecoo)\
**Replies:** 3\
**Last updated:** [November 11, 2007, 3:00pm UTC](https://www.ruby-forum.com/t/rspec-testing-problem-with-namespace/119707 "2007-11-11T15:00:56Z")

</div>

hi all, i use Rspec 1.0.8 and Rspec on Rails testing my project,but the Namespace error to happen. my project have two controller,follow: app/controllers/admin/forums\_controller.rb app/controllers/forums\_controller…

---

## [Constante accessible dans les controleurs et les vues](https://www.ruby-forum.com/t/constante-accessible-dans-les-controleurs-et-les-vues/117127)

<div class="topic-metadata">

**Author:** [@gbenoit79](https://www.ruby-forum.com/u/gbenoit79)\
**Replies:** 3\
**Last updated:** [October 15, 2007, 10:16am UTC](https://www.ruby-forum.com/t/constante-accessible-dans-les-controleurs-et-les-vues/117127 "2007-10-15T10:16:21Z")

</div>

Bonjour, J’ai un truc tout con que j’arrive pas Ã faire : avoir une constante (sur le coup c’est une constante, mais meme pb avec une varialbe en fait) qui soit accessible par tous les controleurs et toutes les vue…

---

## [How i can deploy ROR on a Win 2k server?](https://www.ruby-forum.com/t/how-i-can-deploy-ror-on-a-win-2k-server/82413)

<div class="topic-metadata">

**Author:** [@Fausto](https://www.ruby-forum.com/u/Fausto)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:45pm UTC](https://www.ruby-forum.com/t/how-i-can-deploy-ror-on-a-win-2k-server/82413 "2007-09-25T22:45:40Z")

</div>

Id like to start developing in ROR but first i need to understand if i can deploy it on my production server running windows 2k server.At the moment i’m using a mongrel process on a port linked to a website redirectio…

---

## [Webistrano - A Web UI for managing Capistrano deployments](https://www.ruby-forum.com/t/webistrano-a-web-ui-for-managing-capistrano-deployments/113178)

<div class="topic-metadata">

**Author:** [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Replies:** 0\
**Last updated:** [August 28, 2007, 12:52pm UTC](https://www.ruby-forum.com/t/webistrano-a-web-ui-for-managing-capistrano-deployments/113178 "2007-08-28T12:52:58Z")

</div>

I’m happy to announce the release of Webistrano - a Web UI for managing Capistrano deployments. Webistrano is an internal application that I developed at Peritor for the easy handling of Capistrano deployments. I oft…

---

## [Accessor\_writer methods and instance\_eval](https://www.ruby-forum.com/t/accessor-writer-methods-and-instance-eval/112875)

<div class="topic-metadata">

**Author:** [@Thomas\_Gantner](https://www.ruby-forum.com/u/Thomas_Gantner)\
**Replies:** 3\
**Last updated:** [August 25, 2007, 10:42pm UTC](https://www.ruby-forum.com/t/accessor-writer-methods-and-instance-eval/112875 "2007-08-25T22:42:18Z")

</div>

Hi I stumbled upon a problem with ‘instance\_eval’ (using ruby 1.8.5 on linux-x86\_64). Simplified code example: irb:01\> S = Struct.new(:a) =\> S irb:02\> s = S.new(1) =\> # irb:03\> s.a =\> 1 irb:04\> s.a = 2 =\> 2 ir…

---

## [Forms + Partials integration in login](https://www.ruby-forum.com/t/forms-partials-integration-in-login/105181)

<div class="topic-metadata">

**Author:** [@hpacheco](https://www.ruby-forum.com/u/hpacheco)\
**Replies:** 3\
**Last updated:** [May 29, 2007, 2:44pm UTC](https://www.ruby-forum.com/t/forms-partials-integration-in-login/105181 "2007-05-29T14:44:29Z")

</div>

Hi all, I’m new at rails, so maybe my problem is very stupid. I’ve used act\_as\_authenticated to generate a login/logout/signup controllers and it all works fine. However, I’ve put both views login and logout into a p…

---

## [Uploading local documents/images](https://www.ruby-forum.com/t/uploading-local-documents-images/104179)

<div class="topic-metadata">

**Author:** [@saji](https://www.ruby-forum.com/u/saji)\
**Replies:** 3\
**Last updated:** [May 15, 2007, 6:24am UTC](https://www.ruby-forum.com/t/uploading-local-documents-images/104179 "2007-05-15T06:24:58Z")

</div>

Dear All, Thanks for your patience in answering newbie questions. How do I upload local documents or images? And where do I keep these subdirectories and how to point Radiant to these locations. Thanks again, saji S…

---

## [Re: Re: Developper sur Rail](https://www.ruby-forum.com/t/re-re-developper-sur-rail/82383)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/re-re-developper-sur-rail/82383 "2007-01-19T16:31:12Z")

</div>

(je suis desolÃ©, comme je ne lis que les digest, c’est dur de faire du replay direct…) Pour continuer dans le thread, je pense que c’est peut etre meme plus facile pour un developpeur Java que php de se mettre a rai…

---

## [FXRuby 1.6.4 redux](https://www.ruby-forum.com/t/fxruby-1-6-4-redux/79319)

<div class="topic-metadata">

**Author:** [@Michael\_TSRichter](https://www.ruby-forum.com/u/Michael_TSRichter)\
**Replies:** 3\
**Last updated:** [December 14, 2006, 3:57pm UTC](https://www.ruby-forum.com/t/fxruby-1-6-4-redux/79319 "2006-12-14T15:57:52Z")

</div>

OK, thanks to the timely help of Lyle J. (Thanks, Lyle!) I got FXRuby 1.6.4 compiled and installed. Unfortunately I cannot say that I have it running. Using ‘gem install fxruby’, as per the FXRuby web site’s warnin…

---

## [Web Services: Returning multiple values](https://www.ruby-forum.com/t/web-services-returning-multiple-values/76177)

<div class="topic-metadata">

**Author:** [@dougal](https://www.ruby-forum.com/u/dougal)\
**Replies:** 3\
**Last updated:** [November 16, 2006, 11:02pm UTC](https://www.ruby-forum.com/t/web-services-returning-multiple-values/76177 "2006-11-16T23:02:03Z")

</div>

Ok, so I have an API definition as so… api\_method :frame\_out, :returns =\> \[:boolean,:int,:int,:string,:string\] and a controller method as follows… def frame\_out return \[false, 0, 0, ‘’,’’\] end When I run this usin…

---

## [Checkbox avec ruby](https://www.ruby-forum.com/t/checkbox-avec-ruby/71628)

<div class="topic-metadata">

**Author:** [@mbainakine](https://www.ruby-forum.com/u/mbainakine)\
**Replies:** 3\
**Last updated:** [October 13, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/checkbox-avec-ruby/71628 "2006-10-13T16:11:27Z")

</div>

Boujour tout le monde. j’apprend en ce moment Ã programmmer en ruby (j’suis dÃ©butant en ruby en claire ). J’aimerais que quelqu’un m’explique comment on gÃ¨re les checkbox dans un controleur. J’ai essayer d’utiliser…

---

## [Add Mysql to PATH on OS X](https://www.ruby-forum.com/t/add-mysql-to-path-on-os-x/71568)

<div class="topic-metadata">

**Author:** [@dfg59](https://www.ruby-forum.com/u/dfg59)\
**Replies:** 3\
**Last updated:** [October 10, 2006, 4:13am UTC](https://www.ruby-forum.com/t/add-mysql-to-path-on-os-x/71568 "2006-10-10T04:13:23Z")

</div>

I open a terminal and run the following command: export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH" After this, everything works fine: which mysql =\> /usr/local/mysql/bin/mysql However, when I c…

---

## [AR and antijoin with habtm](https://www.ruby-forum.com/t/ar-and-antijoin-with-habtm/69895)

<div class="topic-metadata">

**Author:** [@tony](https://www.ruby-forum.com/u/tony)\
**Replies:** 3\
**Last updated:** [September 26, 2006, 2:06pm UTC](https://www.ruby-forum.com/t/ar-and-antijoin-with-habtm/69895 "2006-09-26T14:06:42Z")

</div>

Hi there ! I have a habtm relationship between books and keywords. Using the database, books are added, deleted and modified and keywords also. For a managing part of the website, I want to have a “find orphan” for th…

---

## [Odd Join](https://www.ruby-forum.com/t/odd-join/69298)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 3\
**Last updated:** [September 20, 2006, 11:20pm UTC](https://www.ruby-forum.com/t/odd-join/69298 "2006-09-20T23:20:04Z")

</div>

Hey there, I’m trying to do a really complex join with ActiveRecord and am coming up pretty short so far. The structure is like: user id name etc. task name ect. task\_assignments from\_user\_id to\_user\_id tas…

---

## [Where to put my homegrown class?](https://www.ruby-forum.com/t/where-to-put-my-homegrown-class/66204)

<div class="topic-metadata">

**Author:** [@Philip\_N](https://www.ruby-forum.com/u/Philip_N)\
**Replies:** 3\
**Last updated:** [August 24, 2006, 9:03am UTC](https://www.ruby-forum.com/t/where-to-put-my-homegrown-class/66204 "2006-08-24T09:03:24Z")

</div>

I’ve developed a file (let’s call it mypdf.rb) which extends the module PDF::Writer with some additional methods. This enables me to produce PDF documents of a very specific nature for a project I am working on. I’…

---

## [RE: current user's id?](https://www.ruby-forum.com/t/re-current-users-id/94715)

<div class="topic-metadata">

**Author:** [@nathandelane](https://www.ruby-forum.com/u/nathandelane)\
**Replies:** 3\
**Last updated:** [May 12, 2006, 3:17am UTC](https://www.ruby-forum.com/t/re-current-users-id/94715 "2006-05-12T03:17:23Z")

</div>

JP, It depends on what authorization mechanism you are using, but if the complete user info is stored in the session it would be something like… session\[:user\].id or, if you are just storing the id in the session an…

---

## [Devise login via web and mobile](https://www.ruby-forum.com/t/devise-login-via-web-and-mobile/244768)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 11, 2016, 5:27pm UTC](https://www.ruby-forum.com/t/devise-login-via-web-and-mobile/244768 "2016-06-11T17:27:04Z")

</div>

Hi all! I have a web application that uses Devise for authentication. I’ll soon be releasing the android version of the application, and it will use the same Devise for authentication. Can anybody help me with how ca…

---

## [Raw socket answer (non-http request reply)](https://www.ruby-forum.com/t/raw-socket-answer-non-http-request-reply/243168)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 28, 2015, 1:41pm UTC](https://www.ruby-forum.com/t/raw-socket-answer-non-http-request-reply/243168 "2015-08-28T13:41:42Z")

</div>

i have to handle raw socket connections in simple manner: any connection to specific port should be served with predefined data (text string), without http headers, wrappings, etc. Is it possible to do with nginx? May…

---

## [Add multiple gated streams](https://www.ruby-forum.com/t/add-multiple-gated-streams/243119)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 23, 2015, 10:28pm UTC](https://www.ruby-forum.com/t/add-multiple-gated-streams/243119 "2015-08-23T22:28:20Z")

</div>

Anyone have an idea how I can sum (add\_ff) multiple, gated streams into a single stream? For example, the gr-dsd block gates it’s output when there is nothing to decode. I can sum multiple decoders together for a si…

---

## [Nginx-1.5.13](https://www.ruby-forum.com/t/nginx-1-5-13/240324)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 9, 2014, 2:30pm UTC](https://www.ruby-forum.com/t/nginx-1-5-13/240324 "2014-04-09T14:30:35Z")

</div>

Changes with nginx 1.5.13 08 Apr 2014 \*) Change: improved hash table handling; the default values of the "variables\_hash\_max\_size" and "types\_hash\_bucket\_size" were changed …

---

## [Sidekiq: push background results to front](https://www.ruby-forum.com/t/sidekiq-push-background-results-to-front/245450)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 3, 2013, 3:43pm UTC](https://www.ruby-forum.com/t/sidekiq-push-background-results-to-front/245450 "2013-06-03T15:43:22Z")

</div>

Rails 3.2.11 Sidekiq latest My app continues background jobs that generate texts as the output. class ProcessText include Sidekiq::Worker def perform(name, count) puts "executing..." @feed = Feed.first @…

---

## [\[ruby-trunk - Feature #7190\]\[Open\] warning: already initialized constant の書式](https://www.ruby-forum.com/t/ruby-trunk-feature-7190-open-warning-already-initialized-constant/223851)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [November 24, 2012, 1:33am UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-7190-open-warning-already-initialized-constant/223851 "2012-11-24T01:33:13Z")

</div>

Issue #7190 has been reported by sawa (Tsuyoshi Sawada). Feature #7190: warning: already initialized constant の書式 Author: sawa (Tsuyoshi Sawada) Status: Open Priority: Normal Assignee: Category: Target version: …

---

## [How to remove empty object from array](https://www.ruby-forum.com/t/how-to-remove-empty-object-from-array/221163)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [July 3, 2012, 9:00am UTC](https://www.ruby-forum.com/t/how-to-remove-empty-object-from-array/221163 "2012-07-03T09:00:17Z")

</div>

Hello, I have a view on which I accept multiple objects of the same model. I create an array like @member\_list=\[\] 5.times{ @member\_list\<\<Member.new } user can enter the data for upto 5 members on the same screen. …

---

## [Can Arel handle UPPER and LIKE condition?](https://www.ruby-forum.com/t/can-arel-handle-upper-and-like-condition/215413)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 4, 2012, 2:30pm UTC](https://www.ruby-forum.com/t/can-arel-handle-upper-and-like-condition/215413 "2012-01-04T14:30:32Z")

</div>

Hello all, I’ve recently been on a project where somewhere needs using case insensitive search(using UPPER(name) LIKE ‘’) and LIKE condition, I want to use arel and don’t use the old style string concatenation, can a…

---

## [Problem with mocking helper methods](https://www.ruby-forum.com/t/problem-with-mocking-helper-methods/213868)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 15, 2011, 6:09am UTC](https://www.ruby-forum.com/t/problem-with-mocking-helper-methods/213868 "2011-11-15T06:09:20Z")

</div>

Given that I assume that rails helper image\_tag works as intended, I want to mock out call to this method in my helper. spec/helpers/some\_helper\_spec.rb: require ‘spec\_helper’ describe SomeHelper do it ‘allows stu…

---

## [Cucumber not inserting record in db](https://www.ruby-forum.com/t/cucumber-not-inserting-record-in-db/203999)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 3, 2011, 1:22pm UTC](https://www.ruby-forum.com/t/cucumber-not-inserting-record-in-db/203999 "2011-03-03T13:22:58Z")

</div>

Hi, I am trying to learn Cucumber. I have followed the tutorial on “http://www.ultrasaurus.com/sarahblog/2008/12/rails-2-day-3-behavior-driven-development/” Everything is working fine but my problem is it is not inser…

---

## [Ironruby packages](https://www.ruby-forum.com/t/ironruby-packages/201358)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 5, 2011, 8:58pm UTC](https://www.ruby-forum.com/t/ironruby-packages/201358 "2011-01-05T20:58:51Z")

</div>

Hello all, I’m the author of pik\[1\], which is a tool similar to RVM, but for Windows. I recently got a report that people can’t install the latest IronRuby packages via pik \[2\]. This is because the latest packages …

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

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