# Top

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

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

---

## [Update geometry field using SQL with ActiveRecord](https://www.ruby-forum.com/t/update-geometry-field-using-sql-with-activerecord/131321)

<div class="topic-metadata">

**Author:** [@Andrew\_Dubinsky](https://www.ruby-forum.com/u/Andrew_Dubinsky)\
**Replies:** 3\
**Last updated:** [March 10, 2008, 2:49am UTC](https://www.ruby-forum.com/t/update-geometry-field-using-sql-with-activerecord/131321 "2008-03-10T02:49:28Z")

</div>

I am trying to insert lat/long into mysql from a ruby object. Here is the method that mysql requires: “GeomFromText('POINT(35.211232 -111.613529))” So I need to insert this into the “geometry” field. The only way I ca…

---

## [SSL client Authentication](https://www.ruby-forum.com/t/ssl-client-authentication/231352)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 11, 2014, 1:43am UTC](https://www.ruby-forum.com/t/ssl-client-authentication/231352 "2014-08-11T01:43:26Z")

</div>

Hi !! I am using nginx as reverse proxy with HTTPS on both client side as well as server side . My ssl configuration looks like below :- ssl\_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; ssl\_ciphe…

---

## [ActiveRecord::StatementInvalid (OCIError: ORA-00001: unique constraint (xxxxxxxx) violated:](https://www.ruby-forum.com/t/activerecord-statementinvalid-ocierror-ora-00001-unique-constraint-xxxxxxxx-violated/232105)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [September 20, 2014, 6:14pm UTC](https://www.ruby-forum.com/t/activerecord-statementinvalid-ocierror-ora-00001-unique-constraint-xxxxxxxx-violated/232105 "2014-09-20T18:14:24Z")

</div>

Hello, I have developed a small RoR app(ruby 1.8.7, rails 2.1.0, rubygem 0.9.4) a few years ago and now I moved the app on Windows 2008 server. I have a weird issue that insert doesn’t work all the time. This is the …

---

## [B200 clock calibration](https://www.ruby-forum.com/t/b200-clock-calibration/241132)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 16, 2014, 10:27am UTC](https://www.ruby-forum.com/t/b200-clock-calibration/241132 "2014-05-16T10:27:37Z")

</div>

I try to get B200 to work with OpenBTS and I see some frequency offset in the internal reference clock. Does anyone know if the numbers I get from kalibrate, could cause phones not to be able to register to OpenBTS? …

---

## [Can't upload files \> 10Mb](https://www.ruby-forum.com/t/cant-upload-files-10mb/137725)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 5\
**Last updated:** [July 6, 2009, 5:23pm UTC](https://www.ruby-forum.com/t/cant-upload-files-10mb/137725 "2009-07-06T17:23:02Z")

</div>

I’ve got an app that I upload CSV files to. So far it’s worked flawlessly until yesterday. The CSV files have gotten progressively larger and yesterday they broke 10Mb. At this point Nginx logs an error that says: …

---

## [How to save german date text\_field in database](https://www.ruby-forum.com/t/how-to-save-german-date-text-field-in-database/168808)

<div class="topic-metadata">

**Author:** [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Replies:** 5\
**Last updated:** [May 26, 2009, 2:04pm UTC](https://www.ruby-forum.com/t/how-to-save-german-date-text-field-in-database/168808 "2009-05-26T14:04:06Z")

</div>

Hi Ruby Comunity! To display a database stored date like %Y-%m-%d into a text\_field with german format %d.%m.Y. is not so difficult. For conversion you can do something like \<%= f.text\_field :date\_test, :value =\> @…

---

## [\[Feature #819\] Caching Symbol#to\_proc](https://www.ruby-forum.com/t/feature-819-caching-symbol-to-proc/154738)

<div class="topic-metadata">

**Author:** [@Shumpei\_A](https://www.ruby-forum.com/u/Shumpei_A)\
**Replies:** 5\
**Last updated:** [December 4, 2008, 4:33pm UTC](https://www.ruby-forum.com/t/feature-819-caching-symbol-to-proc/154738 "2008-12-04T16:33:34Z")

</div>

Feature #819: Caching Symbol#to\_proc http://redmine.ruby-lang.org/issues/show/819 e$B5/I\<\<Te(B: Shumpei A. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Symbol#to\_proc e$B$GKh2s%\*%V%8%'%/%H$r@8@.$9$k$N$OL5BL$J5$$,$9$…

---

## [Problemas al actualizar registros](https://www.ruby-forum.com/t/problemas-al-actualizar-registros/129673)

<div class="topic-metadata">

**Author:** [@ValentSSS\_n\_Palacio](https://www.ruby-forum.com/u/ValentSSS_n_Palacio)\
**Replies:** 5\
**Last updated:** [February 20, 2008, 11:44pm UTC](https://www.ruby-forum.com/t/problemas-al-actualizar-registros/129673 "2008-02-20T23:44:54Z")

</div>

Buenas a todos de nuevo. Tengo un “pequeÃ±o” problema. Estoy migrando una aplicacion de Rails 1.2.x a 2.x. Os pongo en situacion para ver si me podeis ayudar. Tengo el plugin de restful\_authentication, al que le he a…

---

## [ORA-01858: a non-numeric character was found where a numeric was expected](https://www.ruby-forum.com/t/ora-01858-a-non-numeric-character-was-found-where-a-numeric-was-expected/115654)

<div class="topic-metadata">

**Author:** [@Bala](https://www.ruby-forum.com/u/Bala)\
**Replies:** 5\
**Last updated:** [September 27, 2007, 10:14am UTC](https://www.ruby-forum.com/t/ora-01858-a-non-numeric-character-was-found-where-a-numeric-was-expected/115654 "2007-09-27T10:14:25Z")

</div>

Hi Experts, When i execute this statement i got an error called ORA-01858 mobile\_number = ‘1234567890’ email = “removed\_email\_address@domain.invalid” secret\_question = “whats your name” secret\_answer = “crystal” da…

---

## [Gem install rails locally without Internet?](https://www.ruby-forum.com/t/gem-install-rails-locally-without-internet/63428)

<div class="topic-metadata">

**Author:** [@gaudimila](https://www.ruby-forum.com/u/gaudimila)\
**Replies:** 5\
**Last updated:** [June 15, 2006, 3:38pm UTC](https://www.ruby-forum.com/t/gem-install-rails-locally-without-internet/63428 "2006-06-15T15:38:00Z")

</div>

I’ve got a machine that cannot be connected to the Internet (think security precautions in a bank) and am thus trying to install rails using gem install rails-1.1.2.gem thinking this would work. It does not. I get …

---

## [Translate tag (I18n.t) in ruby on rails not having CSS formatting applied](https://www.ruby-forum.com/t/translate-tag-i18n-t-in-ruby-on-rails-not-having-css-formatting-applied/246217)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [September 17, 2013, 8:16am UTC](https://www.ruby-forum.com/t/translate-tag-i18n-t-in-ruby-on-rails-not-having-css-formatting-applied/246217 "2013-09-17T08:16:12Z")

</div>

Hello, I’ve got the following piece of code:- %section#download %h1= t “section.title” .content %p = I18n.t “section.first\_box.first” in name.html.erb file. But I noticed that the css formatting that would apply …

---

## [Query part included in location match after rewrite (bug or feature?)](https://www.ruby-forum.com/t/query-part-included-in-location-match-after-rewrite-bug-or-feature/236549)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [September 13, 2013, 4:51pm UTC](https://www.ruby-forum.com/t/query-part-included-in-location-match-after-rewrite-bug-or-feature/236549 "2013-09-13T16:51:52Z")

</div>

Hi, According to documentation, “location” matches only against URI path, ignoring query string. However, after “rewrite”, when using variables containing “?” character (like $request\_uri for illustration), query bec…

---

## [Reporting guidance](https://www.ruby-forum.com/t/reporting-guidance/225786)

<div class="topic-metadata">

**Author:** [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Replies:** 4\
**Last updated:** [January 30, 2013, 1:25am UTC](https://www.ruby-forum.com/t/reporting-guidance/225786 "2013-01-30T01:25:27Z")

</div>

Hi all, Anyone have any recommendations for reporting with jruby? I am looking into JasperReports but there does not seem to be any integration already out there to help with my cause. I am new to JasperReports. The…

---

## [Help using UCLA Zigbee PHY examples updated for UHD](https://www.ruby-forum.com/t/help-using-ucla-zigbee-phy-examples-updated-for-uhd/219771)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [May 16, 2012, 4:16pm UTC](https://www.ruby-forum.com/t/help-using-ucla-zigbee-phy-examples-updated-for-uhd/219771 "2012-05-16T16:16:21Z")

</div>

Hello all, I have been trying for some time now to run your code uhd\_cc2420\_rxtest.py with little success on USRP N200. I am using gnuradio 3.5 and Ubuntu 11.10. I get the messages and error below: mahboob@ubuntu:~/g…

---

## [Nginx recreating default configuration files](https://www.ruby-forum.com/t/nginx-recreating-default-configuration-files/217800)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 14, 2012, 1:50pm UTC](https://www.ruby-forum.com/t/nginx-recreating-default-configuration-files/217800 "2012-03-14T13:50:16Z")

</div>

I’m not sure how or why this happened, but nginx recreating the default configuration files in the conf.d directory. This caused it to attempt to bind to all interfaces on my server. Is there a way to prevent this f…

---

## [Chronic parsing date range in console but not in application in rails 3](https://www.ruby-forum.com/t/chronic-parsing-date-range-in-console-but-not-in-application-in-rails-3/215359)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 1, 2012, 8:29pm UTC](https://www.ruby-forum.com/t/chronic-parsing-date-range-in-console-but-not-in-application-in-rails-3/215359 "2012-01-01T20:29:55Z")

</div>

Hey all, Chronic will parse a date range in console: Chronic.parse(1/1/2011 - 1/1/2012, :guess =\> false) =\> 2012-01-01 12:00:00 -0500…2012-01-01 12:00:01 -0500 However, when I use logger to check if it’s parsing in a…

---

## [Rake migrate error: SQLexception](https://www.ruby-forum.com/t/rake-migrate-error-sqlexception/206510)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 3, 2011, 3:00pm UTC](https://www.ruby-forum.com/t/rake-migrate-error-sqlexception/206510 "2011-05-03T15:00:38Z")

</div>

When i try to migrate my db, it gives the following error: \*\* Invoke db:migrate (first\_time) \*\* Invoke environment (first\_time) \*\* Execute environment rake aborted! SQLite3::SQLException: no such table: users: SELEC…

---

## [Automatically get a list of controller names](https://www.ruby-forum.com/t/automatically-get-a-list-of-controller-names/161514)

<div class="topic-metadata">

**Author:** [@ramontayag](https://www.ruby-forum.com/u/ramontayag)\
**Replies:** 4\
**Last updated:** [August 21, 2009, 8:51pm UTC](https://www.ruby-forum.com/t/automatically-get-a-list-of-controller-names/161514 "2009-08-21T20:51:11Z")

</div>

Okay, just a follow up question: is there an automatic way to make an array of all controller names? So that I could use this in the user model to validate the user doesn’t type in any of the controller names. (This…

---

## [Import problems with some classes](https://www.ruby-forum.com/t/import-problems-with-some-classes/148284)

<div class="topic-metadata">

**Author:** [@nguyenlinh](https://www.ruby-forum.com/u/nguyenlinh)\
**Replies:** 4\
**Last updated:** [September 11, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/import-problems-with-some-classes/148284 "2008-09-11T16:55:50Z")

</div>

I’m using JRuby 1.1.4 to test my Java code but I have problems importing some classes that I know exist in the required jar file. I have the following code: require ‘java’ require ‘\<my\_path\>/dbunit-2.2.3.jar’ impor…

---

## [Cover a directory and put all the stuff in a TreeView](https://www.ruby-forum.com/t/cover-a-directory-and-put-all-the-stuff-in-a-treeview/137378)

<div class="topic-metadata">

**Author:** [@focdesoc](https://www.ruby-forum.com/u/focdesoc)\
**Replies:** 4\
**Last updated:** [May 12, 2008, 5:49pm UTC](https://www.ruby-forum.com/t/cover-a-directory-and-put-all-the-stuff-in-a-treeview/137378 "2008-05-12T17:49:23Z")

</div>

Hi, I would like to make the following script in ruby: Given a directory, for example /home, I would like to take ALL the subdirectories and files that are inside /home, and put them in a TreeView structure (from Rub…

---

## [Help! log phase is not executed due to r-\>count being non-zero](https://www.ruby-forum.com/t/help-log-phase-is-not-executed-due-to-r-count-being-non-zero/232472)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [October 13, 2014, 8:43pm UTC](https://www.ruby-forum.com/t/help-log-phase-is-not-executed-due-to-r-count-being-non-zero/232472 "2014-10-13T20:43:38Z")

</div>

Hey all, I’m writing an authentication module that is structurally very similar to ngx\_http\_auth\_request\_module (https://github.com/PiotrSikora/ngx\_http\_auth\_request\_module/blob/master/ngx\_http\_auth\_request\_module.c)…

---

## [Can you portably store infinity via AR?](https://www.ruby-forum.com/t/can-you-portably-store-infinity-via-ar/203019)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 11, 2011, 9:58pm UTC](https://www.ruby-forum.com/t/can-you-portably-store-infinity-via-ar/203019 "2011-02-11T21:58:16Z")

</div>

Hi: The gist of my question: is there a way to portably store and retrieve Infinity in an ActiveRecord float column? Following is an amusing saga, but it doesn’t really answer the question. Step 1: As was mentioned i…

---

## [Rdiscount Deadlock!](https://www.ruby-forum.com/t/rdiscount-deadlock/171785)

<div class="topic-metadata">

**Author:** [@mka](https://www.ruby-forum.com/u/mka)\
**Replies:** 6\
**Last updated:** [July 20, 2009, 3:49pm UTC](https://www.ruby-forum.com/t/rdiscount-deadlock/171785 "2009-07-20T15:49:58Z")

</div>

rdiscount-1.3.1.1 is uninstallable on solaris root@dcb0:/opt/gitorious# gem install rdiscount -v 1.3.1.1 Building native extensions. This could take a while… ERROR: Error installing rdiscount: ERROR: Failed to bui…

---

## [Deutsche Monats- und Tagesnamen](https://www.ruby-forum.com/t/deutsche-monats-und-tagesnamen/119619)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 6\
**Last updated:** [November 8, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/deutsche-monats-und-tagesnamen/119619 "2007-11-08T17:50:10Z")

</div>

Hallo, kann mir bitte jemand sagen: ob / wie es mÃ¶glich ist, die Array MONTHNAMES, DAYNAMES, ABBR\_MONTHNAMES, DAYNAMES der Klasse Date mit deutschen Namen zu Ã¼berschreiben? ob das dann in Folge auch dazu fÃ¼hr…

---

## [Sample ruby program to talk to an exchange server](https://www.ruby-forum.com/t/sample-ruby-program-to-talk-to-an-exchange-server/191384)

<div class="topic-metadata">

**Author:** [@laguna53](https://www.ruby-forum.com/u/laguna53)\
**Replies:** 8\
**Last updated:** [July 15, 2010, 10:26pm UTC](https://www.ruby-forum.com/t/sample-ruby-program-to-talk-to-an-exchange-server/191384 "2010-07-15T22:26:27Z")

</div>

Hi, I’m looking for a sample programm to test the communication with an exchange server - connect, inquire data, add data, delete entry … I was asked to check these possibilities but have no ruby experience. Would ver…

---

## [Form helpers don't seem to work with RJS files](https://www.ruby-forum.com/t/form-helpers-dont-seem-to-work-with-rjs-files/189314)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 8\
**Last updated:** [May 28, 2010, 11:50pm UTC](https://www.ruby-forum.com/t/form-helpers-dont-seem-to-work-with-rjs-files/189314 "2010-05-28T23:50:02Z")

</div>

Iâ€™ve been spending a great deal of time chasing this problem. Hopefully someone sees something obvious Iâ€™m doing wrong. Basically anytime I try to call fields\_for from an RJS file or within a partial in the RJS fil…

---

## [Error executing specs using Ruby 1.9.1p243 and RSpec 1.2.9](https://www.ruby-forum.com/t/error-executing-specs-using-ruby-1-9-1p243-and-rspec-1-2-9/178461)

<div class="topic-metadata">

**Author:** [@conz](https://www.ruby-forum.com/u/conz)\
**Replies:** 8\
**Last updated:** [November 24, 2009, 5:43am UTC](https://www.ruby-forum.com/t/error-executing-specs-using-ruby-1-9-1p243-and-rspec-1-2-9/178461 "2009-11-24T05:43:03Z")

</div>

Hi, ‘rake spec’ failed to run on Ruby 1.9.1p243 and RSpec 1.2.9. I’m getting the following error message when I run the specs: /opt/local/lib/ruby/gems/1.9.1/gems/rspec-1.2.9/spec/spec/runner/ option\_parser\_spec.rb:2…

---

## [Crypto in Rails 2.x?](https://www.ruby-forum.com/t/crypto-in-rails-2-x/162469)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 8\
**Last updated:** [March 11, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/crypto-in-rails-2-x/162469 "2009-03-11T19:49:48Z")

</div>

I need to encrypt some items in the database in a rails app. I tried using the old “sentry” gem, but it doesn’t seem to be surviving Rails 2. The stuff I found for Active Crypto on the web appeared to be many years o…

---

## [Password protection part of a radiant web site](https://www.ruby-forum.com/t/password-protection-part-of-a-radiant-web-site/81660)

<div class="topic-metadata">

**Author:** [@luigi](https://www.ruby-forum.com/u/luigi)\
**Replies:** 8\
**Last updated:** [September 25, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/password-protection-part-of-a-radiant-web-site/81660 "2007-09-25T22:52:11Z")

</div>

Hello. Is there any working solution made available by the radiant development/user community to password protect a part of a radiant-based web site? Unluckily it seems the password\_protected behavior doesn’t work wi…

---

## [\[0.10.0\] Index#search is not thread safe?](https://www.ruby-forum.com/t/0-10-0-index-search-is-not-thread-safe/66528)

<div class="topic-metadata">

**Author:** [@pyros](https://www.ruby-forum.com/u/pyros)\
**Replies:** 8\
**Last updated:** [September 1, 2006, 3:48pm UTC](https://www.ruby-forum.com/t/0-10-0-index-search-is-not-thread-safe/66528 "2006-09-01T15:48:24Z")

</div>

This script (Parked at Loopia) give this result : “1” “0” “0” “0” Why the other thread does not have the same result ? Maybe, it’s not the correct way to use the index in a multi threaded environement but I don’t …

---

## [Ruby Hacking Guide - New chapters (and a bonus)](https://www.ruby-forum.com/t/ruby-hacking-guide-new-chapters-and-a-bonus/93632)

<div class="topic-metadata">

**Author:** [@Vincent\_I](https://www.ruby-forum.com/u/Vincent_I)\
**Replies:** 8\
**Last updated:** [April 7, 2006, 12:03pm UTC](https://www.ruby-forum.com/t/ruby-hacking-guide-new-chapters-and-a-bonus/93632 "2006-04-07T12:03:37Z")

</div>

Hi everyone, Here they are, translations of chapter 3, 4 and 6 of the Ruby Hacking Guide! We know the translation is far from being perfect, and we welcome any correction on the text or diagrams of any chapter (even …

---

## [Nginx fails to start - nginx.service not found](https://www.ruby-forum.com/t/nginx-fails-to-start-nginx-service-not-found/234662)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 22, 2015, 11:04pm UTC](https://www.ruby-forum.com/t/nginx-fails-to-start-nginx-service-not-found/234662 "2015-03-22T23:04:03Z")

</div>

i just built the latest mainline nginx from source on fedora 21 (64bit) and when i run: service nginx start i see: Redirecting to /bin/systemctl start nginx.service Failed to start nginx.service: Unit nginx.service…

---

## [RSpec, shoulda-matchers and Rails model attributes validations](https://www.ruby-forum.com/t/rspec-shoulda-matchers-and-rails-model-attributes-validations/210025)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 28, 2011, 9:13pm UTC](https://www.ruby-forum.com/t/rspec-shoulda-matchers-and-rails-model-attributes-validations/210025 "2011-07-28T21:13:21Z")

</div>

I was trying out RSpec framework in a project and got stopped doing the unit test of a model. In particular, doing the test for the associations and the ActiveRecord validations. I started writing the validations bu…

---

## [RoR view question: pre-selecting radio box](https://www.ruby-forum.com/t/ror-view-question-pre-selecting-radio-box/209246)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 9, 2011, 6:27am UTC](https://www.ruby-forum.com/t/ror-view-question-pre-selecting-radio-box/209246 "2011-07-09T06:27:57Z")

</div>

Hello all, I’m fairly new to rails. I have a view question that involves, I presume, javascript. I have two images, one is a LIKE and one is a DISLIKE image. I want to have one selected by default, the value of which …

---

## [Duplicate Gallery Images in Lightbox](https://www.ruby-forum.com/t/duplicate-gallery-images-in-lightbox/158697)

<div class="topic-metadata">

**Author:** [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Replies:** 2\
**Last updated:** [January 28, 2009, 5:15am UTC](https://www.ruby-forum.com/t/duplicate-gallery-images-in-lightbox/158697 "2009-01-28T05:15:50Z")

</div>

Hi all, I have a gallery with 7 images using Pilu’s Gallery extension. The images are displayed properly as thumbnails on the page, but when a Lightbox window is opened, the description information says “Image xx of …

---

## [Wxruby example with more than one window](https://www.ruby-forum.com/t/wxruby-example-with-more-than-one-window/150316)

<div class="topic-metadata">

**Author:** [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Replies:** 2\
**Last updated:** [October 13, 2008, 9:52am UTC](https://www.ruby-forum.com/t/wxruby-example-with-more-than-one-window/150316 "2008-10-13T09:52:59Z")

</div>

Hello together, can somebody send me a example with more than one window (frame) ? I’m using wxruby 1.9.5 I have the following problem: from the first window i open the second window (which contains a grid, with Ta…

---

## [Debugging ActiveRecord.save failure](https://www.ruby-forum.com/t/debugging-activerecord-save-failure/145328)

<div class="topic-metadata">

**Author:** [@Aaron\_T](https://www.ruby-forum.com/u/Aaron_T)\
**Replies:** 2\
**Last updated:** [August 8, 2008, 11:03pm UTC](https://www.ruby-forum.com/t/debugging-activerecord-save-failure/145328 "2008-08-08T23:03:31Z")

</div>

Trying to debug a ActiveRecord problem with creating new records: a = Appliance.new(:serial =\> ‘0105-0000-0000-aaaa’) =\> #\<Appliance id: nil, serial: “0105-0000-0000-aaaa”, kickstart\_times: 0, first\_kickstart\_date: …

---

## [Before\_filter halts chain but won't perform redirect\_to properly](https://www.ruby-forum.com/t/before-filter-halts-chain-but-wont-perform-redirect-to-properly/135487)

<div class="topic-metadata">

**Author:** [@Dion\_H](https://www.ruby-forum.com/u/Dion_H)\
**Replies:** 2\
**Last updated:** [April 23, 2008, 1:48am UTC](https://www.ruby-forum.com/t/before-filter-halts-chain-but-wont-perform-redirect-to-properly/135487 "2008-04-23T01:48:11Z")

</div>

I have implemented a simple admin before filter like the one shown on railscasts.com at #20 Restricting Access - RailsCasts & #21 Super Simple Authentication - RailsCasts but I find that the redirect\_to in my authoriz…

---

## [Add namespace to the SOAP Body and Header](https://www.ruby-forum.com/t/add-namespace-to-the-soap-body-and-header/105884)

<div class="topic-metadata">

**Author:** [@David\_Alphen](https://www.ruby-forum.com/u/David_Alphen)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 1:58pm UTC](https://www.ruby-forum.com/t/add-namespace-to-the-soap-body-and-header/105884 "2007-06-05T13:58:52Z")

</div>

Hi, I’m trying to add a namespace to the SOAP Body and Header. I send the request: \<?xml version="1.0" encoding="utf-8" ?\> \<env:Envelope xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:env=“http://schemas.xmlsoap.…

---

## [Update attributes for multiple objects](https://www.ruby-forum.com/t/update-attributes-for-multiple-objects/66467)

<div class="topic-metadata">

**Author:** [@Matthias\_von\_Rohr](https://www.ruby-forum.com/u/Matthias_von_Rohr)\
**Replies:** 2\
**Last updated:** [August 26, 2006, 4:34pm UTC](https://www.ruby-forum.com/t/update-attributes-for-multiple-objects/66467 "2006-08-26T16:34:49Z")

</div>

Hi everyone, I’ve been thinking and googling about this for the whole afternoon and I dont find the solution, but I know there must be an easy way (after all this is rails): I have a page where user objects are list…

---

## [ActiveRecord dynamic attribute methods](https://www.ruby-forum.com/t/activerecord-dynamic-attribute-methods/202349)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 27, 2011, 6:38pm UTC](https://www.ruby-forum.com/t/activerecord-dynamic-attribute-methods/202349 "2011-01-27T18:38:03Z")

</div>

in a project we are enforcing permissions by wrapping active record objects and arrays of ar objects in a proxy class. this proxy class is a BasicObject that uses #method\_missing to send methods to a target (the ar ob…

---

## [Can't install sqlite3 on Windows XP: Please Help!](https://www.ruby-forum.com/t/cant-install-sqlite3-on-windows-xp-please-help/184404)

<div class="topic-metadata">

**Author:** [@vaughajj](https://www.ruby-forum.com/u/vaughajj)\
**Replies:** 7\
**Last updated:** [March 2, 2010, 9:08pm UTC](https://www.ruby-forum.com/t/cant-install-sqlite3-on-windows-xp-please-help/184404 "2010-03-02T21:08:56Z")

</div>

I am trying to install ruby on windows with gem sqlite3 version 1.2.3 I have followed all the instructions here: http://wiki.devchix.com/index.php?title=Server\_2003 and get stuck on the sqlite install: here is the err…

---

## [Clases con el mismo nombre](https://www.ruby-forum.com/t/clases-con-el-mismo-nombre/166353)

<div class="topic-metadata">

**Author:** [@xurdekio](https://www.ruby-forum.com/u/xurdekio)\
**Replies:** 7\
**Last updated:** [April 29, 2009, 4:34pm UTC](https://www.ruby-forum.com/t/clases-con-el-mismo-nombre/166353 "2009-04-29T16:34:14Z")

</div>

Buenas, hoy nos hemos encontrado con un problema usando dos gemas de excel. Usamos una para leer informes y otra para generarlos. El problema es que ambas gemas tienen una clase Excel definida… Existe alguna manera d…

---

## [How to create a sitemap.xml?](https://www.ruby-forum.com/t/how-to-create-a-sitemap-xml/157670)

<div class="topic-metadata">

**Author:** [@olliebollie](https://www.ruby-forum.com/u/olliebollie)\
**Replies:** 1\
**Last updated:** [January 14, 2009, 1:26pm UTC](https://www.ruby-forum.com/t/how-to-create-a-sitemap-xml/157670 "2009-01-14T13:26:14Z")

</div>

Hi all, is there a way one can generate a sitemap.xml for google in Rails? Is it similar to generating xml.rss? (Rails 2.2.2) Thank you, Rollie.

---

## [Convert html to plain text in ruby](https://www.ruby-forum.com/t/convert-html-to-plain-text-in-ruby/149989)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [October 2, 2008, 8:27pm UTC](https://www.ruby-forum.com/t/convert-html-to-plain-text-in-ruby/149989 "2008-10-02T20:27:25Z")

</div>

Hi, I’m looking for a way to convert html to plain text. Now, I know about strip\_tags, but - as the name says - that only strips the tags. What I need is to get stuff like & and \< back to & and \< too. Any help? Tha…

---

## [Mailer Extension](https://www.ruby-forum.com/t/mailer-extension/112284)

<div class="topic-metadata">

**Author:** [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Replies:** 7\
**Last updated:** [September 18, 2008, 5:25pm UTC](https://www.ruby-forum.com/t/mailer-extension/112284 "2008-09-18T17:25:02Z")

</div>

Hi All, I just tried to install the ‘mailer’ extension using the instructions located at =\> http://wiki.radiantcms.org/Extensions The extension mailer was supposedly located at =\> http://dev.radiantcms.org/radiant/b…

---

## [Don't save fixtures into database](https://www.ruby-forum.com/t/dont-save-fixtures-into-database/137979)

<div class="topic-metadata">

**Author:** [@mr\_tibs](https://www.ruby-forum.com/u/mr_tibs)\
**Replies:** 7\
**Last updated:** [May 20, 2008, 12:12am UTC](https://www.ruby-forum.com/t/dont-save-fixtures-into-database/137979 "2008-05-20T00:12:38Z")

</div>

Hi, I’m using RSpec on Rails and it seems that my fixtures are saved into the database. I don’t want that. Does the fixtures call take any parameters to don’t commit the examples to the database? I can’t find the doc…

---

## [How to Validate Uniqueness Of a Record within Date Range](https://www.ruby-forum.com/t/how-to-validate-uniqueness-of-a-record-within-date-range/137160)

<div class="topic-metadata">

**Author:** [@ror\_arch](https://www.ruby-forum.com/u/ror_arch)\
**Replies:** 1\
**Last updated:** [May 9, 2008, 6:20pm UTC](https://www.ruby-forum.com/t/how-to-validate-uniqueness-of-a-record-within-date-range/137160 "2008-05-09T18:20:15Z")

</div>

I would like to validate the uniqueness of a record within a date range. For example : I want a customer attached to a post office within a date range arrives(date) and departs (date). So this is ok: customer1; posto…

---

## [Help need in chat client/server](https://www.ruby-forum.com/t/help-need-in-chat-client-server/134749)

<div class="topic-metadata">

**Author:** [@HadsS](https://www.ruby-forum.com/u/HadsS)\
**Replies:** 7\
**Last updated:** [April 15, 2008, 3:56pm UTC](https://www.ruby-forum.com/t/help-need-in-chat-client-server/134749 "2008-04-15T15:56:23Z")

</div>

Hey… Im new to this network programmin and I need help with this code i copied and changed a little. this is a client/server chat… Server code: require “socket” PORT = 12321 server = TCPServer.new(PORT) flag=true …

---

## [Syntax error when defining index setter \[\]=](https://www.ruby-forum.com/t/syntax-error-when-defining-index-setter/48767)

<div class="topic-metadata">

**Author:** [@jchris](https://www.ruby-forum.com/u/jchris)\
**Replies:** 7\
**Last updated:** [November 25, 2005, 8:41am UTC](https://www.ruby-forum.com/t/syntax-error-when-defining-index-setter/48767 "2005-11-25T08:41:57Z")

</div>

Hi, I’m trying to write some convenience methods for one of my classes. My class has an array of objects, each of which points to another object that I am interested in. (I’m describing an Active Record has\_many rela…

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

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