# Top

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

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

---

## [Re: Rewrite Subdomains to Paths (Valentin V. Bartenev)](https://www.ruby-forum.com/t/re-rewrite-subdomains-to-paths-valentin-v-bartenev/218260)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 26, 2012, 6:29pm UTC](https://www.ruby-forum.com/t/re-rewrite-subdomains-to-paths-valentin-v-bartenev/218260 "2012-03-26T18:29:33Z")

</div>

Hello, Thanks for the quick reply. I apologize ahead-of-time if this is the incorrect way to reply to messages on here. I have my notification settings set to once per day. Anyways, this would definitely work for re…

---

## [Extending a subclass from an abstract class](https://www.ruby-forum.com/t/extending-a-subclass-from-an-abstract-class/214679)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [December 9, 2011, 11:31am UTC](https://www.ruby-forum.com/t/extending-a-subclass-from-an-abstract-class/214679 "2011-12-09T11:31:37Z")

</div>

Hi, I have a question regarding to extend a subclass from an abstract class. Suppose I have an abstract class which has 3 properties in the table: // event.rb class Event \< ActiveRecord::Base self.abstract\_class = t…

---

## [JRuby / Java integration, finding class dependencies for wrapped libraries](https://www.ruby-forum.com/t/jruby-java-integration-finding-class-dependencies-for-wrapped-libraries/211858)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 15, 2011, 4:29pm UTC](https://www.ruby-forum.com/t/jruby-java-integration-finding-class-dependencies-for-wrapped-libraries/211858 "2011-09-15T16:29:27Z")

</div>

I’m working (along with a number of others in Ruby Mendicant University’s fall program) on using JRuby to build Ruby wrappers around Java libraries, and among other issues we’ve faced, a number of people have been won…

---

## [Unexpected ASCII-8BIT encoding of jruby --1.9 converted java strings](https://www.ruby-forum.com/t/unexpected-ascii-8bit-encoding-of-jruby-1-9-converted-java-strings/205253)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 1, 2011, 9:02pm UTC](https://www.ruby-forum.com/t/unexpected-ascii-8bit-encoding-of-jruby-1-9-converted-java-strings/205253 "2011-04-01T21:02:34Z")

</div>

Hello, can somebody tell me if it is intended that Java strings converted to Ruby string have the encoding ASCII-8BIT? I expected to be something like UTF-16 or UTF-8, since Java internally uses UTF-16 encoding. $ j…

---

## [ActiveRecord serialize method not returning YAML array in test environment](https://www.ruby-forum.com/t/activerecord-serialize-method-not-returning-yaml-array-in-test-environment/204317)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 10, 2011, 4:15pm UTC](https://www.ruby-forum.com/t/activerecord-serialize-method-not-returning-yaml-array-in-test-environment/204317 "2011-03-10T16:15:41Z")

</div>

Hello, I’ve got a problem with deserialization of AR “serialize” method (serialize (ActiveRecord::Base) - APIdock) in my tests. It just gives me pure String instead of my data Array. Example: User \> AR::Base seria…

---

## [Unexpected before :each behavior](https://www.ruby-forum.com/t/unexpected-before-each-behavior/200207)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 7, 2010, 4:31am UTC](https://www.ruby-forum.com/t/unexpected-before-each-behavior/200207 "2010-12-07T04:31:23Z")

</div>

Hi gang. I’ve come across what I believe to be unexpected behavior for some of my before :each blocks, and I wonder if anyone can enlighten me as to why this is happening. The surprising thing happens when I run a ‘…

---

## [Comparison of time](https://www.ruby-forum.com/t/comparison-of-time/184911)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 7\
**Last updated:** [March 10, 2010, 9:16pm UTC](https://www.ruby-forum.com/t/comparison-of-time/184911 "2010-03-10T21:16:07Z")

</div>

Hello all, I want to compare the below given times. from\_time = ‘08:00 am’ to\_time = ‘04:30 pm’ @logtime = “ci.time \>= ‘#{from\_time}’ and ci.time \<= ‘#{@to\_time}’” but its not working fine…giving me the wrong resul…

---

## [Windows GUI automation question](https://www.ruby-forum.com/t/windows-gui-automation-question/174035)

<div class="topic-metadata">

**Author:** [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Replies:** 1\
**Last updated:** [August 19, 2009, 7:01pm UTC](https://www.ruby-forum.com/t/windows-gui-automation-question/174035 "2009-08-19T19:01:34Z")

</div>

Dear all, I want to use Ruby to automate some Windows GUI application. I tried to use WET (Ruby gem: wet-winobj), because in this book: Pragmatic Bookshelf: By Developers, For Developers , it is promised that using t…

---

## [How to execute oracle store procedure using Jruby](https://www.ruby-forum.com/t/how-to-execute-oracle-store-procedure-using-jruby/172567)

<div class="topic-metadata">

**Author:** [@on9west](https://www.ruby-forum.com/u/on9west)\
**Replies:** 1\
**Last updated:** [July 27, 2009, 6:57am UTC](https://www.ruby-forum.com/t/how-to-execute-oracle-store-procedure-using-jruby/172567 "2009-07-27T06:57:38Z")

</div>

Dear all Sorry that I am very green to jruby. Is there any example to show how to execute store procedure in oracle. I have used google to search, but the result is not in my expectation. I have a store procedure (PR…

---

## [Sortable\_element helper query](https://www.ruby-forum.com/t/sortable-element-helper-query/161694)

<div class="topic-metadata">

**Author:** [@amita0204](https://www.ruby-forum.com/u/amita0204)\
**Replies:** 1\
**Last updated:** [March 1, 2009, 12:28pm UTC](https://www.ruby-forum.com/t/sortable-element-helper-query/161694 "2009-03-01T12:28:42Z")

</div>

Is it possible to call helper method instead of controller action while using sortable\_element helper method? Ref: http://api.rubyonrails.org/classes/ActionView/Helpers/ScriptaculousHelper.html The url field in the e…

---

## [Rpsec-rails overwriting RAILS\_ENV?](https://www.ruby-forum.com/t/rpsec-rails-overwriting-rails-env/157783)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 1\
**Last updated:** [January 15, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/rpsec-rails-overwriting-rails-env/157783 "2009-01-15T15:56:40Z")

</div>

Hi folks, We have a “features” environment for Rails, where we run the Cucumber stuff. This lets us run specs and features in different databases, which can be handy. I think I’ve found that rspec-rails 1.1.12 is doi…

---

## [Restrict Access to Tabs in Admin UI](https://www.ruby-forum.com/t/restrict-access-to-tabs-in-admin-ui/155902)

<div class="topic-metadata">

**Author:** [@toddq](https://www.ruby-forum.com/u/toddq)\
**Replies:** 1\
**Last updated:** [December 19, 2008, 3:38pm UTC](https://www.ruby-forum.com/t/restrict-access-to-tabs-in-admin-ui/155902 "2008-12-19T15:38:02Z")

</div>

Is there any way to restrict access to the tabs that are displayed in the admin UI? For example, I installed the paperclipped extension, which adds the “Assets” tab, and I’d like to restrict that tab to a handful of u…

---

## [Simple QPSK baseband transmission using GRC](https://www.ruby-forum.com/t/simple-qpsk-baseband-transmission-using-grc/154889)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSmy\_Skelto](https://www.ruby-forum.com/u/JSSSSrSSSSmy_Skelto)\
**Replies:** 1\
**Last updated:** [December 5, 2008, 12:32am UTC](https://www.ruby-forum.com/t/simple-qpsk-baseband-transmission-using-grc/154889 "2008-12-05T00:32:35Z")

</div>

Hi, I have been trying to make a baseband transmission by assembling blocks with GRC. I’m using this scheme : http://www.skelton.eu.org/Image1.png To problem is that I’m not able to recover the original data but onl…

---

## [Impedance Issue with the USRP/LFRX](https://www.ruby-forum.com/t/impedance-issue-with-the-usrp-lfrx/153790)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [November 21, 2008, 7:12am UTC](https://www.ruby-forum.com/t/impedance-issue-with-the-usrp-lfrx/153790 "2008-11-21T07:12:13Z")

</div>

Hi, Â I’m trying to figure out an impedance problem with my USRP/LFRX system.Â I am using the LFRX daughtercard to measure background noise from a hydrophone (underwater microphone).Â I am using a +40dB gain preamp…

---

## [Sudden failure of redirect in ActionController +verify+](https://www.ruby-forum.com/t/sudden-failure-of-redirect-in-actioncontroller-verify/151979)

<div class="topic-metadata">

**Author:** [@fritza](https://www.ruby-forum.com/u/fritza)\
**Replies:** 1\
**Last updated:** [October 28, 2008, 7:11pm UTC](https://www.ruby-forum.com/t/sudden-failure-of-redirect-in-actioncontroller-verify/151979 "2008-10-28T19:11:44Z")

</div>

= SUMMARY An ActionController +verify+ directive redirects to an :action if certain actions are not done by POST. In one case, the redirect is to an empty hash instead; in another, nearly identical, it is to the corre…

---

## [How to use regex with if\_url tag!](https://www.ruby-forum.com/t/how-to-use-regex-with-if-url-tag/136613)

<div class="topic-metadata">

**Author:** [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Replies:** 1\
**Last updated:** [May 4, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/how-to-use-regex-with-if-url-tag/136613 "2008-05-04T17:24:00Z")

</div>

\<r:if\_url matches="^.\\b(podcast|podcasts|audio|media)\\b.$"\> some reference to an audio file here \</r:if\_url\> Essentially what the regular expression above does is show the content only if the url contains any of the f…

---

## [Can you alias fields in acts\_as\_ferret?](https://www.ruby-forum.com/t/can-you-alias-fields-in-acts-as-ferret/116624)

<div class="topic-metadata">

**Author:** [@chase](https://www.ruby-forum.com/u/chase)\
**Replies:** 1\
**Last updated:** [October 8, 2007, 1:11pm UTC](https://www.ruby-forum.com/t/can-you-alias-fields-in-acts-as-ferret/116624 "2007-10-08T13:11:53Z")

</div>

Is there any way to set a field name that is different than the method name used to populate it? My example: In Rails, I’m using acts\_as\_ferret on a Article model that has\_many Authors. I want to be able to index aut…

---

## [How to get the Client IP address with webrick](https://www.ruby-forum.com/t/how-to-get-the-client-ip-address-with-webrick/114206)

<div class="topic-metadata">

**Author:** [@ssyed](https://www.ruby-forum.com/u/ssyed)\
**Replies:** 1\
**Last updated:** [September 10, 2007, 3:30pm UTC](https://www.ruby-forum.com/t/how-to-get-the-client-ip-address-with-webrick/114206 "2007-09-10T15:30:39Z")

</div>

I need to ensure that the user who has sent the request is the localhost … what’s the best way to do this?

---

## [Watir Javascript popup handler: How to handle the popup dial](https://www.ruby-forum.com/t/watir-javascript-popup-handler-how-to-handle-the-popup-dial/110809)

<div class="topic-metadata">

**Author:** [@rajesh](https://www.ruby-forum.com/u/rajesh)\
**Replies:** 1\
**Last updated:** [August 6, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/watir-javascript-popup-handler-how-to-handle-the-popup-dial/110809 "2007-08-06T20:51:11Z")

</div>

Clarification regarding JSpopup\_dialog. Winclicker supports the popup when clicked on the link but the same fails in the second case. I think Watir is unable to get the handle of the dialog…Any help??? Application han…

---

## [Question binding gtk\_text\_mark\_new](https://www.ruby-forum.com/t/question-binding-gtk-text-mark-new/109219)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 1\
**Last updated:** [July 13, 2007, 2:42pm UTC](https://www.ruby-forum.com/t/question-binding-gtk-text-mark-new/109219 "2007-07-13T14:42:24Z")

</div>

http://developer.gnome.org/doc/API/2.0/gtk/GtkTextMark.html#id3010285 This function looks like a good candidate for a mandatory argument and an optional argument: the name can be NULL, so should be optional in Ruby co…

---

## [CSS Layout integration](https://www.ruby-forum.com/t/css-layout-integration/79562)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 7\
**Last updated:** [December 17, 2006, 4:56pm UTC](https://www.ruby-forum.com/t/css-layout-integration/79562 "2006-12-17T16:56:25Z")

</div>

Does anyone have any good information or examples of using multiple css layouts to setup, say, a two-column design and a three-column design. So I could ‘flip a switch’ and have the design go from a two-column layout …

---

## [Typo API?](https://www.ruby-forum.com/t/typo-api/76552)

<div class="topic-metadata">

**Author:** [@Simon\_L](https://www.ruby-forum.com/u/Simon_L)\
**Replies:** 1\
**Last updated:** [November 23, 2006, 11:28pm UTC](https://www.ruby-forum.com/t/typo-api/76552 "2006-11-23T23:28:11Z")

</div>

Hi guys, Any of you know what API Typo is using? Where can I get the library? I want to write a Ruby program to post to Typo. Thanks in advance. – Simon L. Software Consultant (403) 618-9303 removed\_email\_addres…

---

## [FM receiver doesn't work](https://www.ruby-forum.com/t/fm-receiver-doesnt-work/176795)

<div class="topic-metadata">

**Author:** [@Fatih\_Arslan](https://www.ruby-forum.com/u/Fatih_Arslan)\
**Replies:** 3\
**Last updated:** [February 20, 2014, 9:04am UTC](https://www.ruby-forum.com/t/fm-receiver-doesnt-work/176795 "2014-02-20T09:04:36Z")

</div>

Hi, We bought a new USRP motherboard with several daugtherboards. I’ totally a newbie. Our current Daugtherboards are: LFRX - LF LFTX - LF DBSRX -LF TVRX Now, if we try to run the script ./usrp\_wfm\_rcv.py we get …

---

## [Kernel#\`\` not working in my IRB](https://www.ruby-forum.com/t/kernel-not-working-in-my-irb/236492)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [September 6, 2013, 10:05pm UTC](https://www.ruby-forum.com/t/kernel-not-working-in-my-irb/236492 "2013-09-06T22:05:32Z")

</div>

I tried Kernel#\`\` but not working cd command. kirti@kirti-Aspire-5733Z:~$ irb --simple-prompt pwd =\> “/home/kirti\\n” var = cd 'ruby' =\> “” var =\> “” pwd =\> “/home/kirti\\n”

---

## [How can I determine which server is used](https://www.ruby-forum.com/t/how-can-i-determine-which-server-is-used/235642)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [July 6, 2013, 3:44am UTC](https://www.ruby-forum.com/t/how-can-i-determine-which-server-is-used/235642 "2013-07-06T03:44:04Z")

</div>

Rails 2.3.15 The system may be run using mongrel or apache/passenger. Some functions are not supported in mongrel 1.1.5 but work in apache/passengertherefore I want to know what server is being used so I canalter beh…

---

## [USRP2 + WBX for DVB-T replaying](https://www.ruby-forum.com/t/usrp2-wbx-for-dvb-t-replaying/228698)

<div class="topic-metadata">

**Author:** [@Dinos\_Pastos](https://www.ruby-forum.com/u/Dinos_Pastos)\
**Replies:** 3\
**Last updated:** [May 6, 2013, 4:34pm UTC](https://www.ruby-forum.com/t/usrp2-wbx-for-dvb-t-replaying/228698 "2013-05-06T16:34:41Z")

</div>

Hi there, I have a USRP2 with WBX board which has been sitting around doing nothing. I was wondering if it is possible to use this hardware to get a live DVB-T signal and replay it back. What I want to do is to int…

---

## [Complex abilities and scoping of records](https://www.ruby-forum.com/t/complex-abilities-and-scoping-of-records/226779)

<div class="topic-metadata">

**Author:** [@Tim\_U](https://www.ruby-forum.com/u/Tim_U)\
**Replies:** 3\
**Last updated:** [February 21, 2013, 9:17pm UTC](https://www.ruby-forum.com/t/complex-abilities-and-scoping-of-records/226779 "2013-02-21T21:17:00Z")

</div>

I have the following scenario. Users have various levels of ability. They can only view and edit their own records (their profile). Their managers can only view and edit their employees records. The regional manager…

---

## [Is this Usecase posible?](https://www.ruby-forum.com/t/is-this-usecase-posible/220467)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 11, 2012, 1:28pm UTC](https://www.ruby-forum.com/t/is-this-usecase-posible/220467 "2012-06-11T13:28:02Z")

</div>

Hi all, i have the following use case. I need an http/s Server that can do the following. Parse GET Request from the client → call an internal module that do something (that have an response) → use the response and m…

---

## [Builder lib-a-like?](https://www.ruby-forum.com/t/builder-lib-a-like/209788)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [July 22, 2011, 9:21pm UTC](https://www.ruby-forum.com/t/builder-lib-a-like/209788 "2011-07-22T21:21:30Z")

</div>

Wasn’t there already a lib like this? GitHub - kelredd/undies: I renamed my user to be 'kellyredding'. I'm maintaining this fork so old URLs won't break. I won't maintain this forever - switch your URLs to use the 'kell…

---

## [Writing a module to use with http\_proxy](https://www.ruby-forum.com/t/writing-a-module-to-use-with-http-proxy/209728)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [July 21, 2011, 5:22pm UTC](https://www.ruby-forum.com/t/writing-a-module-to-use-with-http-proxy/209728 "2011-07-21T17:22:17Z")

</div>

Hi. I’m new to nginx module development and I’m going to write a module that must do everything that http\_proxy module does except it must do some checks before request is passed to the upstream. What’s the best way t…

---

## [Real Signal to I/Q Samples](https://www.ruby-forum.com/t/real-signal-to-i-q-samples/208583)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 22, 2011, 3:23am UTC](https://www.ruby-forum.com/t/real-signal-to-i-q-samples/208583 "2011-06-22T03:23:36Z")

</div>

Hello all, I am helping a colleague with the USRP center frequency tuning functionality and it is my understanding the signal must contain I and Q values centered at 0Hz. A real valued signal is generated independentl…

---

## [Devise alters app layout links](https://www.ruby-forum.com/t/devise-alters-app-layout-links/205672)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 23, 2011, 8:15am UTC](https://www.ruby-forum.com/t/devise-alters-app-layout-links/205672 "2011-05-23T08:15:42Z")

</div>

Hey everyone, I’ve got a curious issue with Devise 1.2.1 on Rails 3.0.5. I’ve got everything working quite nicely with one small problem: the navigation links for my site that exist in the application controller get c…

---

## [Nested object problems](https://www.ruby-forum.com/t/nested-object-problems/206980)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 15, 2011, 7:41pm UTC](https://www.ruby-forum.com/t/nested-object-problems/206980 "2011-05-15T19:41:50Z")

</div>

Im making nested attributes for profile on the user model and I also need to validate the profile info so I put User model has\_one :profile accepts\_nested\_attributes\_for :profile validates\_associated :profile \<— T…

---

## [Rails new Application create "new" and not "Application"](https://www.ruby-forum.com/t/rails-new-application-create-new-and-not-application/203421)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 19, 2011, 2:56pm UTC](https://www.ruby-forum.com/t/rails-new-application-create-new-and-not-application/203421 "2011-02-19T14:56:01Z")

</div>

Hello I start using RoR on Ubuntu because I want to develop a little bit. I installed ruby: $\>sudo apt-get install ruby and it’s ok I installed gem: $\>sudo apt-get install rubygem1.8 I try to install rails with ge…

---

## [Problem with GEM configuration](https://www.ruby-forum.com/t/problem-with-gem-configuration/202267)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 25, 2011, 7:00pm UTC](https://www.ruby-forum.com/t/problem-with-gem-configuration/202267 "2011-01-25T19:00:58Z")

</div>

Hi, I’ve ben running Ruby and Gem for a few years without any problems until now, when this wierd thing poped up. It’s been a while since I ran GEM so I don’t know what may have happened to produce the problem. Howe…

---

## [Questions about upstream buffering mode](https://www.ruby-forum.com/t/questions-about-upstream-buffering-mode/200451)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 12, 2010, 3:24pm UTC](https://www.ruby-forum.com/t/questions-about-upstream-buffering-mode/200451 "2010-12-12T15:24:24Z")

</div>

hi all, There are 2 modes of upstream, buffering and non-buffering. And there are some difference between them: non-buffering mode doesn’t support limit-rate. a request in non-buffering mode decides the end of upstre…

---

## [Problem updating firmware on SD card](https://www.ruby-forum.com/t/problem-updating-firmware-on-sd-card/191521)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 3\
**Last updated:** [October 12, 2010, 2:42pm UTC](https://www.ruby-forum.com/t/problem-updating-firmware-on-sd-card/191521 "2010-10-12T14:42:39Z")

</div>

Hello, I am trying to update the firmware on the SD card per the instructions here: http://www.mathworks.com/support/solutions/en/data/1-CUN7JZ/?solution=1-CUN7JZ I’ve downloaded all the firmware to my PC, and put th…

---

## [Gem mysql on windows problem](https://www.ruby-forum.com/t/gem-mysql-on-windows-problem/195000)

<div class="topic-metadata">

**Author:** [@jason\_joo](https://www.ruby-forum.com/u/jason_joo)\
**Replies:** 3\
**Last updated:** [September 17, 2010, 4:07pm UTC](https://www.ruby-forum.com/t/gem-mysql-on-windows-problem/195000 "2010-09-17T16:07:00Z")

</div>

hi guys I used to running ruby apps on ubuntu but someone else would running them on win32. recently I find a problem in gem “mysql” on ruby 1.9.2. I connect, query, query. but it seems that the connection aborts w…

---

## [Sending Emails to Inbox](https://www.ruby-forum.com/t/sending-emails-to-inbox/193889)

<div class="topic-metadata">

**Author:** [@saurabhpurnaye](https://www.ruby-forum.com/u/saurabhpurnaye)\
**Replies:** 3\
**Last updated:** [August 26, 2010, 2:33pm UTC](https://www.ruby-forum.com/t/sending-emails-to-inbox/193889 "2010-08-26T14:33:13Z")

</div>

Hi All, I am having a functionality of sending emails in my rails application. Sending the emails is working properly but sometimes the email goes to Inbox folder and sometime it goes to Spam folder. I am sending one …

---

## [\[rails 3\] how to write an Ajax call w the new unobtrusive js?](https://www.ruby-forum.com/t/rails-3-how-to-write-an-ajax-call-w-the-new-unobtrusive-js/193436)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 3\
**Last updated:** [August 18, 2010, 1:01pm UTC](https://www.ruby-forum.com/t/rails-3-how-to-write-an-ajax-call-w-the-new-unobtrusive-js/193436 "2010-08-18T13:01:39Z")

</div>

I have current a js function call I would like to transform into an Ajax request = check\_box\_tag “selection”, “1”, false, {:id =\> user.id, :onclick =\> “showHideMenuItem(this);”} I found a lot of examples on link\_to ,…

---

## [Compile .rb into .class and include in war](https://www.ruby-forum.com/t/compile-rb-into-class-and-include-in-war/189260)

<div class="topic-metadata">

**Author:** [@sakhi](https://www.ruby-forum.com/u/sakhi)\
**Replies:** 3\
**Last updated:** [May 29, 2010, 11:29am UTC](https://www.ruby-forum.com/t/compile-rb-into-class-and-include-in-war/189260 "2010-05-29T11:29:44Z")

</div>

I have one rails application, It is working on tomcat after deploying the war created by warbler. But my requirement is that i dont want to give my code to client in any form even in war file. so to achive this i trie…

---

## [Rails 3 version of ActiveRecord usable with Rails 2?](https://www.ruby-forum.com/t/rails-3-version-of-activerecord-usable-with-rails-2/183652)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 3\
**Last updated:** [February 19, 2010, 3:18am UTC](https://www.ruby-forum.com/t/rails-3-version-of-activerecord-usable-with-rails-2/183652 "2010-02-19T03:18:47Z")

</div>

Anybody know if the changes coming to Rails 3 that affect ActiveRecord can be applied to Rails 2.x projects as well? If it’s just the ActiveRecord gem that’s changing, then we should be able to use the new ActiveReco…

---

## [File upload failed. Try a different image?](https://www.ruby-forum.com/t/file-upload-failed-try-a-different-image/178394)

<div class="topic-metadata">

**Author:** [@RubyonRails\_newbie](https://www.ruby-forum.com/u/RubyonRails_newbie)\
**Replies:** 3\
**Last updated:** [November 3, 2009, 10:51pm UTC](https://www.ruby-forum.com/t/file-upload-failed-try-a-different-image/178394 "2009-11-03T22:51:28Z")

</div>

Evening all! I’ve decided to give it another shot with the image upload functionality provided with the tutorial ‘RailsSpace’… I’ve got further, in the fact that it recognizes an upload attempt, but fails with the me…

---

## [Convert text to image](https://www.ruby-forum.com/t/convert-text-to-image/174271)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 3\
**Last updated:** [August 24, 2009, 9:18am UTC](https://www.ruby-forum.com/t/convert-text-to-image/174271 "2009-08-24T09:18:59Z")

</div>

Hi all… i am working on rails version 1.2.3 (it is must to work on version 1.2.3) & ruby 1.8.6. For my project i want to convert text in to images files… Is there any way for this…actually i need this because i am go…

---

## [Is recusion the best?](https://www.ruby-forum.com/t/is-recusion-the-best/172615)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 3\
**Last updated:** [July 24, 2009, 9:41am UTC](https://www.ruby-forum.com/t/is-recusion-the-best/172615 "2009-07-24T09:41:48Z")

</div>

Hi all, I have some codes implemented with recursion. When the loop/recursion number is small everything looks fine to me. But the program starts slow when the loop number is \>7.I wonder if recursion is the best whe…

---

## [Button\_to\_remote and control values](https://www.ruby-forum.com/t/button-to-remote-and-control-values/171798)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 3\
**Last updated:** [July 9, 2009, 4:18pm UTC](https://www.ruby-forum.com/t/button-to-remote-and-control-values/171798 "2009-07-09T16:18:45Z")

</div>

I have a partial that has a button\_to\_remote on it wherein a method in my controller is appropriately executed. In the same partial, but not in any I have a select box with the id of “notesboxselect.” Is there any wa…

---

## [Test array and assign result to variable](https://www.ruby-forum.com/t/test-array-and-assign-result-to-variable/169592)

<div class="topic-metadata">

**Author:** [@adrianunderwater](https://www.ruby-forum.com/u/adrianunderwater)\
**Replies:** 3\
**Last updated:** [June 6, 2009, 1:59am UTC](https://www.ruby-forum.com/t/test-array-and-assign-result-to-variable/169592 "2009-06-06T01:59:54Z")

</div>

I have this example: class Array def find for i in 0…size value = self\[i\] return value if yield(value) end return nil end end x = \[1, 3, 5, 7, 9\] x.find {|v| vv \> 30 } It says that return 7 - the first value …

---

## [Locals in render partials](https://www.ruby-forum.com/t/locals-in-render-partials/164617)

<div class="topic-metadata">

**Author:** [@nike](https://www.ruby-forum.com/u/nike)\
**Replies:** 3\
**Last updated:** [April 3, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/locals-in-render-partials/164617 "2009-04-03T15:56:25Z")

</div>

In render partials can we pass arrays like this a=\[1,2,3\] b=\[5,6,7\] c \<\< a \<\< b render :partial=\>’’,:locals=\>{:c=\>c}

---

## [Creating an array by reusing code](https://www.ruby-forum.com/t/creating-an-array-by-reusing-code/163840)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 3\
**Last updated:** [March 25, 2009, 5:50pm UTC](https://www.ruby-forum.com/t/creating-an-array-by-reusing-code/163840 "2009-03-25T17:50:39Z")

</div>

Hi I have all\_req = OnRequest.find(:all, :conditions =\> \[status\_id = ?’,6\]) Now i need to create an array of size 12 containing record counts for month January to December like \[recordcountjanuary,recordcountfeb,…\] …

---

## [Constant caching, modules and STI](https://www.ruby-forum.com/t/constant-caching-modules-and-sti/161113)

<div class="topic-metadata">

**Author:** [@tachekent](https://www.ruby-forum.com/u/tachekent)\
**Replies:** 3\
**Last updated:** [February 23, 2009, 7:17pm UTC](https://www.ruby-forum.com/t/constant-caching-modules-and-sti/161113 "2009-02-23T19:17:09Z")

</div>

Hi there, I’ve been following one of the recipes in the Advanced Rails Recipes books, and have arrived for my own particular needs at this scenario: I want to cache some options data in constants at loadtime (as per t…

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

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