# Top

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

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

---

## [Pop up form](https://www.ruby-forum.com/t/pop-up-form/171404)

<div class="topic-metadata">

**Author:** [@penelope](https://www.ruby-forum.com/u/penelope)\
**Replies:** 1\
**Last updated:** [July 2, 2009, 10:51pm UTC](https://www.ruby-forum.com/t/pop-up-form/171404 "2009-07-02T22:51:40Z")

</div>

I need pop up the pre\_entry form, but I cannot use link\_to because I need submit the values to load the Pre-entry form. Anybody have an idea to help me? thanks view: … \<%= submit\_tag “Pre-Entry”%\> \<%= submit\_tag “…

---

## [How to dynamically change style (Button)](https://www.ruby-forum.com/t/how-to-dynamically-change-style-button/169620)

<div class="topic-metadata">

**Author:** [@nonybd](https://www.ruby-forum.com/u/nonybd)\
**Replies:** 1\
**Last updated:** [June 17, 2009, 12:44pm UTC](https://www.ruby-forum.com/t/how-to-dynamically-change-style-button/169620 "2009-06-17T12:44:30Z")

</div>

Hello, world! How does one go about changing the style of a button after it has already been made? Or if there is none, is there some way to highlight a button? The button can’t be a ToggleButton, it must be a Bitm…

---

## [Vendor Everything for other gems?](https://www.ruby-forum.com/t/vendor-everything-for-other-gems/165330)

<div class="topic-metadata">

**Author:** [@Mario\_TSL](https://www.ruby-forum.com/u/Mario_TSL)\
**Replies:** 1\
**Last updated:** [April 12, 2009, 3:09pm UTC](https://www.ruby-forum.com/t/vendor-everything-for-other-gems/165330 "2009-04-12T15:09:04Z")

</div>

I’m using Radiant 0.6.4 and I want to freeze all my gems. How? The radiant:freeze:gems I don’t think applies to all other gems. I also tried topfunky:freeze:others. While the task itself works (unpacking the gems t…

---

## [Undefined method "full\_description" when trying to run "rake spec"](https://www.ruby-forum.com/t/undefined-method-full-description-when-trying-to-run-rake-spec/154551)

<div class="topic-metadata">

**Author:** [@mauricio](https://www.ruby-forum.com/u/mauricio)\
**Replies:** 1\
**Last updated:** [December 1, 2008, 4:13pm UTC](https://www.ruby-forum.com/t/undefined-method-full-description-when-trying-to-run-rake-spec/154551 "2008-12-01T16:13:41Z")

</div>

Hello guys, I’m getting this weird error when trying to run the specs using “rake spec”: /home/mauricio/NetBeansProjects/talkies/vendor/rails/actionpack/lib/action\_controller/test\_process.rb:471:in method\_missing': u…

---

## [Are java hashtable objects Ruby Hash objects?](https://www.ruby-forum.com/t/are-java-hashtable-objects-ruby-hash-objects/153226)

<div class="topic-metadata">

**Author:** [@eipipuz](https://www.ruby-forum.com/u/eipipuz)\
**Replies:** 1\
**Last updated:** [November 13, 2008, 6:19pm UTC](https://www.ruby-forum.com/t/are-java-hashtable-objects-ruby-hash-objects/153226 "2008-11-13T18:19:44Z")

</div>

Hello guys, I need to access from Ruby information stored in a java hashtable inside of a Java class. The class has a getter method that returns the hashtable object. My question is: How can access the key/value pair…

---

## [Freeze:edge, github & http urls?](https://www.ruby-forum.com/t/freeze-edge-github-http-urls/152483)

<div class="topic-metadata">

**Author:** [@japj](https://www.ruby-forum.com/u/japj)\
**Replies:** 1\
**Last updated:** [November 4, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/freeze-edge-github-http-urls/152483 "2008-11-04T14:55:37Z")

</div>

Hi, I just noticed that rake radiant:freeze:edge uses the git:// url syntax rather then a http:// git url syntax. As a result of this, when you’re behind a corporate firewall that only allows http, git won’t be able …

---

## [Typo 5.0.4 beta 2 is out, fixes a critical security vulnerability](https://www.ruby-forum.com/t/typo-5-0-4-beta-2-is-out-fixes-a-critical-security-vulnerability/141838)

<div class="topic-metadata">

**Author:** [@de\_Villamil\_FrSSSSd](https://www.ruby-forum.com/u/de_Villamil_FrSSSSd)\
**Replies:** 1\
**Last updated:** [July 1, 2008, 6:37pm UTC](https://www.ruby-forum.com/t/typo-5-0-4-beta-2-is-out-fixes-a-critical-security-vulnerability/141838 "2008-07-01T18:37:37Z")

</div>

Michael M. has discovered a critical vulnerability in Typo priori to release 5.0.4.98.1 which may lead to arbitrary code execution and privilege escalation on Typo blogs. Even though 5.0.4b1 was released yesterday, th…

---

## [Having trouble extending Date](https://www.ruby-forum.com/t/having-trouble-extending-date/140925)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 7\
**Last updated:** [June 20, 2008, 1:40am UTC](https://www.ruby-forum.com/t/having-trouble-extending-date/140925 "2008-06-20T01:40:47Z")

</div>

Hi all, I need to extend the Date class. Or more accurately, the ActiveSupport::CoreExtensions::date::Calculations module. Everything works fine when I include the new method in that module itself. But when I try…

---

## [Nice urls?](https://www.ruby-forum.com/t/nice-urls/139655)

<div class="topic-metadata">

**Author:** [@amanda](https://www.ruby-forum.com/u/amanda)\
**Replies:** 7\
**Last updated:** [June 6, 2008, 1:09pm UTC](https://www.ruby-forum.com/t/nice-urls/139655 "2008-06-06T13:09:04Z")

</div>

Can anyone please explain to me how to get ugly urls like : hostname.com/browse/day?cal\_name=name&day=9&month=6&year=2008 to be something nice like: hostname.com/browse/name/day/month/year or something like that? I’…

---

## [Case condition in view](https://www.ruby-forum.com/t/case-condition-in-view/136721)

<div class="topic-metadata">

**Author:** [@OhMyRuby](https://www.ruby-forum.com/u/OhMyRuby)\
**Replies:** 7\
**Last updated:** [May 7, 2008, 11:59am UTC](https://www.ruby-forum.com/t/case-condition-in-view/136721 "2008-05-07T11:59:57Z")

</div>

can you use a case statement in the view. i get a \_erbout.concat “\\n” error. can someone please show the syntax on this.

---

## [Adding/recovering packet number using packet\_utils python cl](https://www.ruby-forum.com/t/adding-recovering-packet-number-using-packet-utils-python-cl/107031)

<div class="topic-metadata">

**Author:** [@Tarun\_T](https://www.ruby-forum.com/u/Tarun_T)\
**Replies:** 1\
**Last updated:** [June 16, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/adding-recovering-packet-number-using-packet-utils-python-cl/107031 "2007-06-16T21:19:36Z")

</div>

Hi, I was wondering if we can add the packet number using current packet\_utils python class. When I look into the code, I see that we introduce the preamble, access code, length of the packet, payoad with crc, and p…

---

## [ActionMailer Multipart messages broken for Quoted-printable](https://www.ruby-forum.com/t/actionmailer-multipart-messages-broken-for-quoted-printable/71463)

<div class="topic-metadata">

**Author:** [@sshingler](https://www.ruby-forum.com/u/sshingler)\
**Replies:** 1\
**Last updated:** [October 9, 2006, 10:35am UTC](https://www.ruby-forum.com/t/actionmailer-multipart-messages-broken-for-quoted-printable/71463 "2006-10-09T10:35:20Z")

</div>

I still do not have a blog up so I will post here. May Google record this so that others can find my answer and save themselves a couple hours of debugging… If you use the default encoding for multipart mime mail, Ac…

---

## [Rub on Rails Question](https://www.ruby-forum.com/t/rub-on-rails-question/70320)

<div class="topic-metadata">

**Author:** [@bparanj](https://www.ruby-forum.com/u/bparanj)\
**Replies:** 7\
**Last updated:** [September 29, 2006, 5:57am UTC](https://www.ruby-forum.com/t/rub-on-rails-question/70320 "2006-09-29T05:57:01Z")

</div>

I am getting the following error when I point the browser to http://localhost:3000 I have checked the composers table and it has two records. Can someone please help me to fix this problem? TIA NoMethodError in Main…

---

## [How to use WSDLDriverFactory with basic authentication?](https://www.ruby-forum.com/t/how-to-use-wsdldriverfactory-with-basic-authentication/52044)

<div class="topic-metadata">

**Author:** [@ddavidson](https://www.ruby-forum.com/u/ddavidson)\
**Replies:** 1\
**Last updated:** [February 5, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/how-to-use-wsdldriverfactory-with-basic-authentication/52044 "2006-02-05T15:40:54Z")

</div>

I am trying to use SOAP::WSDLDriverFactory but the server requires basic authentication. I’ve tried using something like: WSDL\_URI = ‘http://user:password@server:80/TestService?wsdl’; factory = SOAP::WSDLDriverFactor…

---

## [Class#aliases?](https://www.ruby-forum.com/t/class-aliases/116919)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 8\
**Last updated:** [October 18, 2007, 1:22pm UTC](https://www.ruby-forum.com/t/class-aliases/116919 "2007-10-18T13:22:13Z")

</div>

Does this method exist? I think that it doesn’t, but I just thought I’d make sure. – Giles B. Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com/

---

## [Win 32 utils changenotify](https://www.ruby-forum.com/t/win-32-utils-changenotify/79440)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 8\
**Last updated:** [December 15, 2006, 9:14am UTC](https://www.ruby-forum.com/t/win-32-utils-changenotify/79440 "2006-12-15T09:14:16Z")

</div>

I just downloaded and installed the win32utils installer. When I try to run the sample script provide in changenotify.txt require “win32/changenotify” include Win32 Wait for any writes to files in the C:\\ drive. filt…

---

## [Contracted Ruby Help](https://www.ruby-forum.com/t/contracted-ruby-help/68793)

<div class="topic-metadata">

**Author:** [@metrix](https://www.ruby-forum.com/u/metrix)\
**Replies:** 8\
**Last updated:** [September 15, 2006, 5:13pm UTC](https://www.ruby-forum.com/t/contracted-ruby-help/68793 "2006-09-15T17:13:42Z")

</div>

Hi everyone. I’m new to the Ruby world and am liking it so far. My company needs a little bit of help writing a handful of scripts to perform various tasks. They aren’t complicated scripts, we’re just busy with other…

---

## [Passenger cpu 100%!](https://www.ruby-forum.com/t/passenger-cpu-100/248151)

<div class="topic-metadata">

**Author:** [@alessiov](https://www.ruby-forum.com/u/alessiov)\
**Replies:** 0\
**Last updated:** [October 11, 2018, 4:34pm UTC](https://www.ruby-forum.com/t/passenger-cpu-100/248151 "2018-10-11T16:34:15Z")

</div>

Hi I have a rails Rails 3.2.22.5, ruby ruby 2.2.0p0 application with passenger 5. I run my application with apache2. When I make the login in the application, many passenger process start and the cpu go to 95%. When I m…

---

## [Collegarsi a wi-fi](https://www.ruby-forum.com/t/collegarsi-a-wi-fi/243366)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [September 28, 2015, 7:06pm UTC](https://www.ruby-forum.com/t/collegarsi-a-wi-fi/243366 "2015-09-28T19:06:52Z")

</div>

Buonasera, avrei bisogno di sapere come fare a collegarsi ad una rete wifi mettendo una password da un programma ruby. È possibile? Se sì, come? Grazie :slight\_smile:

---

## [Libkernel32.dylib: image not found](https://www.ruby-forum.com/t/libkernel32-dylib-image-not-found/236160)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 11, 2013, 10:34pm UTC](https://www.ruby-forum.com/t/libkernel32-dylib-image-not-found/236160 "2013-08-11T22:34:28Z")

</div>

Hi, I am encountering the error message below, in RubyMine when executed on MAC OS X 10.8.4. The same Rake task succeeds when executed in Windows 7. No libkernel32.dylib is found in the filesystem in either Windows …

---

## [MySQL \`SHOW FULL FIELDS\` statement using wrong database](https://www.ruby-forum.com/t/mysql-show-full-fields-statement-using-wrong-database/225179)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [December 19, 2012, 10:35am UTC](https://www.ruby-forum.com/t/mysql-show-full-fields-statement-using-wrong-database/225179 "2012-12-19T10:35:47Z")

</div>

Hi Everyone, I would like some help with a MySQL runtime error in my application. The error is: Mysql::Error: Table ‘urbmi5\_drupal.country\_stateprovince’ doesn’t exist: SHOW FULL FIELDS FROM country\_stateprovince Th…

---

## [Sh: irb: command not found error](https://www.ruby-forum.com/t/sh-irb-command-not-found-error/187904)

<div class="topic-metadata">

**Author:** [@toulon](https://www.ruby-forum.com/u/toulon)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 1:04pm UTC](https://www.ruby-forum.com/t/sh-irb-command-not-found-error/187904 "2010-05-01T13:04:54Z")

</div>

I am running ruby 1.8.6 and rails 2.3.5 and just started learning rails When following the tutorial on I tried to run the command script/console and it failed. After some research I found the following solution. I…

---

## [PrÃ¼fziffernmethode fÃ¼r Kontonummern](https://www.ruby-forum.com/t/pra-fziffernmethode-fa-r-kontonummern/173923)

<div class="topic-metadata">

**Author:** [@zuwiki](https://www.ruby-forum.com/u/zuwiki)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 10:21am UTC](https://www.ruby-forum.com/t/pra-fziffernmethode-fa-r-kontonummern/173923 "2009-08-18T10:21:15Z")

</div>

Hallo, momentan befasse ich mich mit der Generierung von DTAUS-Dateien. Klappt dank DTAUS-Datei anlegen auch ganz gut. Allerdings fehlt bei der Generierung die ÃœberprÃ¼fung, ob es sich um valide BLZ und Kontonummern…

---

## [Failing to install act\_as\_ferret](https://www.ruby-forum.com/t/failing-to-install-act-as-ferret/163500)

<div class="topic-metadata">

**Author:** [@itchy](https://www.ruby-forum.com/u/itchy)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 12:40am UTC](https://www.ruby-forum.com/t/failing-to-install-act-as-ferret/163500 "2009-03-21T00:40:26Z")

</div>

I haven’t used ferret in a about a year but before that I had successfully used acts\_as\_ferret and it worked well. But I am failing to get newer versions of the plugin to work. I installed the latest ferret gem then …

---

## [A question of style](https://www.ruby-forum.com/t/a-question-of-style/219278)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 5\
**Last updated:** [April 26, 2012, 1:56pm UTC](https://www.ruby-forum.com/t/a-question-of-style/219278 "2012-04-26T13:56:36Z")

</div>

When you write something like def foo(var) if test(var) bar(…) log(…) else bar(…) log(…) end end tools like reek complain (two duplications, long method,…), and somehow push you to write def foo(var) test(va…

---

## [Rails 2.3 not supported?](https://www.ruby-forum.com/t/rails-2-3-not-supported/217452)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 15, 2012, 6:39am UTC](https://www.ruby-forum.com/t/rails-2-3-not-supported/217452 "2012-04-15T06:39:55Z")

</div>

The security fix announcement today sent to the rubyonrails-security group implied that Rails 2.3 is no longer supported. Is that the case? Did I miss an announcement somewhere? Is there a list of supported release…

---

## [DCI v0.1.0 released](https://www.ruby-forum.com/t/dci-v0-1-0-released/216542)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [February 8, 2012, 7:20am UTC](https://www.ruby-forum.com/t/dci-v0-1-0-released/216542 "2012-02-08T07:20:34Z")

</div>

DCI 0.1.0 has been released. Faithful DCI framework for Ruby application development. home: https://rubyworks.github.com/dci code: GitHub - rubyworks/dci: Experiment in DCI for Ruby mail: http://groups.google.com/gr…

---

## [Init.d script](https://www.ruby-forum.com/t/init-d-script/193277)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 5\
**Last updated:** [December 12, 2010, 12:21pm UTC](https://www.ruby-forum.com/t/init-d-script/193277 "2010-12-12T12:21:23Z")

</div>

How should a nginx script in init.d for automatic restart look like on Debian 5?

---

## [You dream API for a text editor](https://www.ruby-forum.com/t/you-dream-api-for-a-text-editor/184107)

<div class="topic-metadata">

**Author:** [@scrajesh](https://www.ruby-forum.com/u/scrajesh)\
**Replies:** 5\
**Last updated:** [February 27, 2010, 12:03am UTC](https://www.ruby-forum.com/t/you-dream-api-for-a-text-editor/184107 "2010-02-27T00:03:01Z")

</div>

Hi Friends, I am doing a bit of research for a project I am helping out with - a text editor - and the following question has been asked: what would your dream API look like and be capable of? Obviously, the API will …

---

## [Joins + conditions problem](https://www.ruby-forum.com/t/joins-conditions-problem/160359)

<div class="topic-metadata">

**Author:** [@fRAnKEnSTEin](https://www.ruby-forum.com/u/fRAnKEnSTEin)\
**Replies:** 5\
**Last updated:** [February 16, 2009, 7:09pm UTC](https://www.ruby-forum.com/t/joins-conditions-problem/160359 "2009-02-16T19:09:54Z")

</div>

hi, I have a table for example Product, and another table called Picture (Product has many pictures, Picture belongs to Product). Now let’s say that i want to retrieve all the Product and its related pictures, i do t…

---

## [Xmlhttprequest for updating](https://www.ruby-forum.com/t/xmlhttprequest-for-updating/148219)

<div class="topic-metadata">

**Author:** [@da991319](https://www.ruby-forum.com/u/da991319)\
**Replies:** 5\
**Last updated:** [September 10, 2008, 7:04pm UTC](https://www.ruby-forum.com/t/xmlhttprequest-for-updating/148219 "2008-09-10T19:04:10Z")

</div>

Hello, I am updating an object with an AJAX form: view: \<% remote\_form\_for(@sample, :update =\> “content2”) do %\> parameter: \<%= select("sample","parameter",Parameter.find(:all).collect {|p| \[p.descriptio…

---

## [About nginx's bandwidth](https://www.ruby-forum.com/t/about-nginxs-bandwidth/145816)

<div class="topic-metadata">

**Author:** [@cq\_wei](https://www.ruby-forum.com/u/cq_wei)\
**Replies:** 5\
**Last updated:** [August 15, 2008, 9:31pm UTC](https://www.ruby-forum.com/t/about-nginxs-bandwidth/145816 "2008-08-15T21:31:35Z")

</div>

hello,i am a linux system administrator ,and i have problem now,the nginx as picture server,the bandwidth is higher than apache in the same condition.For example,established connections is 3000,apache’s bandwidth is …

---

## [Newbie Question: Howto insert a variable into a new form](https://www.ruby-forum.com/t/newbie-question-howto-insert-a-variable-into-a-new-form/143170)

<div class="topic-metadata">

**Author:** [@ptremblett](https://www.ruby-forum.com/u/ptremblett)\
**Replies:** 5\
**Last updated:** [July 16, 2008, 12:26am UTC](https://www.ruby-forum.com/t/newbie-question-howto-insert-a-variable-into-a-new-form/143170 "2008-07-16T00:26:28Z")

</div>

I am trying to populate some fields in a new form before I display it. I know that if I do this: @mapper = Mapper.new(:consultant\_id =\> ‘Fred’) It works and Fred is displayed in the form but in this case consultant\_id…

---

## [Callback's question](https://www.ruby-forum.com/t/callbacks-question/134657)

<div class="topic-metadata">

**Author:** [@Ragnarok](https://www.ruby-forum.com/u/Ragnarok)\
**Replies:** 5\
**Last updated:** [April 15, 2008, 2:40am UTC](https://www.ruby-forum.com/t/callbacks-question/134657 "2008-04-15T02:40:31Z")

</div>

I hava a reply model: class Reply \< ActiveRecord::Base belongs\_to :topic before\_create { |record| Topic.find(record.topic\_id).update\_attributes!(:last\_reply\_id =\> record.id)} end And a topic model: class Topic \< Act…

---

## [Eruby - How to get my grubby mittens on the URL?](https://www.ruby-forum.com/t/eruby-how-to-get-my-grubby-mittens-on-the-url/118973)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [November 4, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/eruby-how-to-get-my-grubby-mittens-on-the-url/118973 "2007-11-04T14:05:57Z")

</div>

Hi all! 8) Suppose I have some ruby code in a .rhtml -file, which is processed by eruby. How can I get the url string of the page? (so I can chop it up). Whats a good place for reference on this? Csmr

---

## [What is up with wiki.rubyonrails.org?](https://www.ruby-forum.com/t/what-is-up-with-wiki-rubyonrails-org/114767)

<div class="topic-metadata">

**Author:** [@creativelogic](https://www.ruby-forum.com/u/creativelogic)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/what-is-up-with-wiki-rubyonrails-org/114767 "2007-09-25T23:10:30Z")

</div>

The service has been “temporarily” down every time I’ve ever tried to use it.

---

## [Encyclopedia of Life starts on Rails - seeking open source d](https://www.ruby-forum.com/t/encyclopedia-of-life-starts-on-rails-seeking-open-source-d/115131)

<div class="topic-metadata">

**Author:** [@peetucket](https://www.ruby-forum.com/u/peetucket)\
**Replies:** 5\
**Last updated:** [September 21, 2007, 2:38am UTC](https://www.ruby-forum.com/t/encyclopedia-of-life-starts-on-rails-seeking-open-source-d/115131 "2007-09-21T02:38:14Z")

</div>

Hello all, I am a software developer at the Encyclopedia of Life project (http:// www.eol.org), a recently announced effort funded by the MacArthur and Sloan Foundations to produce a web page for each of the 1.8 milli…

---

## [FlexImage - Must upload image?](https://www.ruby-forum.com/t/fleximage-must-upload-image/80053)

<div class="topic-metadata">

**Author:** [@jkay](https://www.ruby-forum.com/u/jkay)\
**Replies:** 5\
**Last updated:** [December 21, 2006, 3:42am UTC](https://www.ruby-forum.com/t/fleximage-must-upload-image/80053 "2006-12-21T03:42:40Z")

</div>

I’ve got the flexImage plugin working with my RESTful app (thanks to Alex W.). The problem is when I render the ‘create’ method WITHOUT uploading an image, I get an invalid image error. My ‘new’ view has fields for th…

---

## [Get most recent SQL executed from inside script\\console?](https://www.ruby-forum.com/t/get-most-recent-sql-executed-from-inside-script-console/76861)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 5\
**Last updated:** [November 22, 2006, 9:47pm UTC](https://www.ruby-forum.com/t/get-most-recent-sql-executed-from-inside-script-console/76861 "2006-11-22T21:47:29Z")

</div>

I’m on edge rails, WinXP… When I do something like: Product.find(:all) I can open my development log file and find the SQL statements that were executed behind the scenes. But I’m lazy and hate switching between…

---

## [Ruby and SQLite3](https://www.ruby-forum.com/t/ruby-and-sqlite3/75093)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [November 9, 2006, 9:48pm UTC](https://www.ruby-forum.com/t/ruby-and-sqlite3/75093 "2006-11-09T21:48:25Z")

</div>

Hi, I’m just a beginner in Ruby. Have just installed Rails and Gems. I am using SQLite3 as the db. When going thro the “CookBook” tutorial. after creating the recipes table in the sqlite3 database. and changing the…

---

## [Constructing a string from hex value](https://www.ruby-forum.com/t/constructing-a-string-from-hex-value/67750)

<div class="topic-metadata">

**Author:** [@Srdjan\_M](https://www.ruby-forum.com/u/Srdjan_M)\
**Replies:** 5\
**Last updated:** [September 6, 2006, 5:20pm UTC](https://www.ruby-forum.com/t/constructing-a-string-from-hex-value/67750 "2006-09-06T17:20:18Z")

</div>

hi, How do I construct a string out of hex values? In other words I want to give exact hex value for each byte in the string. So I would have soemthing like 0x2a, 0x7e, 0x0a, 0x7e If I go through Fixnum I get my str…

---

## [Unit tests - NilClass problem](https://www.ruby-forum.com/t/unit-tests-nilclass-problem/102133)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 5\
**Last updated:** [August 15, 2006, 2:16pm UTC](https://www.ruby-forum.com/t/unit-tests-nilclass-problem/102133 "2006-08-15T14:16:51Z")

</div>

Hi! Yesterday I started to write my unit tests for the fist time using rails. I’m using this method: http://blog.codahale.com/2005/12/23/a-rails-howto-simplify-your-unit-tests/ My customer\_test.rb looks like this: r…

---

## [Rubymanual.org and railmanual.com?](https://www.ruby-forum.com/t/rubymanual-org-and-railmanual-com/101592)

<div class="topic-metadata">

**Author:** [@tesla](https://www.ruby-forum.com/u/tesla)\
**Replies:** 5\
**Last updated:** [August 8, 2006, 8:35am UTC](https://www.ruby-forum.com/t/rubymanual-org-and-railmanual-com/101592 "2006-08-08T08:35:00Z")

</div>

Who runs these sites and why are thye never mentioned on any of the other Rubyist websites? How are they creating the documentation? -Tesla

---

## [Reading the api docs help](https://www.ruby-forum.com/t/reading-the-api-docs-help/96648)

<div class="topic-metadata">

**Author:** [@tripdragon](https://www.ruby-forum.com/u/tripdragon)\
**Replies:** 5\
**Last updated:** [June 30, 2006, 6:50pm UTC](https://www.ruby-forum.com/t/reading-the-api-docs-help/96648 "2006-06-30T18:50:17Z")

</div>

Ok so I am at a point that I read my entire book front to back and around and a around. And now digging through it again … But I am now missing a key piece to the clues is the api. I found http://www.gotapi.com/index.…

---

## [:conditions =\> \["phone like '%:phone%'" , {:phone =\> "555"}\]](https://www.ruby-forum.com/t/conditions-phone-like-phone-phone-555/55359)

<div class="topic-metadata">

**Author:** [@aravet](https://www.ruby-forum.com/u/aravet)\
**Replies:** 5\
**Last updated:** [March 20, 2006, 3:07pm UTC](https://www.ruby-forum.com/t/conditions-phone-like-phone-phone-555/55359 "2006-03-20T15:07:35Z")

</div>

Hi all, What’s wrong with the way I specify the condition in : Person.find :all, :conditions =\> \["phone like '%:phone%'" , {:phone =\> “555”}\] ? It translates to (note the two ’ between the two ") SELECT \* FROM pe…

---

## [Newbie question/help 2 tables, 'sync' cell values](https://www.ruby-forum.com/t/newbie-question-help-2-tables-sync-cell-values/50985)

<div class="topic-metadata">

**Author:** [@Alexandru\_Andrei](https://www.ruby-forum.com/u/Alexandru_Andrei)\
**Replies:** 5\
**Last updated:** [December 23, 2005, 6:36pm UTC](https://www.ruby-forum.com/t/newbie-question-help-2-tables-sync-cell-values/50985 "2005-12-23T18:36:24Z")

</div>

I have to \<\< search for each problems.room\_id=rooms.id and do problems.room\_no=rooms.room \>\> HOW? More details: I have the following tables: a “rooms” table, with fields (id,room,create…) a “problems” table with fi…

---

## [Cheaper rails hosting?](https://www.ruby-forum.com/t/cheaper-rails-hosting/207351)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 24, 2011, 4:55pm UTC](https://www.ruby-forum.com/t/cheaper-rails-hosting/207351 "2011-05-24T16:55:16Z")

</div>

I have had an account with hostingrails.com in the past. I believe their cheaper plan is like $10 a month and they have decent support. I am not sure I can get much cheaper than that really, but I thought I’d ask anyw…

---

## [Rails 3.0.3 and visit\_CoercibleString errors](https://www.ruby-forum.com/t/rails-3-0-3-and-visit-coerciblestring-errors/199209)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 6\
**Last updated:** [November 23, 2010, 5:45pm UTC](https://www.ruby-forum.com/t/rails-3-0-3-and-visit-coerciblestring-errors/199209 "2010-11-23T17:45:20Z")

</div>

From having no errors with 3.0.2 I now see lots of these errors when running my tests. undefined method \`visit\_CoercibleString’ for #\<Arel::Visitors::MySQL: 0x000001074f4298\> Anyone know what this is?

---

## [Problems with parsing params for Active Record](https://www.ruby-forum.com/t/problems-with-parsing-params-for-active-record/189109)

<div class="topic-metadata">

**Author:** [@tonymocha](https://www.ruby-forum.com/u/tonymocha)\
**Replies:** 6\
**Last updated:** [May 25, 2010, 8:33am UTC](https://www.ruby-forum.com/t/problems-with-parsing-params-for-active-record/189109 "2010-05-25T08:33:28Z")

</div>

Hi, I have come into an odd problem that I couldn’t figure out why. Basically, what I did is to save a record from the form, but there’s some field that parsed to the active record returns as nil. Example: article =…

---

## [Mysql on a fresh snow leopard install](https://www.ruby-forum.com/t/mysql-on-a-fresh-snow-leopard-install/180287)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 6\
**Last updated:** [December 20, 2009, 4:50pm UTC](https://www.ruby-forum.com/t/mysql-on-a-fresh-snow-leopard-install/180287 "2009-12-20T16:50:14Z")

</div>

Simply, what’s the best way for me to put mysql on a fresh snow leopard install? Do I need xcode installed first? Thanks. bb

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

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