# Top

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

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

---

## [How to fix sql injection my code](https://www.ruby-forum.com/t/how-to-fix-sql-injection-my-code/263963)

<div class="topic-metadata">

**Author:** [@khoalarion](https://www.ruby-forum.com/u/khoalarion)\
**Replies:** 2\
**Last updated:** [June 12, 2023, 6:24am UTC](https://www.ruby-forum.com/t/how-to-fix-sql-injection-my-code/263963 "2023-06-12T06:24:59Z")

</div>

My code is ActiveRecord::Base.connection.execute(“DROP TABLE #{tmp\_table}”) When I scan brakeman, I got warning Possible SQL injection Please help me fix it

---

## [Drupal 7 and Coldfusion Proxy](https://www.ruby-forum.com/t/drupal-7-and-coldfusion-proxy/244787)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 15, 2016, 12:11am UTC](https://www.ruby-forum.com/t/drupal-7-and-coldfusion-proxy/244787 "2016-06-15T00:11:45Z")

</div>

Good morning everyone! I have an issue that I am hoping is just a simple error on my part and the collective wisdom of the gurus here might solve it. My setup : RHEL 7, Nginx 1.10, PHP 7 and Drupal 7 My issue : try…

---

## [Get the current user as Json with Devise](https://www.ruby-forum.com/t/get-the-current-user-as-json-with-devise/210099)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 30, 2011, 5:21pm UTC](https://www.ruby-forum.com/t/get-the-current-user-as-json-with-devise/210099 "2011-07-30T17:21:18Z")

</div>

Hi! I use Devise and Basic HTTP Authentication to access user areas from a mobile app. When the user enters its details in the app and it tries to “login” (you don’t actually login with basic auth as you send the cre…

---

## [Question: Array of complex numbers as input](https://www.ruby-forum.com/t/question-array-of-complex-numbers-as-input/126551)

<div class="topic-metadata">

**Author:** [@jasonallen](https://www.ruby-forum.com/u/jasonallen)\
**Replies:** 2\
**Last updated:** [January 19, 2008, 9:26pm UTC](https://www.ruby-forum.com/t/question-array-of-complex-numbers-as-input/126551 "2008-01-19T21:26:11Z")

</div>

Hi again! I am trying to make a signal processing block that uses an array of complex numbers at its input. I was just wondering whether &input\_items can support this. I was told that the &input\_items are simply “pla…

---

## [Uninitialized constant MiniMagic (NameError)](https://www.ruby-forum.com/t/uninitialized-constant-minimagic-nameerror/111748)

<div class="topic-metadata">

**Author:** [@pradeep](https://www.ruby-forum.com/u/pradeep)\
**Replies:** 2\
**Last updated:** [August 13, 2007, 9:23am UTC](https://www.ruby-forum.com/t/uninitialized-constant-minimagic-nameerror/111748 "2007-08-13T09:23:14Z")

</div>

Hi, Mini-Magick breaking. I have installed mini-magick gem. Here is my sample program require ‘rubygems’ gem ‘mini\_magick’ include minimagick image = MiniMagick::Image.from\_file(’./fun.jpg’) image.resize “100x100” …

---

## [Uninitialized constant Product](https://www.ruby-forum.com/t/uninitialized-constant-product/78237)

<div class="topic-metadata">

**Author:** [@Tom\_Coady](https://www.ruby-forum.com/u/Tom_Coady)\
**Replies:** 2\
**Last updated:** [December 10, 2006, 1:16am UTC](https://www.ruby-forum.com/t/uninitialized-constant-product/78237 "2006-12-10T01:16:24Z")

</div>

I am actually following the instructions/code snippets from “Agile Web Development with Rails” and got as far as page 73 where I did ruby script/generate controller Store index, then edited store\_controller.rb to cla…

---

## [Acts\_as\_list with 2 fields in the scope](https://www.ruby-forum.com/t/acts-as-list-with-2-fields-in-the-scope/48846)

<div class="topic-metadata">

**Author:** [@thomas.tmp](https://www.ruby-forum.com/u/thomas.tmp)\
**Replies:** 2\
**Last updated:** [December 1, 2005, 3:48pm UTC](https://www.ruby-forum.com/t/acts-as-list-with-2-fields-in-the-scope/48846 "2005-12-01T15:48:46Z")

</div>

Hi Railers, I’ve got a Categories table. I want it to act as a list within the scope of the parent\_id AND the site\_id. Categories table : id label site\_id parent\_id So, in my Category class, I have : acts\_as\_li…

---

## [How crypt works](https://www.ruby-forum.com/t/how-crypt-works/216595)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 9, 2012, 12:51am UTC](https://www.ruby-forum.com/t/how-crypt-works/216595 "2012-02-09T00:51:24Z")

</div>

Hi, can anybody gimme a example how crypt works with ruby, could not find anything anywhere, just this info below, however I get all kind of errors with my tries: Where I’m failing??? Tx Dai irb(main):011:0\* “the\_s…

---

## [Nginx forward prxoy problem when header contains 'Proxy-Connection: keep-alive'](https://www.ruby-forum.com/t/nginx-forward-prxoy-problem-when-header-contains-proxy-connection-keep-alive/190476)

<div class="topic-metadata">

**Author:** [@xuzheng](https://www.ruby-forum.com/u/xuzheng)\
**Replies:** 4\
**Last updated:** [June 21, 2010, 6:11pm UTC](https://www.ruby-forum.com/t/nginx-forward-prxoy-problem-when-header-contains-proxy-connection-keep-alive/190476 "2010-06-21T18:11:12Z")

</div>

hi, when i use nginx as a forward prxoy, some page can not be downloaded successfully. example: http\_proxy=ip:port wget -O test.html http://s1.ganjistatic1.com/css/base\_ue3\_house.\_\_1276756225\_\_.css--header='Proxy-Con…

---

## [Problems with table name quoting in ActiveRecord-JDBC-Adapter \> 0.9.0](https://www.ruby-forum.com/t/problems-with-table-name-quoting-in-activerecord-jdbc-adapter-0-9-0/178422)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [November 5, 2009, 9:25am UTC](https://www.ruby-forum.com/t/problems-with-table-name-quoting-in-activerecord-jdbc-adapter-0-9-0/178422 "2009-11-05T09:25:25Z")

</div>

Hello, I’m running a Rails 2.2.2 application on an Oracle database. To access tables in a different schema without public synonyms we have defined our model classes like this: class SKey \< ActiveRecord::Base set\_tab…

---

## [Segmentation fault](https://www.ruby-forum.com/t/segmentation-fault/164196)

<div class="topic-metadata">

**Author:** [@andresgutgon](https://www.ruby-forum.com/u/andresgutgon)\
**Replies:** 4\
**Last updated:** [March 29, 2009, 10:29pm UTC](https://www.ruby-forum.com/t/segmentation-fault/164196 "2009-03-29T22:29:25Z")

</div>

Hola. Hoy mismo he instalado de nuevo mi Ruby. Ahora tengo esta versiÃ³n en: /opt/ruby/bin/ruby ruby 1.8.6 (2008-06-20 patchlevel 230) \[i686-darwin9.6.0\] Tengo rails 2.3.2 y 2.2.2 Arranco una App que tengo para que …

---

## [Language parameters gem calendar\_date\_select](https://www.ruby-forum.com/t/language-parameters-gem-calendar-date-select/162926)

<div class="topic-metadata">

**Author:** [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Replies:** 4\
**Last updated:** [March 18, 2009, 1:35am UTC](https://www.ruby-forum.com/t/language-parameters-gem-calendar-date-select/162926 "2009-03-18T01:35:59Z")

</div>

Hi Ruby Community! I use the gem CalendarDateSelect with RoR 2.2.2. Everything works fine when I use the default date-format. In environment.rb I made the gem-dependency-entry: config.gem "calendar\_date\_select" Bu…

---

## [Ruby Tk and X/Y coordinates](https://www.ruby-forum.com/t/ruby-tk-and-x-y-coordinates/154469)

<div class="topic-metadata">

**Author:** [@newrubynewbie](https://www.ruby-forum.com/u/newrubynewbie)\
**Replies:** 4\
**Last updated:** [December 1, 2008, 8:52am UTC](https://www.ruby-forum.com/t/ruby-tk-and-x-y-coordinates/154469 "2008-12-01T08:52:21Z")

</div>

Hi everyone, I’m totally new to Ruby…I was wondering if anyone could help me out with a little problem I’m having. I want to be able to draw X/Y coordinates on my screen using Tk library. I tried to decipher the doc…

---

## [How to add Asia token analyzer to ferret simply?](https://www.ruby-forum.com/t/how-to-add-asia-token-analyzer-to-ferret-simply/97447)

<div class="topic-metadata">

**Author:** [@charlie](https://www.ruby-forum.com/u/charlie)\
**Replies:** 4\
**Last updated:** [July 7, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/how-to-add-asia-token-analyzer-to-ferret-simply/97447 "2006-07-07T14:18:16Z")

</div>

Hi,David Can you give me an example of how to add analyzer to ferret to Asian languages? My web application will have to support multi language search,which means,for example,both Chinese and English will be searched…

---

## [Nginx crash - possibly keepalives](https://www.ruby-forum.com/t/nginx-crash-possibly-keepalives/212731)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [October 20, 2011, 12:12am UTC](https://www.ruby-forum.com/t/nginx-crash-possibly-keepalives/212731 "2011-10-20T00:12:46Z")

</div>

Hi all, After turning on keepalives, we’ve been seeing one crash pretty consistently. We’re running nginx 1.1.5 and here is the backtrace : (gdb) bt #0 ngx\_write\_chain\_to\_file (file=0x173dbd0, cl=0x0, offset=26779, …

---

## [\[ANN\] Detective - a new ruby gem](https://www.ruby-forum.com/t/ann-detective-a-new-ruby-gem/179299)

<div class="topic-metadata">

**Author:** [@aelshafee](https://www.ruby-forum.com/u/aelshafee)\
**Replies:** 8\
**Last updated:** [November 23, 2009, 8:26am UTC](https://www.ruby-forum.com/t/ann-detective-a-new-ruby-gem/179299 "2009-11-23T08:26:32Z")

</div>

Detective is a new gem build by BadrIT (www.badrit.com) to investigate the ruby source code. Example View the source of a class method … require ‘detective’ Detective.view\_source(‘ActiveRecord::Base.find\_by\_sql’) R…

---

## [Error\_log cannot be reopened when kill a USR1 signal](https://www.ruby-forum.com/t/error-log-cannot-be-reopened-when-kill-a-usr1-signal/176970)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 8\
**Last updated:** [October 10, 2009, 8:55am UTC](https://www.ruby-forum.com/t/error-log-cannot-be-reopened-when-kill-a-usr1-signal/176970 "2009-10-10T08:55:51Z")

</div>

\[root@tupian\_web logs\]# ls -l /proc/cat nginx.pid/fd total 15 lrwx------ 1 root root 64 Oct 9 11:08 0 -\> /dev/null lrwx------ 1 root root 64 Oct 9 11:08 1 -\> /dev/null lrwx------ 1 root root 64 Oct 9 11:08 10 -\>…

---

## [GNU Radio release 3.2.2 available for download](https://www.ruby-forum.com/t/gnu-radio-release-3-2-2-available-for-download/172115)

<div class="topic-metadata">

**Author:** [@jconley](https://www.ruby-forum.com/u/jconley)\
**Replies:** 8\
**Last updated:** [July 18, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/gnu-radio-release-3-2-2-available-for-download/172115 "2009-07-18T15:36:14Z")

</div>

GNU Radio version 3.2.2 has been released. This release contains important bug fixes. In particular, the broken examples in the digital example directory have been fixed, and the missing files from the binary packag…

---

## [Sodoku-Generator](https://www.ruby-forum.com/t/sodoku-generator/70566)

<div class="topic-metadata">

**Author:** [@Meino\_Christian\_C](https://www.ruby-forum.com/u/Meino_Christian_C)\
**Replies:** 8\
**Last updated:** [February 21, 2006, 8:35pm UTC](https://www.ruby-forum.com/t/sodoku-generator/70566 "2006-02-21T20:35:33Z")

</div>

Hi, with Google I found a Quiz about a Sodoku-solver, but I didn’t find a Sodoku generator. Also RAA and RubyForge did not list one. Is there any out there ? May be one, which also generated a solution for the genera…

---

## [SDRA, Programme complete](https://www.ruby-forum.com/t/sdra-programme-complete/242120)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 31, 2015, 5:48pm UTC](https://www.ruby-forum.com/t/sdra-programme-complete/242120 "2015-05-31T17:48:08Z")

</div>

Dear List, please note that the programme of the SDRA-2015 is now complete. We have also finalized the timetable now. I’ll be happy to welcome many of you at Friedrichshafen! The SDRA will take place on June 27. v…

---

## [Update Channel coding toolbox to Gnuradio 3.7.0](https://www.ruby-forum.com/t/update-channel-coding-toolbox-to-gnuradio-3-7-0/230591)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 5\
**Last updated:** [June 28, 2014, 4:45pm UTC](https://www.ruby-forum.com/t/update-channel-coding-toolbox-to-gnuradio-3-7-0/230591 "2014-06-28T16:45:07Z")

</div>

Deal all, Does anyone update the Channel Coding (https://www.cgran.org/wiki/chancoding) toolbox so that it can work in Gnuradio 3.7.0? I did try to install this toolbox. The installation was done but it do not appe…

---

## [Sup 0.7 released](https://www.ruby-forum.com/t/sup-0-7-released/163859)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 5\
**Last updated:** [March 27, 2009, 1:42pm UTC](https://www.ruby-forum.com/t/sup-0-7-released/163859 "2009-03-27T13:42:38Z")

</div>

I’m happy to announce the release of Sup 0.7. The big win in this release is that Ferret index corruption issues should now be fixed, thanks to an extensive programming of locking and thread-safety-adding. The other …

---

## [Radiant on eApps](https://www.ruby-forum.com/t/radiant-on-eapps/76392)

<div class="topic-metadata">

**Author:** [@Brian\_Sam-Bodden](https://www.ruby-forum.com/u/Brian_Sam-Bodden)\
**Replies:** 5\
**Last updated:** [March 13, 2009, 2:25pm UTC](https://www.ruby-forum.com/t/radiant-on-eapps/76392 "2009-03-13T14:25:04Z")

</div>

Hi, Has anybody succesfully configured Radiant on an eapps.com VPS? I have a horrible time following the instructions at http://support.eapps.com/index.php?\_m=knowledgebase&\_a=viewarticle&kbarticleid=108 I just can’t…

---

## [Nginx with broken library zlib1g-dev for SSL on Debian 40r6](https://www.ruby-forum.com/t/nginx-with-broken-library-zlib1g-dev-for-ssl-on-debian-40r6/159101)

<div class="topic-metadata">

**Author:** [@raimon](https://www.ruby-forum.com/u/raimon)\
**Replies:** 5\
**Last updated:** [February 1, 2009, 10:22am UTC](https://www.ruby-forum.com/t/nginx-with-broken-library-zlib1g-dev-for-ssl-on-debian-40r6/159101 "2009-02-01T10:22:28Z")

</div>

Hello, I’ve had installed nginx on OS X without any problem, but I’m totally lost trying to install it on a Debain 40r6 on i386 The Kernel is: Code: debian:/tmp/nginx-0.6.35# uname -r 2.6.18-6-686 I don’t know how…

---

## [Installation Trouble](https://www.ruby-forum.com/t/installation-trouble/123653)

<div class="topic-metadata">

**Author:** [@hailandkill](https://www.ruby-forum.com/u/hailandkill)\
**Replies:** 5\
**Last updated:** [December 20, 2007, 4:30am UTC](https://www.ruby-forum.com/t/installation-trouble/123653 "2007-12-20T04:30:33Z")

</div>

Hey all, I’m new to BDD and rspec, but I am very intrigued. I tried installing rspec and rspec\_on\_rails into my Rails app, but I am having some trouble. I chose to install both as plugins, as the documentation sugges…

---

## [Railish icons?](https://www.ruby-forum.com/t/railish-icons/95759)

<div class="topic-metadata">

**Author:** [@sshingler](https://www.ruby-forum.com/u/sshingler)\
**Replies:** 5\
**Last updated:** [June 12, 2006, 11:41pm UTC](https://www.ruby-forum.com/t/railish-icons/95759 "2006-06-12T23:41:21Z")

</div>

This is a little off topic but someone here knows, I’m sure… Does anyone have a good site to find freely available standard icons for things like add/edit/delete/save? I’m looking for a set of clean and simple matchin…

---

## [Curious interaction between trap and sleep](https://www.ruby-forum.com/t/curious-interaction-between-trap-and-sleep/68944)

<div class="topic-metadata">

**Author:** [@cowboy\_x](https://www.ruby-forum.com/u/cowboy_x)\
**Replies:** 5\
**Last updated:** [February 17, 2006, 1:39am UTC](https://www.ruby-forum.com/t/curious-interaction-between-trap-and-sleep/68944 "2006-02-17T01:39:34Z")

</div>

Hi, Can someone explain why this code: fork do puts(“Child’s PID: #{Process.pid}”) end trap(:SIGCHLD) do $pid = Process.wait end puts(“Parent’s PID: #{Process.pid}”) puts(“My son is no more a zombie (check with…

---

## [Nginx Proxy Cache and Tomcat](https://www.ruby-forum.com/t/nginx-proxy-cache-and-tomcat/198872)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 10, 2010, 3:03pm UTC](https://www.ruby-forum.com/t/nginx-proxy-cache-and-tomcat/198872 "2010-11-10T15:03:44Z")

</div>

Hello, We need a little bit of help to understand what’s wrong with our config. We try to setup a reverse proxy cache using Nginx but somthing seems to be wrong with our configuration. Behind the Nginx there is a to…

---

## [Erb location of exception in template](https://www.ruby-forum.com/t/erb-location-of-exception-in-template/197869)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 21, 2010, 8:44pm UTC](https://www.ruby-forum.com/t/erb-location-of-exception-in-template/197869 "2010-10-21T20:44:46Z")

</div>

Hiya! Does anyone know how I can find the location in an Erb template file of a line that caused an exception? The result of calling erb.result(binding) in build.rb looks like this: ./dgp\_api.rb:199:in type': Argumen…

---

## [Qt::UiLoader -\> uninitialized constant Qt::QUiLoader](https://www.ruby-forum.com/t/qt-uiloader-uninitialized-constant-qt-quiloader/195610)

<div class="topic-metadata">

**Author:** [@Markus\_F](https://www.ruby-forum.com/u/Markus_F)\
**Replies:** 3\
**Last updated:** [September 27, 2010, 8:57am UTC](https://www.ruby-forum.com/t/qt-uiloader-uninitialized-constant-qt-quiloader/195610 "2010-09-27T08:57:57Z")

</div>

Hi, using 1.9.2p0 and qtbindings (4.6.3.0) I always get $ ruby -rQt -e ‘Qt::UiLoader.new’ -e:1:in const\_missing': uninitialized constant Qt::UiLoader (NameError) from -e:1:in ’ According to it should be there. I…

---

## [Sanitize my params and the create method](https://www.ruby-forum.com/t/sanitize-my-params-and-the-create-method/112766)

<div class="topic-metadata">

**Author:** [@aantix](https://www.ruby-forum.com/u/aantix)\
**Replies:** 2\
**Last updated:** [September 5, 2007, 11:44pm UTC](https://www.ruby-forum.com/t/sanitize-my-params-and-the-create-method/112766 "2007-09-05T23:44:51Z")

</div>

If I call .create on the param structure, are the parameters being passed to the create method automatically sanitized for me? e.g. Journalentry.create(param\[:journalentry\]) Do I have to worry about any malicious scri…

---

## [Glimmer DSL for LibUI Composite Shape](https://www.ruby-forum.com/t/glimmer-dsl-for-libui-composite-shape/264095)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 1\
**Last updated:** [July 10, 2023, 1:33am UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-libui-composite-shape/264095 "2023-07-10T01:33:39Z")

</div>

Glimmer DSL for LibUI 0.0.8 has been released with a new feature called Composite Shape (already in Glimmer DSL for SWT), which enables building new visual concepts by aggregating multiple smaller shapes within a parent …

---

## [Rails: Dynamic select menu](https://www.ruby-forum.com/t/rails-dynamic-select-menu/233706)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [April 25, 2020, 9:23pm UTC](https://www.ruby-forum.com/t/rails-dynamic-select-menu/233706 "2020-04-25T21:23:37Z")

</div>

I’m following the tutorial of railscast #88 Dynamic select menus. I got an error in jquery part of it. I’m not a familiar in jquery I just follow his tutorial, I already searched the error. Error on console Uncaugh…

---

## [Authentication and user management questions](https://www.ruby-forum.com/t/authentication-and-user-management-questions/161306)

<div class="topic-metadata">

**Author:** [@sa125](https://www.ruby-forum.com/u/sa125)\
**Replies:** 7\
**Last updated:** [February 27, 2009, 10:38am UTC](https://www.ruby-forum.com/t/authentication-and-user-management-questions/161306 "2009-02-27T10:38:54Z")

</div>

Hi - I am using a fairly standard authentication in my app (user model, before\_filter in application\_controller). This authentication is taken almost entirely from the 3rd ed. of the agile web dev w/ rails. A few que…

---

## [Nginx proxy zope/webdav, canÂ´t see files](https://www.ruby-forum.com/t/nginx-proxy-zope-webdav-cana-t-see-files/155278)

<div class="topic-metadata">

**Author:** [@mictlan\_tecutli](https://www.ruby-forum.com/u/mictlan_tecutli)\
**Replies:** 7\
**Last updated:** [December 11, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/nginx-proxy-zope-webdav-cana-t-see-files/155278 "2008-12-11T21:13:12Z")

</div>

hi, iÂ´m trying to use nginx to proxy to the zope webdav interface. iÂ´m using davfs2 for webdav client. and it works well when i connect directly to the zope/webdav server. but when i proxy using nginx something stra…

---

## [JRuby-Rack problems](https://www.ruby-forum.com/t/jruby-rack-problems/149159)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [September 23, 2008, 6:19pm UTC](https://www.ruby-forum.com/t/jruby-rack-problems/149159 "2008-09-23T18:19:18Z")

</div>

Have switched from goldspike to jruby-rack 0.9.2, and overall it’s working OK. Using it with JBoss 4.0.5 with embedded Tomcat 5.5. Also using jruby 1.1.4. A couple of problems: If the contaxt pathname of the app se…

---

## [Inheritance and meta-classes](https://www.ruby-forum.com/t/inheritance-and-meta-classes/122953)

<div class="topic-metadata">

**Author:** [@asetzler](https://www.ruby-forum.com/u/asetzler)\
**Replies:** 7\
**Last updated:** [December 17, 2007, 5:14pm UTC](https://www.ruby-forum.com/t/inheritance-and-meta-classes/122953 "2007-12-17T17:14:34Z")

</div>

Hi all, OK. I’m trying to work out where a method is defined in Rails. It’s in a test, and the specific function that’s being called is ‘post’, but my question is not a Rails question, it’s Ruby. How do I find where …

---

## [Regex replacement problem---replace every n-th](https://www.ruby-forum.com/t/regex-replacement-problem-replace-every-n-th/54316)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [March 1, 2006, 3:07pm UTC](https://www.ruby-forum.com/t/regex-replacement-problem-replace-every-n-th/54316 "2006-03-01T15:07:22Z")

</div>

Hi all I have the string '1 20 3 400 5 60 7 800 9 0 ’ and need to replace every n-th space in the string with another character. So if n=2 and the replacement character is ‘\\n’, then the above would become ‘1 20\\n3 4…

---

## [Quel Editeur de texte wysiwyg](https://www.ruby-forum.com/t/quel-editeur-de-texte-wysiwyg/161262)

<div class="topic-metadata">

**Author:** [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Replies:** 6\
**Last updated:** [February 25, 2009, 11:03am UTC](https://www.ruby-forum.com/t/quel-editeur-de-texte-wysiwyg/161262 "2009-02-25T11:03:52Z")

</div>

Bonjour je cherche un éditeur simple (gras, italique, souligné,lien) . J’ai vu Fckeditor, TinyMCE y en a-t-il d’autres. Lequel me conseillerz vous?

---

## [NativeException when connecting to LDAP/Active Directory server, only in WAR](https://www.ruby-forum.com/t/nativeexception-when-connecting-to-ldap-active-directory-server-only-in-war/153340)

<div class="topic-metadata">

**Author:** [@Hirotsugu\_A](https://www.ruby-forum.com/u/Hirotsugu_A)\
**Replies:** 6\
**Last updated:** [November 17, 2008, 3:26pm UTC](https://www.ruby-forum.com/t/nativeexception-when-connecting-to-ldap-active-directory-server-only-in-war/153340 "2008-11-17T15:26:14Z")

</div>

I’m trying to track down this NativeException when a Rails app tries to connect to an LDAP server (it’s an Active Directory server, actually, if that makes any difference) and search from a WAR. Here’s a way to reprod…

---

## [Rails 2.0 ActionMailer breaks my redmine render\_message](https://www.ruby-forum.com/t/rails-2-0-actionmailer-breaks-my-redmine-render-message/122518)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 6\
**Last updated:** [December 10, 2007, 10:03pm UTC](https://www.ruby-forum.com/t/rails-2-0-actionmailer-breaks-my-redmine-render-message/122518 "2007-12-10T22:03:49Z")

</div>

I am using ‘redmine’ (v 0.6) as my major project manager, seems running fine w Rails 2.0 (slight modifs for paginations…) but I am stuck with a major error when sending a confirmation email : mailer.rb class Mailer \<…

---

## [What is the best way to reallocate memory for char array?](https://www.ruby-forum.com/t/what-is-the-best-way-to-reallocate-memory-for-char-array/233092)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [November 17, 2014, 3:48pm UTC](https://www.ruby-forum.com/t/what-is-the-best-way-to-reallocate-memory-for-char-array/233092 "2014-11-17T15:48:42Z")

</div>

For example I’ve allocated memory for char \*str: str = ngx\_pnalloc(r-\>pool, len1); Then I’ve added some data to “str”: ngx\_sprintf(str, “abc”); How should I reallocate this memory? Should I use: str = ngx\_pnalloc(r-\>…

---

## [Problems with Ruby.getClass](https://www.ruby-forum.com/t/problems-with-ruby-getclass/219532)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 16, 2012, 4:29pm UTC](https://www.ruby-forum.com/t/problems-with-ruby-getclass/219532 "2012-06-16T16:29:28Z")

</div>

Hi, I’ve ran into a little problem while starting off with JRuby embedding. I’m using the following code fragment for getting the RubyClass of a class: String\[\] paths = new String\[\]{"."}; Ruby rt = JavaEmbedUtils.in…

---

## [Missing base64 library in Ruby1.9, cannot run cloudkit](https://www.ruby-forum.com/t/missing-base64-library-in-ruby1-9-cannot-run-cloudkit/187655)

<div class="topic-metadata">

**Author:** [@jod](https://www.ruby-forum.com/u/jod)\
**Replies:** 4\
**Last updated:** [April 27, 2010, 2:04pm UTC](https://www.ruby-forum.com/t/missing-base64-library-in-ruby1-9-cannot-run-cloudkit/187655 "2010-04-27T14:04:17Z")

</div>

Hi, I install cloudkit. I have followed the steps in the manual (CloudKit via cURL), but when I execute “rackup config.ru”, I get this error message: /usr/lib/ruby1.9/gems/1.9.0/gems/oauth-0.4.0/lib/oauth/helper.rb:2…

---

## [Ruby and C# Integration](https://www.ruby-forum.com/t/ruby-and-c-integration/118237)

<div class="topic-metadata">

**Author:** [@moonshot](https://www.ruby-forum.com/u/moonshot)\
**Replies:** 4\
**Last updated:** [October 25, 2007, 2:59pm UTC](https://www.ruby-forum.com/t/ruby-and-c-integration/118237 "2007-10-25T14:59:00Z")

</div>

Does anyone know of a way or have any links for how to integrate c# and ruby? I’d like to be able to write ruby scripts for testing and have them talk to my c# program. Thanks.

---

## [Ruby/Rails API Integrations Developer Wanted!](https://www.ruby-forum.com/t/ruby-rails-api-integrations-developer-wanted/262714)

<div class="topic-metadata">

**Author:** [@rustemd07](https://www.ruby-forum.com/u/rustemd07)\
**Replies:** 1\
**Last updated:** [April 20, 2022, 3:54am UTC](https://www.ruby-forum.com/t/ruby-rails-api-integrations-developer-wanted/262714 "2022-04-20T03:54:25Z")

</div>

Hey everyone, Craftybase is now hiring a Remote Ruby/Rails API Integrations Developer. :clock2: Full Time :globe\_with\_meridians: Asia, Australia, North America What They Do: Craftybase is a popular inventory and bookk…

---

## [How to modify the template path for ActionMailer used in a Ruby script](https://www.ruby-forum.com/t/how-to-modify-the-template-path-for-actionmailer-used-in-a-ruby-script/204082)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 4, 2011, 4:59pm UTC](https://www.ruby-forum.com/t/how-to-modify-the-template-path-for-actionmailer-used-in-a-ruby-script/204082 "2011-03-04T16:59:07Z")

</div>

SOLVED\] posted initially as a question I am testing a ruby 1.9.2 script (it’ll be run in a cron task later…) in which I am trying to use ActionMailer All my files are in a single folder 'joinus\_email joinus\_email …

---

## [Collect\_diff.rb](https://www.ruby-forum.com/t/collect-diff-rb/263972)

<div class="topic-metadata">

**Author:** [@jsusmina](https://www.ruby-forum.com/u/jsusmina)\
**Replies:** 2\
**Last updated:** [June 13, 2023, 9:33pm UTC](https://www.ruby-forum.com/t/collect-diff-rb/263972 "2023-06-13T21:33:13Z")

</div>

Hi, Is there anyone here that encountered this error. /data/cvs/doc/doclocations/CVSROOT/collect\_diffs.rb:170: warning: shadowing outer local variable - line /data/cvs/doc/doclocations/CVSROOT/collect\_diffs.rb:179: wa…

---

## [Timestamp class date/time](https://www.ruby-forum.com/t/timestamp-class-date-time/243688)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [December 31, 2015, 12:27pm UTC](https://www.ruby-forum.com/t/timestamp-class-date-time/243688 "2015-12-31T12:27:39Z")

</div>

As discussed at: Real World Case Study - Build (Online) Books with Markdown and the Jekyll (Static) Website Compiler - Free Ruby Reference 2.5 Book - #4 - Share - Jekyll Talk, Ruby Date and Time classes do not support …

---

## [Uninitialized constant when using IO](https://www.ruby-forum.com/t/uninitialized-constant-when-using-io/213102)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 24, 2011, 4:12am UTC](https://www.ruby-forum.com/t/uninitialized-constant-when-using-io/213102 "2011-10-24T04:12:44Z")

</div>

Ruby newbie here. I’m trying out Ruby 1.9.2 on Windows (RubyInstaller) and encountered some strangeness in using the IO class. I have IOtest.rb with one line: I0.read(‘somelocalfile’) But when I load it in irb: irb…

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

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