# Top

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

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

---

## [(jobs) Front End Software Engineer](https://www.ruby-forum.com/t/jobs-front-end-software-engineer/243360)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 25, 2015, 5:48pm UTC](https://www.ruby-forum.com/t/jobs-front-end-software-engineer/243360 "2015-09-25T17:48:20Z")

</div>

Senior Front-End Developer Based in Boulder, Colorado, We are a multidisciplinary team of digital artisans that bring together passion, collaboration, and creativity to create high-concept digital solutions that are i…

---

## [Header files in sig\_source\_X\_impl.cc.t](https://www.ruby-forum.com/t/header-files-in-sig-source-x-impl-cc-t/243324)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [September 16, 2015, 2:29pm UTC](https://www.ruby-forum.com/t/header-files-in-sig-source-x-impl-cc-t/243324 "2015-09-16T14:29:33Z")

</div>

Inside the source for sig\_source\_X\_impl.cc.t, there is a include file ‘#include “@IMPL\_NAME@”’. What is this? I am trying to make my own block using the same source code from the signal source block but it throws an e…

---

## [Packet data transmission through USRP N210](https://www.ruby-forum.com/t/packet-data-transmission-through-usrp-n210/230689)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [June 30, 2014, 2:40am UTC](https://www.ruby-forum.com/t/packet-data-transmission-through-usrp-n210/230689 "2014-06-30T02:40:16Z")

</div>

Dear all, I’m trying to transmit data packets with variable length through GNURadio Companion v3.7.4 and USRP N210 (LTFX&LFRX). Firstly I found tunnel.py in repository but that file has not been updated for almost 3 …

---

## [RMagick Annotate - interline spacing and its relation with the font](https://www.ruby-forum.com/t/rmagick-annotate-interline-spacing-and-its-relation-with-the-font/230361)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [June 13, 2014, 8:01am UTC](https://www.ruby-forum.com/t/rmagick-annotate-interline-spacing-and-its-relation-with-the-font/230361 "2014-06-13T08:01:43Z")

</div>

Hi, RMagick Documentation about interline\_spacing mentions - “A numeric value. If positive, inserts additional space between lines. If negative, removes space between lines. The amount of space inserted or removed de…

---

## [Upload to Imgur quickly with imgurr Ruby gem](https://www.ruby-forum.com/t/upload-to-imgur-quickly-with-imgurr-ruby-gem/240609)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 23, 2014, 12:04am UTC](https://www.ruby-forum.com/t/upload-to-imgur-quickly-with-imgurr-ruby-gem/240609 "2014-04-23T00:04:32Z")

</div>

Command line utility for Imgur in Ruby. Imgurr lets you quickly upload images, get info about an image and delete your own images from Imgur. Example: imgurr up image.png Copied http://i.imgur.com/6EKnDwa.png to clipb…

---

## [Is ruby CGI the good way](https://www.ruby-forum.com/t/is-ruby-cgi-the-good-way/227963)

<div class="topic-metadata">

**Author:** [@kenfc](https://www.ruby-forum.com/u/kenfc)\
**Replies:** 3\
**Last updated:** [April 4, 2013, 6:59pm UTC](https://www.ruby-forum.com/t/is-ruby-cgi-the-good-way/227963 "2013-04-04T18:59:55Z")

</div>

Hi I have subscribed to this mailing list and sent the question, but didn’t see the list send any message to my email box. What’s happened? Thanks.

---

## [Help with rails validates](https://www.ruby-forum.com/t/help-with-rails-validates/229257)

<div class="topic-metadata">

**Author:** [@Curtis\_O](https://www.ruby-forum.com/u/Curtis_O)\
**Replies:** 3\
**Last updated:** [January 4, 2013, 5:01pm UTC](https://www.ruby-forum.com/t/help-with-rails-validates/229257 "2013-01-04T17:01:46Z")

</div>

I have a question on rails validates. I need to validate that one field is filled out if another field has a certain value. The code is below, but if license has extended selected then the extended license type needs…

---

## [Why is not passing model in locale flash message?](https://www.ruby-forum.com/t/why-is-not-passing-model-in-locale-flash-message/224102)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 30, 2012, 12:47pm UTC](https://www.ruby-forum.com/t/why-is-not-passing-model-in-locale-flash-message/224102 "2012-10-30T12:47:20Z")

</div>

def update … if @unsafe\_building.update\_attributes(params\[:company\]) format.html { redirect\_to @unsafe\_building, notice: t(‘flash.actions.update.notice’) } in it.yml locale file I have: it: flash: actions: creat…

---

## [Ruby/Rake Warnings and errors](https://www.ruby-forum.com/t/ruby-rake-warnings-and-errors/223649)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 12, 2012, 12:49pm UTC](https://www.ruby-forum.com/t/ruby-rake-warnings-and-errors/223649 "2012-10-12T12:49:02Z")

</div>

Hi All, I am new to ruby,so please let me know how to learn quickly in a better way ?

---

## [Rails console eats my query trace](https://www.ruby-forum.com/t/rails-console-eats-my-query-trace/222097)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 12, 2012, 5:38am UTC](https://www.ruby-forum.com/t/rails-console-eats-my-query-trace/222097 "2012-08-12T05:38:40Z")

</div>

I understand that the default since 3.1 is not to log to development.log anymore and simply display SQL inline in the console (STDOUT). This is fine with me, and I know I can change it by reassigning the ActiveRecord…

---

## [Double render in rails](https://www.ruby-forum.com/t/double-render-in-rails/220294)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 6, 2012, 12:42am UTC](https://www.ruby-forum.com/t/double-render-in-rails/220294 "2012-06-06T00:42:28Z")

</div>

Hi all, Is double render or redirect possible in rails…? Please tell me if possible… Thanks

---

## [Ruby on Rails Developer required](https://www.ruby-forum.com/t/ruby-on-rails-developer-required/219991)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [May 24, 2012, 10:13am UTC](https://www.ruby-forum.com/t/ruby-on-rails-developer-required/219991 "2012-05-24T10:13:22Z")

</div>

Se ofrece puesto de trabajo para un desarrollador de Ruby on Rails, entre Espana e Irlanda. Se exige un buen nivel de ingles. Interesados/as, contacten por email removed\_email\_address@domain.invalid Ruby on Rails De…

---

## [Inheritance one more time](https://www.ruby-forum.com/t/inheritance-one-more-time/216467)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 6, 2012, 8:01am UTC](https://www.ruby-forum.com/t/inheritance-one-more-time/216467 "2012-02-06T08:01:56Z")

</div>

Hi, similar topic was here but still I can’t do that. This is my code: Square = Struct.new(:x,:y,:a) do include Domieszka def pole p = a\*\*2 end def obwod o = 4\*a end def pole=(a) self.a = a end def obwod=(a) …

---

## [Changing users password not working](https://www.ruby-forum.com/t/changing-users-password-not-working/216052)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 24, 2012, 9:52pm UTC](https://www.ruby-forum.com/t/changing-users-password-not-working/216052 "2012-01-24T21:52:41Z")

</div>

I am using rails 3.0.10, in that i had created users using devise and i followed the below link to change the user password, but it is not changing the password when i changed the current password. please anyone help …

---

## [Round a numeric value](https://www.ruby-forum.com/t/round-a-numeric-value/214212)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 24, 2011, 4:51pm UTC](https://www.ruby-forum.com/t/round-a-numeric-value/214212 "2011-11-24T16:51:19Z")

</div>

Hello people I’m developing a rails 3.0.9 app and I’m doing some calculations for prices. I need to do the following: if I get (i.e.) 10.0 to 10.4 I need to store 10 if I get (i.e.) 10.5 to 10.9 I need to store 11 I…

---

## [Setting rails 3 with WEBrick Server as a Service in a WinSrv 2003](https://www.ruby-forum.com/t/setting-rails-3-with-webrick-server-as-a-service-in-a-winsrv-2003/210083)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 30, 2011, 2:31am UTC](https://www.ruby-forum.com/t/setting-rails-3-with-webrick-server-as-a-service-in-a-winsrv-2003/210083 "2011-07-30T02:31:42Z")

</div>

Looking for a solution to set my new app (a clone from spree) as a service to demo purpouses, in our WebServer I’ve found several options to setup the service and configure the Win registry with options that didn’t wo…

---

## [Recherche de formation en alternance pour deux élèves ingénieurs (Nice - Sophia)](https://www.ruby-forum.com/t/recherche-de-formation-en-alternance-pour-deux-eleves-ingenieurs-nice-sophia/209465)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 14, 2011, 3:21pm UTC](https://www.ruby-forum.com/t/recherche-de-formation-en-alternance-pour-deux-eleves-ingenieurs-nice-sophia/209465 "2011-07-14T15:21:37Z")

</div>

Bonjour, Nous sommes deux élèves ingénieurs en Sciences Informatiques en 5ème année à Polytech’Nice Sophia. Après avoir découvert le framework Ruby On Rails lors d’un semestre à l’étranger, nous sommes très intéressé…

---

## ["Forking" to the background (Misleading title, sorry)](https://www.ruby-forum.com/t/forking-to-the-background-misleading-title-sorry/208522)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 20, 2011, 11:35pm UTC](https://www.ruby-forum.com/t/forking-to-the-background-misleading-title-sorry/208522 "2011-06-20T23:35:27Z")

</div>

The title is misleading because I am not sure I can describe my problem at hand easily. But probably it is … I just don’t know how to solve it yet. Hence why I ask here. Situation: I wrote a very small class wrapper…

---

## [Embedded hash in array to selected-array](https://www.ruby-forum.com/t/embedded-hash-in-array-to-selected-array/198114)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [October 26, 2010, 5:01pm UTC](https://www.ruby-forum.com/t/embedded-hash-in-array-to-selected-array/198114 "2010-10-26T17:01:00Z")

</div>

Hi! I have this array: users = \[ { :id =\> 1, :name =\> ‘Stephan’}, { :id =\> 2, :name =\> ‘Carol’}, { :id =\> 3, :name =\> ‘Lizi’} \] How can i make a users\_names, which will contain \[‘Stephan’, ‘Carol’, ‘Lizi’\] ? Thanks…

---

## [Using a query as a class variable](https://www.ruby-forum.com/t/using-a-query-as-a-class-variable/191471)

<div class="topic-metadata">

**Author:** [@zatta105](https://www.ruby-forum.com/u/zatta105)\
**Replies:** 3\
**Last updated:** [July 13, 2010, 3:17pm UTC](https://www.ruby-forum.com/t/using-a-query-as-a-class-variable/191471 "2010-07-13T15:17:05Z")

</div>

Hi everyone, I have the following basic rules: Subject has many elements Element has many subjects Element has many knowledges which are either enabled or required Element has many skills which are either enabled or…

---

## [N00b question: 'Having troubles with map.namespace :admin'](https://www.ruby-forum.com/t/n00b-question-having-troubles-with-map-namespace-admin/190454)

<div class="topic-metadata">

**Author:** [@sebastian](https://www.ruby-forum.com/u/sebastian)\
**Replies:** 3\
**Last updated:** [June 22, 2010, 10:37pm UTC](https://www.ruby-forum.com/t/n00b-question-having-troubles-with-map-namespace-admin/190454 "2010-06-22T22:37:14Z")

</div>

Hi everyone! Im having troubles with my routes.rb, i set map.namespace :admin so i can enter to my scaffold ‘contacts’ via admin/contacts’, but the view its crashing showing this error:; undefined method \`contact\_path…

---

## [Progress on Sheeva -- actually got a half-way functional flow-graph working](https://www.ruby-forum.com/t/progress-on-sheeva-actually-got-a-half-way-functional-flow-graph-working/186579)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 3\
**Last updated:** [April 10, 2010, 1:25am UTC](https://www.ruby-forum.com/t/progress-on-sheeva-actually-got-a-half-way-functional-flow-graph-working/186579 "2010-04-10T01:25:22Z")

</div>

http://www.sbrac.org/files/audioSIDnoGUI.py http://www.sbrac.org/files/audioSIDnoGUI.grc It can only handle two channels, and it takes 78% of the CPU while doing it, but it does work! – Marcus L. Principal Investig…

---

## [How database driven content localization is done?](https://www.ruby-forum.com/t/how-database-driven-content-localization-is-done/185012)

<div class="topic-metadata">

**Author:** [@karikrishni](https://www.ruby-forum.com/u/karikrishni)\
**Replies:** 3\
**Last updated:** [March 11, 2010, 8:41pm UTC](https://www.ruby-forum.com/t/how-database-driven-content-localization-is-done/185012 "2010-03-11T20:41:26Z")

</div>

Hi, We are developing a site which needs to be localized, But we store the content into the database records. Anyone has ideas about how to localize a database based application? It should not use the google translat…

---

## [How to access local parameters in partials?](https://www.ruby-forum.com/t/how-to-access-local-parameters-in-partials/184805)

<div class="topic-metadata">

**Author:** [@trapper](https://www.ruby-forum.com/u/trapper)\
**Replies:** 3\
**Last updated:** [March 9, 2010, 12:00am UTC](https://www.ruby-forum.com/t/how-to-access-local-parameters-in-partials/184805 "2010-03-09T00:00:56Z")

</div>

In my template, I call this partial with an additional parameter: \<%= render :partial =\> "shared/finder\_list\_header.html.erb", :locals =\> { :selectFinder =\> true } %\> ... Inside the partial I try to access selectFinde…

---

## [Pure, OpenID-only (password not a choice) Authentication?](https://www.ruby-forum.com/t/pure-openid-only-password-not-a-choice-authentication/181309)

<div class="topic-metadata">

**Author:** [@audreylee88](https://www.ruby-forum.com/u/audreylee88)\
**Replies:** 3\
**Last updated:** [January 10, 2010, 9:15am UTC](https://www.ruby-forum.com/t/pure-openid-only-password-not-a-choice-authentication/181309 "2010-01-10T09:15:11Z")

</div>

Hello list, Are any of you using OpenID to register and authenticate your users? I have found 2 projects on github which mix Rails with OpenID: Both projects seem suited for providing a choice to the end-user: “V…

---

## [Upload problem](https://www.ruby-forum.com/t/upload-problem/179799)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 3\
**Last updated:** [December 6, 2009, 1:00am UTC](https://www.ruby-forum.com/t/upload-problem/179799 "2009-12-06T01:00:01Z")

</div>

Hey guys, I’m trying to make a really simple uploader and I’m having trouble… I’m trying to follow this tutorial: the view: \<% form\_for :profile, :url =\> { :controller =\> ‘profile’, :action =\> ‘update’ }, :multipar…

---

## [ANN: Sequel 3.7.0 Released](https://www.ruby-forum.com/t/ann-sequel-3-7-0-released/179678)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 3\
**Last updated:** [December 1, 2009, 6:43pm UTC](https://www.ruby-forum.com/t/ann-sequel-3-7-0-released/179678 "2009-12-01T18:43:15Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas. Sequel also includes a lightweight but…

---

## [Sample Authlogic + Subdomain\_fu application](https://www.ruby-forum.com/t/sample-authlogic-subdomain-fu-application/175479)

<div class="topic-metadata">

**Author:** [@xponrails](https://www.ruby-forum.com/u/xponrails)\
**Replies:** 3\
**Last updated:** [October 22, 2009, 12:29am UTC](https://www.ruby-forum.com/t/sample-authlogic-subdomain-fu-application/175479 "2009-10-22T00:29:16Z")

</div>

Hi all. I’m going to start a new application using Authlogic with subdomain support (subdomain\_fu) and I wonder if someone has just created a sample application to use as starting skeleton (that can be cloned/ forked…

---

## [When and how to use ActiveRecord::Migration](https://www.ruby-forum.com/t/when-and-how-to-use-activerecord-migration/175967)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 3\
**Last updated:** [October 13, 2009, 10:09am UTC](https://www.ruby-forum.com/t/when-and-how-to-use-activerecord-migration/175967 "2009-10-13T10:09:11Z")

</div>

Interestingly, the text book Practical Ruby Gems http://www.apress.com/book/view/9781590598115 listing 5-1 uses ActiveRecord::Base wheras ActiveRecord::Migration would give more flexibility, right? How would I impl…

---

## [Kann Production Environment nicht auf dem Server betreiben](https://www.ruby-forum.com/t/kann-production-environment-nicht-auf-dem-server-betreiben/175928)

<div class="topic-metadata">

**Author:** [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 11:45pm UTC](https://www.ruby-forum.com/t/kann-production-environment-nicht-auf-dem-server-betreiben/175928 "2009-09-22T23:45:35Z")

</div>

Hallo zusammen, ich versuche eine Rails 2.2.2 App auf meinen Server mit cap zu deployen. Auf dem Server lÃ¤uft der passenger. Ich weiÃŸ zwar nicht warum, aber hatte es auf dem Server bisher immer im development Envir…

---

## [Migration - wrong SQL statement is created](https://www.ruby-forum.com/t/migration-wrong-sql-statement-is-created/174691)

<div class="topic-metadata">

**Author:** [@heyho](https://www.ruby-forum.com/u/heyho)\
**Replies:** 3\
**Last updated:** [August 31, 2009, 3:41pm UTC](https://www.ruby-forum.com/t/migration-wrong-sql-statement-is-created/174691 "2009-08-31T15:41:58Z")

</div>

Hi, I am doing my first steps with RoR and I have the following problem: I execute my migration file with the following content on a MySQL-database via Rake: class CreateUsers \< ActiveRecord::Migration def self.up…

---

## [Dummy\_gdb\_enums](https://www.ruby-forum.com/t/dummy-gdb-enums/173145)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 3\
**Last updated:** [August 5, 2009, 7:53am UTC](https://www.ruby-forum.com/t/dummy-gdb-enums/173145 "2009-08-05T07:53:59Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B .gdbinite$B$Ke(B dummy\_gdb\_enums e$B$H$$$&L$Dj5AJQ?t$,;H$o$l$k$h$&$K$J$Ce(B e$B$F!"$;$C$+$/$Ne(B rp e$B%^%/%m$J$I$,;H$($J$/$J$C$F$$$^$9!#e(B (gdb) rp hash No symbol “dummy\_gdb\_enums…

---

## [Wiki built on rails](https://www.ruby-forum.com/t/wiki-built-on-rails/171869)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 3\
**Last updated:** [July 11, 2009, 4:07am UTC](https://www.ruby-forum.com/t/wiki-built-on-rails/171869 "2009-07-11T04:07:58Z")

</div>

Hi everyone, can you please give me few examples of wikis built in rails? Thanks in advance, Ak

---

## [Saving transmitted data from USRP2 to a file](https://www.ruby-forum.com/t/saving-transmitted-data-from-usrp2-to-a-file/169992)

<div class="topic-metadata">

**Author:** [@hjaffer](https://www.ruby-forum.com/u/hjaffer)\
**Replies:** 3\
**Last updated:** [June 15, 2009, 10:33pm UTC](https://www.ruby-forum.com/t/saving-transmitted-data-from-usrp2-to-a-file/169992 "2009-06-15T22:33:38Z")

</div>

Hello All, I am using the Python example program “usrp2\_siggen\_gui.py” and wanted to save the transmitted data to a file. I added the following lines: self.u = usrp2.source\_32fc(self.tb.interface\_name(), self.tb…

---

## [Newbie question: Custom Validations](https://www.ruby-forum.com/t/newbie-question-custom-validations/168459)

<div class="topic-metadata">

**Author:** [@cardinallijr](https://www.ruby-forum.com/u/cardinallijr)\
**Replies:** 3\
**Last updated:** [May 26, 2009, 5:48am UTC](https://www.ruby-forum.com/t/newbie-question-custom-validations/168459 "2009-05-26T05:48:23Z")

</div>

Hi all, I’m trying to validate my model through equal values occuring a number of times on the same column. I think that I have to use a custom validation, right? I tried to use it but had no success. For example, th…

---

## [Spreadsheet development](https://www.ruby-forum.com/t/spreadsheet-development/166113)

<div class="topic-metadata">

**Author:** [@amabdelsalam](https://www.ruby-forum.com/u/amabdelsalam)\
**Replies:** 3\
**Last updated:** [April 22, 2009, 1:36pm UTC](https://www.ruby-forum.com/t/spreadsheet-development/166113 "2009-04-22T13:36:34Z")

</div>

Hi,… I’d like to create a Spreadsheet model, where I can access cells like the following: sheet = Spreadsheet.new sheet.cells.a1 = ‘Hello’ sheet.cells.b3 = ‘World’ The problem is in how to define cell names to be a…

---

## [Instance variables in helpers?](https://www.ruby-forum.com/t/instance-variables-in-helpers/163474)

<div class="topic-metadata">

**Author:** [@Lee\_DSoSSSSjgi](https://www.ruby-forum.com/u/Lee_DSoSSSSjgi)\
**Replies:** 3\
**Last updated:** [March 22, 2009, 9:33am UTC](https://www.ruby-forum.com/t/instance-variables-in-helpers/163474 "2009-03-22T09:33:47Z")

</div>

Hi, Can someone tell me why the following isn’t setting an instance variable? Perhaps they can’t be set/used in helpers? I have a revision\_info method in ApplicationHelper that returns the current SVN revision numbe…

---

## [Is it just me being cynical](https://www.ruby-forum.com/t/is-it-just-me-being-cynical/160875)

<div class="topic-metadata">

**Author:** [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Replies:** 3\
**Last updated:** [February 21, 2009, 8:10am UTC](https://www.ruby-forum.com/t/is-it-just-me-being-cynical/160875 "2009-02-21T08:10:51Z")

</div>

Or is most of the noise here 10 cent development shops having their code written for them by contributors to this list ?

---

## [File Iteration](https://www.ruby-forum.com/t/file-iteration/159309)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 3\
**Last updated:** [February 3, 2009, 12:06pm UTC](https://www.ruby-forum.com/t/file-iteration/159309 "2009-02-03T12:06:44Z")

</div>

Hi all… i have folder named test in my application’s public folder . i want to iterate that folder named test which is in public folder. for that i tried this code it gives me error like Errno::ENOENT in Chat logCon…

---

## [Update only selected columns](https://www.ruby-forum.com/t/update-only-selected-columns/150377)

<div class="topic-metadata">

**Author:** [@ian](https://www.ruby-forum.com/u/ian)\
**Replies:** 3\
**Last updated:** [October 8, 2008, 7:05pm UTC](https://www.ruby-forum.com/t/update-only-selected-columns/150377 "2008-10-08T19:05:25Z")

</div>

I’m working on an “update your profile” page. One of the fields is the user’s password. I have a couple of validation rules set up in the user model regarding the password’s minimum and maximum length and it not bei…

---

## [Commandline options and output-"method"](https://www.ruby-forum.com/t/commandline-options-and-output-method/148249)

<div class="topic-metadata">

**Author:** [@skaverat](https://www.ruby-forum.com/u/skaverat)\
**Replies:** 3\
**Last updated:** [September 11, 2008, 12:07am UTC](https://www.ruby-forum.com/t/commandline-options-and-output-method/148249 "2008-09-11T00:07:27Z")

</div>

I’ve got two questions: Is it possible to run a ruby script with options? i.e.: foobar.rb --someoption foobar.rb -o secondly, (how) is it possible to change the output of a script to a static output, so you only up…

---

## [Bug involving condition variables](https://www.ruby-forum.com/t/bug-involving-condition-variables/142984)

<div class="topic-metadata">

**Author:** [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Replies:** 3\
**Last updated:** [July 14, 2008, 7:44pm UTC](https://www.ruby-forum.com/t/bug-involving-condition-variables/142984 "2008-07-14T19:44:01Z")

</div>

The following code generates a ThreadError (“not owner”, raised in unlock\_mutex\_inner()). However, the ThreadError never gets reported at the top level (even though my code is re-raising it and Thread.abort\_on\_excepti…

---

## [Using qt ruby](https://www.ruby-forum.com/t/using-qt-ruby/140779)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [June 19, 2008, 1:00pm UTC](https://www.ruby-forum.com/t/using-qt-ruby/140779 "2008-06-19T13:00:56Z")

</div>

I’m not particularly new to ruby or QT but I’m having trouble getting the two to work nicely together. I have a TextEdit and I’m trying to call setExtraSelections on it. when I use the getter I get the error: “Cannot…

---

## [Making a gem](https://www.ruby-forum.com/t/making-a-gem/139902)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 3\
**Last updated:** [June 9, 2008, 10:58pm UTC](https://www.ruby-forum.com/t/making-a-gem/139902 "2008-06-09T22:58:42Z")

</div>

Hello! I’d like to release a Gem on Rubyforge and I need some help. I have created most of my project using Hoe and the gem builds and installs locally properly. When I try to release though (rake release VERSION=1.0…

---

## [Iterate Array](https://www.ruby-forum.com/t/iterate-array/137797)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 3\
**Last updated:** [May 16, 2008, 4:09pm UTC](https://www.ruby-forum.com/t/iterate-array/137797 "2008-05-16T16:09:56Z")

</div>

Hi I have created an array like def checkdata(data) @passed\_effort= data.split(’:’).collect! {|n| n} hours = @passed\_effort\[0\] minutes = @passed\_effort\[1\] @error\_checked\_value=Array.new if hours =~ /\\D/ || minutes…

---

## [Reducing Heap Fragmentation - Any Thoughts?](https://www.ruby-forum.com/t/reducing-heap-fragmentation-any-thoughts/136964)

<div class="topic-metadata">

**Author:** [@kyle](https://www.ruby-forum.com/u/kyle)\
**Replies:** 3\
**Last updated:** [May 12, 2008, 8:52pm UTC](https://www.ruby-forum.com/t/reducing-heap-fragmentation-any-thoughts/136964 "2008-05-12T20:52:36Z")

</div>

My mongrels slowly grow as my application runs, and I have to restart them every few days (not as bad as some, I know). I used bleak\_house and had the following conversation with Evan: http://rubyforge.org/forum/foru…

---

## [Partials and config.load\_paths](https://www.ruby-forum.com/t/partials-and-config-load-paths/136934)

<div class="topic-metadata">

**Author:** [@MaddyTheGoose](https://www.ruby-forum.com/u/MaddyTheGoose)\
**Replies:** 3\
**Last updated:** [May 7, 2008, 4:41pm UTC](https://www.ruby-forum.com/t/partials-and-config-load-paths/136934 "2008-05-07T16:41:20Z")

</div>

Is it possible to define a sub directory in the views folder to put partials? In my config.load\_paths in the environment.rb I’ve added an entry to the effect of “config.load\_paths += %W( #{RAILS\_ROOT}/app/ views/my\_it…

---

## [Routing and default module](https://www.ruby-forum.com/t/routing-and-default-module/133695)

<div class="topic-metadata">

**Author:** [@dburkes](https://www.ruby-forum.com/u/dburkes)\
**Replies:** 3\
**Last updated:** [April 5, 2008, 12:26am UTC](https://www.ruby-forum.com/t/routing-and-default-module/133695 "2008-04-05T00:26:34Z")

</div>

I would like to route all requests with the path “foo/:controller/:action” to a modulized controller like ‘bar/#{controller}’. So “foo/bro/index” goes to Bar::BroController, “foo/baz/index” goes to Bar::BazController…

---

## [Map routes from an array?](https://www.ruby-forum.com/t/map-routes-from-an-array/129082)

<div class="topic-metadata">

**Author:** [@peter](https://www.ruby-forum.com/u/peter)\
**Replies:** 3\
**Last updated:** [February 18, 2008, 12:12am UTC](https://www.ruby-forum.com/t/map-routes-from-an-array/129082 "2008-02-18T00:12:04Z")

</div>

I have a menu\_items array (array of hashes, with printed name and url for each item) in a helper, which i use to create my mainmenu. I’d like to use them in routes.rb so i can loop through them and map routes accordin…

---

## [Dynamic Finders don't give Exceptions? Or I can't get any](https://www.ruby-forum.com/t/dynamic-finders-dont-give-exceptions-or-i-cant-get-any/125700)

<div class="topic-metadata">

**Author:** [@theogb](https://www.ruby-forum.com/u/theogb)\
**Replies:** 3\
**Last updated:** [January 11, 2008, 9:37am UTC](https://www.ruby-forum.com/t/dynamic-finders-dont-give-exceptions-or-i-cant-get-any/125700 "2008-01-11T09:37:59Z")

</div>

Hi, This has been bugging me a bit. If I do the code: begin user = User.find(:id) rescue flash\[:notice\] = “Invalid ID” else rest of code end It works fine catching an invalid ID. However this code: begin user …

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

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