# Top

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

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

---

## [Ruby Readline - and why ruby can learn from python](https://www.ruby-forum.com/t/ruby-readline-and-why-ruby-can-learn-from-python/209612)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [July 19, 2011, 3:21am UTC](https://www.ruby-forum.com/t/ruby-readline-and-why-ruby-can-learn-from-python/209612 "2011-07-19T03:21:46Z")

</div>

Lately I wanted to have completion work for some of my scripts where I use readline. For some reason, this was easier in bash with the command “complete” than in pure ruby, and I wondered about this … Now then, I loo…

---

## [How to write manage created\_on and created\_by via mixin?](https://www.ruby-forum.com/t/how-to-write-manage-created-on-and-created-by-via-mixin/87369)

<div class="topic-metadata">

**Author:** [@Rob\_Greene](https://www.ruby-forum.com/u/Rob_Greene)\
**Replies:** 5\
**Last updated:** [March 27, 2006, 4:52am UTC](https://www.ruby-forum.com/t/how-to-write-manage-created-on-and-created-by-via-mixin/87369 "2006-03-27T04:52:11Z")

</div>

Hi! Definite newbie here - I’m working through this like-hate relationship with Ruby and Rails right now… sometimes things work really well (like blobs seem to rock) but other times, I dunno! :slight\_smile: Anyway…

---

## [Ruby on Rails: rails s or rails sever not working on mac](https://www.ruby-forum.com/t/ruby-on-rails-rails-s-or-rails-sever-not-working-on-mac/262527)

<div class="topic-metadata">

**Author:** [@upFlow9](https://www.ruby-forum.com/u/upFlow9)\
**Replies:** 0\
**Last updated:** [February 21, 2022, 3:22am UTC](https://www.ruby-forum.com/t/ruby-on-rails-rails-s-or-rails-sever-not-working-on-mac/262527 "2022-02-21T03:22:54Z")

</div>

Here is my process What I tried: uninstalling & re-installing rails and railties updates rails from 4.2.5 \> 4.2.8 bundle install As for the BigDecimal below, I have uninstalled it and re-installed the gem. I also cha…

---

## [Compiling included "pure" C code for FFI gem](https://www.ruby-forum.com/t/compiling-included-pure-c-code-for-ffi-gem/226764)

<div class="topic-metadata">

**Author:** [@Colin\_Surprenant](https://www.ruby-forum.com/u/Colin_Surprenant)\
**Replies:** 4\
**Last updated:** [February 21, 2013, 12:59am UTC](https://www.ruby-forum.com/t/compiling-included-pure-c-code-for-ffi-gem/226764 "2013-02-21T00:59:27Z")

</div>

Hi, I create a gem which includes C code and FFI bindings for it (GitHub - colinsurprenant/geokdtree: Fast Ruby FFI k-d tree with support for latitude/longitude and geo distance range search). On JRuby 1.7.2 when inst…

---

## [Nginx-1.3.15](https://www.ruby-forum.com/t/nginx-1-3-15/227720)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 6\
**Last updated:** [April 10, 2013, 3:09am UTC](https://www.ruby-forum.com/t/nginx-1-3-15/227720 "2013-04-10T03:09:10Z")

</div>

Changes with nginx 1.3.15 26 Mar 2013 \*) Change: opening and closing a connection without sending any data in it is no longer logged to access\_log with error code 400. \*) Feat…

---

## [Proxy\_cache only if custom header is set by upstream](https://www.ruby-forum.com/t/proxy-cache-only-if-custom-header-is-set-by-upstream/219763)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 15, 2012, 6:25pm UTC](https://www.ruby-forum.com/t/proxy-cache-only-if-custom-header-is-set-by-upstream/219763 "2012-05-15T18:25:43Z")

</div>

Hi, i know how to prevent caching if custom headers are set by upstream with proxy\_cache\_bypass and proxy\_no\_cache. This time i’d like to do the opposite, i want the response to be cached only if a custom header is p…

---

## [Cucumber step definitions vs. RSpec examples](https://www.ruby-forum.com/t/cucumber-step-definitions-vs-rspec-examples/164135)

<div class="topic-metadata">

**Author:** [@devbanana](https://www.ruby-forum.com/u/devbanana)\
**Replies:** 8\
**Last updated:** [March 30, 2009, 11:33pm UTC](https://www.ruby-forum.com/t/cucumber-step-definitions-vs-rspec-examples/164135 "2009-03-30T23:33:50Z")

</div>

Hi, So, I’m confused. I’ve been trying to use Cucumber and RSpec, but step definitions and RSpec examples just seem to be overlapping. What should go in either one of these? For instance, let’s say I’m testing if a …

---

## [Nginx Problem with fastcgi\_param](https://www.ruby-forum.com/t/nginx-problem-with-fastcgi-param/137537)

<div class="topic-metadata">

**Author:** [@Erik\_Osterman](https://www.ruby-forum.com/u/Erik_Osterman)\
**Replies:** 3\
**Last updated:** [May 14, 2008, 11:24am UTC](https://www.ruby-forum.com/t/nginx-problem-with-fastcgi-param/137537 "2008-05-14T11:24:01Z")

</div>

We’ve been running Nginx(0.5.33)+FastCGI(php-cgi 5.1.6) on Fedora 6 for 1 week now and very happy with it. Before this, we were using Nginx as strictly a HTTP load balancer. I have encountered an issue migrating to Fa…

---

## [Strange intermittent no search results problem](https://www.ruby-forum.com/t/strange-intermittent-no-search-results-problem/108364)

<div class="topic-metadata">

**Author:** [@gawk007](https://www.ruby-forum.com/u/gawk007)\
**Replies:** 8\
**Last updated:** [July 4, 2007, 9:42am UTC](https://www.ruby-forum.com/t/strange-intermittent-no-search-results-problem/108364 "2007-07-04T09:42:28Z")

</div>

Hello, First the specs: ruby 1.8.6, rails 1.2.3, ferret 0.11.4, mongrel 1.0.1, mongrel\_cluster 0.2.1 And the model’s aaf config: Ferret search engine acts\_as\_ferret({:fields =\> {:name =\> {:boost =\> 10}, :s…

---

## [Editable Data Grid?](https://www.ruby-forum.com/t/editable-data-grid/154771)

<div class="topic-metadata">

**Author:** [@sa125](https://www.ruby-forum.com/u/sa125)\
**Replies:** 2\
**Last updated:** [December 4, 2008, 8:11am UTC](https://www.ruby-forum.com/t/editable-data-grid/154771 "2008-12-04T08:11:34Z")

</div>

Hello, Being a new transfer to rails from ASP.NET, I’m looking for some help on how to approach an old problem with RoR. I build and maintain my company’s internal data site. We deal with finances, and thus I have pa…

---

## [Open-uri used by threads cause uninitialized constant OpenURI::Net](https://www.ruby-forum.com/t/open-uri-used-by-threads-cause-uninitialized-constant-openuri-net/116928)

<div class="topic-metadata">

**Author:** [@Ken\_Date](https://www.ruby-forum.com/u/Ken_Date)\
**Replies:** 2\
**Last updated:** [October 13, 2007, 1:34pm UTC](https://www.ruby-forum.com/t/open-uri-used-by-threads-cause-uninitialized-constant-openuri-net/116928 "2007-10-13T13:34:52Z")

</div>

e$B$3$s$K$A$O!#0KC#$H?=$7$^$9!#e(B e$BJ#?t%9%l%C%I$Ge(B open-uri e$B$Ne(B open e$B$r;H$&$H!"e(B uninitialized constant OpenURI::Net (NameError) e$B$K$J$j$^$9!#e(B open-uri e$B$,%a%=%C%IFb$Ge(B net/http e$B$re(B requir…

---

## [How to use migrations to convert engine type to InnoDB?](https://www.ruby-forum.com/t/how-to-use-migrations-to-convert-engine-type-to-innodb/83896)

<div class="topic-metadata">

**Author:** [@marstoni](https://www.ruby-forum.com/u/marstoni)\
**Replies:** 2\
**Last updated:** [January 30, 2007, 8:27pm UTC](https://www.ruby-forum.com/t/how-to-use-migrations-to-convert-engine-type-to-innodb/83896 "2007-01-30T20:27:43Z")

</div>

I’ve been looking through some references but can’t seem to find the right syntax and commands. I basically just want to have a migration to convert my db and all my tables to InnoDB. Does anyone know a tutorial or t…

---

## [\[ANN\] Webrat 0.1.0 released - Ruby Acceptance Testing for Web applications](https://www.ruby-forum.com/t/ann-webrat-0-1-0-released-ruby-acceptance-testing-for-web-applications/121666)

<div class="topic-metadata">

**Author:** [@bryan123](https://www.ruby-forum.com/u/bryan123)\
**Replies:** 5\
**Last updated:** [November 29, 2007, 10:14pm UTC](https://www.ruby-forum.com/t/ann-webrat-0-1-0-released-ruby-acceptance-testing-for-web-applications/121666 "2007-11-29T22:14:28Z")

</div>

Hey guys, We developed this plugin while writing my first real set of RSpec stories. It’s still missing a lot of functionality, but it’s useful to us as is, so I’m shipping 0.1.0. (Patches welcome. :slight\_smile: ) C…

---

## [Recursive directory listing](https://www.ruby-forum.com/t/recursive-directory-listing/104465)

<div class="topic-metadata">

**Author:** [@Jesper](https://www.ruby-forum.com/u/Jesper)\
**Replies:** 5\
**Last updated:** [May 18, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/recursive-directory-listing/104465 "2007-05-18T20:01:00Z")

</div>

Hello, I’ve made a small script that gets username + password from a form, and uses them to log into an ftp-account, where it then search for specific files (\*.mp3, for example). I read somewhere (online, not in the …

---

## [Setting and initializing instance variables on RubyClasses](https://www.ruby-forum.com/t/setting-and-initializing-instance-variables-on-rubyclasses/191128)

<div class="topic-metadata">

**Author:** [@valdar](https://www.ruby-forum.com/u/valdar)\
**Replies:** 7\
**Last updated:** [July 26, 2010, 6:01pm UTC](https://www.ruby-forum.com/t/setting-and-initializing-instance-variables-on-rubyclasses/191128 "2010-07-26T18:01:48Z")

</div>

Hello, How can I go about setting an instance variable on a RubyClass? Here’s some code for context: \[RubyClass("Graphics")\] public class Graphics { \[RubyMethod("frame\_rate", RubyMethodAttributes.PublicSingleton)\]…

---

## [Je me coucherais moins bÃªte ce soir](https://www.ruby-forum.com/t/je-me-coucherais-moins-ba-te-ce-soir/171313)

<div class="topic-metadata">

**Author:** [@guillaume\_belleguic](https://www.ruby-forum.com/u/guillaume_belleguic)\
**Replies:** 7\
**Last updated:** [June 30, 2009, 6:52pm UTC](https://www.ruby-forum.com/t/je-me-coucherais-moins-ba-te-ce-soir/171313 "2009-06-30T18:52:20Z")

</div>

Bonjour, Je viens de dÃ©couvrir l’existance des mÃ©thodes after\_find after\_initialize dans les callbacks. pour after\_initialize j’ai dÃ©jÃ plein de cas d’utilisation en tÃªte, mais pour after\_find je ne vois pas tr…

---

## [Ruby app using svg under win32](https://www.ruby-forum.com/t/ruby-app-using-svg-under-win32/62140)

<div class="topic-metadata">

**Author:** [@Marco\_Milanesi](https://www.ruby-forum.com/u/Marco_Milanesi)\
**Replies:** 7\
**Last updated:** [June 1, 2006, 7:54pm UTC](https://www.ruby-forum.com/t/ruby-app-using-svg-under-win32/62140 "2006-06-01T19:54:52Z")

</div>

hi, I'm very new to ruby, so I'm writing this email to just ask the doability of this project in ruby with ruby/gtk2 bindings. I need to make this app that loads an svg (a planimetry of a building) file and displays …

---

## [Newbie: can't install on to os x 10.8.2](https://www.ruby-forum.com/t/newbie-cant-install-on-to-os-x-10-8-2/227404)

<div class="topic-metadata">

**Author:** [@chas](https://www.ruby-forum.com/u/chas)\
**Replies:** 4\
**Last updated:** [March 18, 2013, 3:04pm UTC](https://www.ruby-forum.com/t/newbie-cant-install-on-to-os-x-10-8-2/227404 "2013-03-18T15:04:48Z")

</div>

I am very eager basically excited to use VisualRuby unfortunately: went thru the entire homebrew , gtk , vr install , and it all seemed to have installed ok, but when I tried to launch vr I got the following process:5…

---

## [ArgumentError in HomeController#index](https://www.ruby-forum.com/t/argumenterror-in-homecontroller-index/222443)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [August 29, 2012, 4:48am UTC](https://www.ruby-forum.com/t/argumenterror-in-homecontroller-index/222443 "2012-08-29T04:48:24Z")

</div>

Hey guys, I’m new to ruby/rails and trying to sort something… I just created an app with composer, http://railsapps.github.com/rails-composer/ I used the command: rails new myapp -m https://raw.github.com/RailsApps/…

---

## [Render :js =\> "window.close();" wont work](https://www.ruby-forum.com/t/render-js-window-close-wont-work/218304)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 27, 2012, 5:11pm UTC](https://www.ruby-forum.com/t/render-js-window-close-wont-work/218304 "2012-03-27T17:11:47Z")

</div>

when i try to do the following in a action render :js =\> “window.close();” wont work it still response in the browser,but the window wont close. i dont know why.thx! \*Ըϲͬ! ʯҾ ϢѧԺ ϵӦ÷ Dalian NEUSOFT Institute of In…

---

## [Void value expression](https://www.ruby-forum.com/t/void-value-expression/183192)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [February 9, 2010, 11:28pm UTC](https://www.ruby-forum.com/t/void-value-expression/183192 "2010-02-09T23:28:38Z")

</div>

I noticed that this code: def go a = true b = nil return a.nil? or b.nil? end puts go actually returns false in jruby–I would have expected it to return true, and in MRI (1.8.6, 1.9.1), it yields: bad.rb:4: void…

---

## [\[RSpec\] problems with a rails controller spec using AASM](https://www.ruby-forum.com/t/rspec-problems-with-a-rails-controller-spec-using-aasm/167803)

<div class="topic-metadata">

**Author:** [@Andy\_Henson](https://www.ruby-forum.com/u/Andy_Henson)\
**Replies:** 2\
**Last updated:** [May 12, 2009, 7:33pm UTC](https://www.ruby-forum.com/t/rspec-problems-with-a-rails-controller-spec-using-aasm/167803 "2009-05-12T19:33:56Z")

</div>

Hi All, I’m trying to spec out a Rails controller and I’m coming up with a bit of a problem. I’m pretty sure it’s something fairly simple but I can no longer see the wood for the trees. I have a Jobs controller that …

---

## [Turning off InvalidAuthenticityToken for a RESTful Service](https://www.ruby-forum.com/t/turning-off-invalidauthenticitytoken-for-a-restful-service/127836)

<div class="topic-metadata">

**Author:** [@eric99](https://www.ruby-forum.com/u/eric99)\
**Replies:** 2\
**Last updated:** [February 1, 2008, 8:25pm UTC](https://www.ruby-forum.com/t/turning-off-invalidauthenticitytoken-for-a-restful-service/127836 "2008-02-01T20:25:49Z")

</div>

Hi, I was trying to write a RESTful service and was planning on testing via tools such as cURL and the basic http libs. With the InvalidAuthenticityToken piece that is turned by default in Rails 2.0.2, I have to prov…

---

## [Threads, Queues and possible memory leak](https://www.ruby-forum.com/t/threads-queues-and-possible-memory-leak/141499)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 3\
**Last updated:** [June 26, 2008, 7:46pm UTC](https://www.ruby-forum.com/t/threads-queues-and-possible-memory-leak/141499 "2008-06-26T19:46:09Z")

</div>

I have a simple thread pool of \[default\] 20 threads running. They read a task from a queue and execute it and then go back to waiting on the queue. Task popped from the queue contains a block and gets executed within …

---

## [Newbie: How to use text\_field with Java Script](https://www.ruby-forum.com/t/newbie-how-to-use-text-field-with-java-script/100910)

<div class="topic-metadata">

**Author:** [@woow](https://www.ruby-forum.com/u/woow)\
**Replies:** 6\
**Last updated:** [August 2, 2006, 3:43am UTC](https://www.ruby-forum.com/t/newbie-how-to-use-text-field-with-java-script/100910 "2006-08-02T03:43:19Z")

</div>

How could I generate above text filed using ruby? I am not sure how to give the options such as onchange, onfocus, id and so on? could some one please help.

---

## ["self.class" vs. "(class \<\< self; self; end)"](https://www.ruby-forum.com/t/self-class-vs-class-self-self-end/96623)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [January 25, 2006, 12:54am UTC](https://www.ruby-forum.com/t/self-class-vs-class-self-self-end/96623 "2006-01-25T00:54:40Z")

</div>

Is there any difference between these? def test1() msg = ‘bar’ self.class.class\_eval do define\_method(‘foo’) { msg } end end def test2 msg = ‘baz’ (class \<\< self; self; end).class\_eval do define\_method(‘foo’) {…

---

## [Translate from Python to Ruby](https://www.ruby-forum.com/t/translate-from-python-to-ruby/74697)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 6\
**Last updated:** [December 27, 2005, 6:45pm UTC](https://www.ruby-forum.com/t/translate-from-python-to-ruby/74697 "2005-12-27T18:45:13Z")

</div>

Hi! I am trying to get a powerset (all subsets) of a set. I couldn’t find a code in Ruby, but I found a code in Python. I’m trying to convert it to Ruby but it’s not done easily. def powset(seq): if seq: head, tail…

---

## [Graphs and Charts 0.2.x (Bar Chart for Glimmer DSL for LibUI)](https://www.ruby-forum.com/t/graphs-and-charts-0-2-x-bar-chart-for-glimmer-dsl-for-libui/264480)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 1\
**Last updated:** [January 2, 2024, 1:59am UTC](https://www.ruby-forum.com/t/graphs-and-charts-0-2-x-bar-chart-for-glimmer-dsl-for-libui/264480 "2024-01-02T01:59:45Z")

</div>

Graphs and Charts 0.2.2 adds a new Bar Chart Custom Control for Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development Cross-Platform Native GUI Library), in addition to the existing Line Graph Custom Control. …

---

## [Selenium+Autotest: how to run browser in background?](https://www.ruby-forum.com/t/selenium-autotest-how-to-run-browser-in-background/220624)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 22, 2012, 11:38am UTC](https://www.ruby-forum.com/t/selenium-autotest-how-to-run-browser-in-background/220624 "2012-06-22T11:38:28Z")

</div>

Hey guys After hours of hard work I finally managed to set up my development environment to run cucumber scenarios using autotest and selenium. What’s a bit bugging is the fact that Firefox always jumps to the foregr…

---

## [How to pass user input data to variables to solve formula](https://www.ruby-forum.com/t/how-to-pass-user-input-data-to-variables-to-solve-formula/159874)

<div class="topic-metadata">

**Author:** [@lecandotnet](https://www.ruby-forum.com/u/lecandotnet)\
**Replies:** 1\
**Last updated:** [March 12, 2009, 6:09am UTC](https://www.ruby-forum.com/t/how-to-pass-user-input-data-to-variables-to-solve-formula/159874 "2009-03-12T06:09:28Z")

</div>

I known that to compute series of number, we have to puts #{(2+19)/3} we have answer = 7 How to enter inputs from keyboard to do math, for variables as number 2 above, such as puts #{(var +19)/3} I tried puts var, …

---

## [RoR and controle de text\_field](https://www.ruby-forum.com/t/ror-and-controle-de-text-field/177504)

<div class="topic-metadata">

**Author:** [@khzied](https://www.ruby-forum.com/u/khzied)\
**Replies:** 8\
**Last updated:** [October 19, 2009, 2:30pm UTC](https://www.ruby-forum.com/t/ror-and-controle-de-text-field/177504 "2009-10-19T14:30:55Z")

</div>

Salut tout le monde, J’ai un pb au niveau des “form\_tag”. Je veux controler les données saisies dans le champ text\_field… Comme par exemple, dans le cas où j’accepte pas qu’à l’envoie des informations, un champ soit v…

---

## [\[ANN\] ActiveRecord + memcache = cached\_model](https://www.ruby-forum.com/t/ann-activerecord-memcache-cached-model/52690)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 8\
**Last updated:** [January 18, 2006, 3:46am UTC](https://www.ruby-forum.com/t/ann-activerecord-memcache-cached-model/52690 "2006-01-18T03:46:25Z")

</div>

Courtesy of The Robot Co-op. $ yes | sudo gem install cached\_model Or, you can download cached\_model and memcache-client (our zippy-fast memcache library, required) from: http://rubyforge.org/frs/?group\_id=1266 I do…

---

## [Webrick / winxp won't stop serving cached file?](https://www.ruby-forum.com/t/webrick-winxp-wont-stop-serving-cached-file/50978)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 8\
**Last updated:** [December 23, 2005, 4:34pm UTC](https://www.ruby-forum.com/t/webrick-winxp-wont-stop-serving-cached-file/50978 "2005-12-23T16:34:49Z")

</div>

Hi Working through the tut material in teh PP book (agile dev with rails) on a laptop running winxp. Creating the “admin” application, things generally work great. Except: at teh end of chapter 6, when we update teh …

---

## [Nginx custom module multi process help](https://www.ruby-forum.com/t/nginx-custom-module-multi-process-help/244796)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [June 16, 2016, 7:20pm UTC](https://www.ruby-forum.com/t/nginx-custom-module-multi-process-help/244796 "2016-06-16T19:20:14Z")

</div>

Hi, I’m new to nginx development and I have to work on a custom nginx module. The module is designed to provide a list of variables for the user to use in the nginx.conf file. Whenever those variables are used, the …

---

## [JSON::ParserError in controller](https://www.ruby-forum.com/t/json-parsererror-in-controller/225406)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [January 7, 2013, 8:10pm UTC](https://www.ruby-forum.com/t/json-parsererror-in-controller/225406 "2013-01-07T20:10:50Z")

</div>

Hi All I’m trying to build an application which requires to scrap information from a webpage. On trying to perform the action, I get an error while trying to convert the html data to JSON. Has anyone experienced this …

---

## [Additional plugin migrations rake tasks](https://www.ruby-forum.com/t/additional-plugin-migrations-rake-tasks/129542)

<div class="topic-metadata">

**Author:** [@Sven\_F](https://www.ruby-forum.com/u/Sven_F)\
**Replies:** 4\
**Last updated:** [February 20, 2008, 7:41pm UTC](https://www.ruby-forum.com/t/additional-plugin-migrations-rake-tasks/129542 "2008-02-20T19:41:41Z")

</div>

I’d like to add these rake tasks to Engines: http://pastie.caboo.se/154218 The background is that we could use something like this for Mephisto to give users a way to avoid version number clashes with their plugin mi…

---

## [Gem ideas](https://www.ruby-forum.com/t/gem-ideas/116486)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 4\
**Last updated:** [October 6, 2007, 6:04am UTC](https://www.ruby-forum.com/t/gem-ideas/116486 "2007-10-06T06:04:43Z")

</div>

I have a few ideas I’d like to see the Gem tool. Please correct me if they don’t already exist! options, like the gem path variable, but to display, say 10 at a time with gem list (or an arbitrary number, or even a re…

---

## [Customized error pages for 500](https://www.ruby-forum.com/t/customized-error-pages-for-500/191965)

<div class="topic-metadata">

**Author:** [@schand](https://www.ruby-forum.com/u/schand)\
**Replies:** 5\
**Last updated:** [January 10, 2014, 1:19am UTC](https://www.ruby-forum.com/t/customized-error-pages-for-500/191965 "2014-01-10T01:19:11Z")

</div>

Hi, I am a newbie to nginx. I need to have a customized error pages for the http response codes 50x. I am running on nginx with passenger and ruby on rails. I have problem with nginx.conf. I am not able to get my cust…

---

## [Rails guides has\_many :through example](https://www.ruby-forum.com/t/rails-guides-has-many-through-example/203935)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 2, 2011, 10:06pm UTC](https://www.ruby-forum.com/t/rails-guides-has-many-through-example/203935 "2011-03-02T22:06:23Z")

</div>

Using the rails guides has\_many :through example at , what is the best approach to writing the nested model form that would go with the example? Physician Name: Physician Appointments Patient Name:Appointment Da…

---

## [De-bouncing Submit Order button](https://www.ruby-forum.com/t/de-bouncing-submit-order-button/116840)

<div class="topic-metadata">

**Author:** [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Replies:** 5\
**Last updated:** [October 11, 2007, 12:32am UTC](https://www.ruby-forum.com/t/de-bouncing-submit-order-button/116840 "2007-10-11T00:32:54Z")

</div>

Howdy! I’m writing an online store, and I don’t want mine to be one of the ones that has to put bold-face warning text by the Submit button, saying: DANGER: PRESS THIS BUTTON ONLY ONCE! :slight\_smile: My current pla…

---

## [Insert NULL into MySQL "time" not 00:00:00](https://www.ruby-forum.com/t/insert-null-into-mysql-time-not-0000/72061)

<div class="topic-metadata">

**Author:** [@sw0rdfish](https://www.ruby-forum.com/u/sw0rdfish)\
**Replies:** 5\
**Last updated:** [October 14, 2006, 8:13am UTC](https://www.ruby-forum.com/t/insert-null-into-mysql-time-not-0000/72061 "2006-10-14T08:13:21Z")

</div>

Ok I’m not sure what I’m doing wrong, but I have a table that holds a bunch of times, however when I don’t fill in the text box that passes it’s input on to the variables, rails defaults to 00:00:00, which is bad, bec…

---

## [Searchable Archives?](https://www.ruby-forum.com/t/searchable-archives/179605)

<div class="topic-metadata">

**Author:** [@SSPeter\_Valdemar\_MS](https://www.ruby-forum.com/u/SSPeter_Valdemar_MS)\
**Replies:** 2\
**Last updated:** [November 30, 2009, 2:05pm UTC](https://www.ruby-forum.com/t/searchable-archives/179605 "2009-11-30T14:05:18Z")

</div>

Is there any place one can search the messages of these archives? That would make it easer to ensure that the same question hasn’t been answered before. Peter

---

## [How to run controller methods using rails runner?](https://www.ruby-forum.com/t/how-to-run-controller-methods-using-rails-runner/224160)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 2, 2012, 10:03am UTC](https://www.ruby-forum.com/t/how-to-run-controller-methods-using-rails-runner/224160 "2012-11-02T10:03:07Z")

</div>

Hi all, I have run my controller methods from console, but now i learn about rails runner . i execute model method successful , but i wish to run my controller method using rails runner. Q Is this possible to run…

---

## [Ruby/Sinatra - Variable inside erb calls](https://www.ruby-forum.com/t/ruby-sinatra-variable-inside-erb-calls/207056)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 18, 2011, 12:30am UTC](https://www.ruby-forum.com/t/ruby-sinatra-variable-inside-erb-calls/207056 "2011-05-18T00:30:20Z")

</div>

Hi there, I have a question regarding variables inside of erb arguments. This is what I would like to achieve: require ‘sinatra’ get ‘/’ do style = ‘default’ erb :‘templates/’+style+’/layout’ end Running that wil…

---

## [Qustion for reverse-proxy for virtual host](https://www.ruby-forum.com/t/qustion-for-reverse-proxy-for-virtual-host/176707)

<div class="topic-metadata">

**Author:** [@quan\_nexthop](https://www.ruby-forum.com/u/quan_nexthop)\
**Replies:** 7\
**Last updated:** [October 12, 2009, 5:25pm UTC](https://www.ruby-forum.com/t/qustion-for-reverse-proxy-for-virtual-host/176707 "2009-10-12T17:25:45Z")

</div>

Hi all: I try to setup the NGINX as a reverse-proxy to protect several webservers, which lots of websites are running on. Yes, it is a virtual host :slight\_smile: abc.com |-----------\[nginx reverse proxy\] ------- |vi…

---

## [GRC noise source seems to give same output regardless of seed](https://www.ruby-forum.com/t/grc-noise-source-seems-to-give-same-output-regardless-of-seed/217721)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [March 14, 2012, 12:32pm UTC](https://www.ruby-forum.com/t/grc-noise-source-seems-to-give-same-output-regardless-of-seed/217721 "2012-03-14T12:32:17Z")

</div>

Hi Folks, I am using two ‘Noise Source’ blocks(Noise-Type: Gaussian, Output Type:complex)in GNU Radio Companion (GRC). I would like the two sets of outputs to be (ideally) independent on a sample-by-sample basis, and …

---

## [Easy task, Sum array element... Why doesn't it work?](https://www.ruby-forum.com/t/easy-task-sum-array-element-why-doesnt-it-work/185930)

<div class="topic-metadata">

**Author:** [@walle](https://www.ruby-forum.com/u/walle)\
**Replies:** 6\
**Last updated:** [March 29, 2010, 9:28pm UTC](https://www.ruby-forum.com/t/easy-task-sum-array-element-why-doesnt-it-work/185930 "2010-03-29T21:28:20Z")

</div>

I have done it many times before, but this time I can’t get it too work. I’m starting to get a bit frustrating. So, I’m trying to sum all elements from the second element in a Array using inject. The problem is that i…

---

## [Problems with sqlserver 2000 and ActiveRecord](https://www.ruby-forum.com/t/problems-with-sqlserver-2000-and-activerecord/126340)

<div class="topic-metadata">

**Author:** [@Miguel\_angel\_G](https://www.ruby-forum.com/u/Miguel_angel_G)\
**Replies:** 6\
**Last updated:** [November 9, 2009, 4:46am UTC](https://www.ruby-forum.com/t/problems-with-sqlserver-2000-and-activerecord/126340 "2009-11-09T04:46:24Z")

</div>

Hi, I’m getting some trouble in connecting to a sql server 2000 database with ActiveRecord-2.0.1 and ruby 186-26, from win XP. Using the next conenction config: ActiveRecord::Base.establish\_connection( :adapter =\> …

---

## [Time class instance](https://www.ruby-forum.com/t/time-class-instance/166415)

<div class="topic-metadata">

**Author:** [@jirapong](https://www.ruby-forum.com/u/jirapong)\
**Replies:** 6\
**Last updated:** [May 4, 2009, 9:03pm UTC](https://www.ruby-forum.com/t/time-class-instance/166415 "2009-05-04T21:03:48Z")

</div>

Hi Time class instance in IronRuby act as static. Given following code: t = Time.new t.utc t.utc? # should be true behave t.localtime t.utc? # should be false “t” should convert itself into UTC type after method “…

---

## [Ruby-gnome2 on a mac](https://www.ruby-forum.com/t/ruby-gnome2-on-a-mac/154478)

<div class="topic-metadata">

**Author:** [@royw](https://www.ruby-forum.com/u/royw)\
**Replies:** 6\
**Last updated:** [December 3, 2008, 12:29am UTC](https://www.ruby-forum.com/t/ruby-gnome2-on-a-mac/154478 "2008-12-03T00:29:33Z")

</div>

Howdy, Just thought I’d give a report on trying ruby-gnome2 on a new macbook. Prerequisites: X Code 3.0+ (I used 3.0 as I’m having a problem installing the latest 3.1.2) XQuartz MacPorts Using MacPorts, install: ga…

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

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