# Top

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

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

---

## [Trouble-with-capybara-and-rspec-on-a-new-model-spec](https://www.ruby-forum.com/t/trouble-with-capybara-and-rspec-on-a-new-model-spec/228667)

<div class="topic-metadata">

**Author:** [@code-vortex](https://www.ruby-forum.com/u/code-vortex)\
**Replies:** 1\
**Last updated:** [May 2, 2013, 1:07pm UTC](https://www.ruby-forum.com/t/trouble-with-capybara-and-rspec-on-a-new-model-spec/228667 "2013-05-02T13:07:24Z")

</div>

I have searched a lot for a solution, but I could not find it! I am trying to make a rails application after watching Michael H.'s tutorial and when i fill data manually and submit it nothing happens and nothing reco…

---

## [Tcp splicing](https://www.ruby-forum.com/t/tcp-splicing/227620)

<div class="topic-metadata">

**Author:** [@SSHeSSbolt](https://www.ruby-forum.com/u/SSHeSSbolt)\
**Replies:** 1\
**Last updated:** [March 21, 2013, 6:56pm UTC](https://www.ruby-forum.com/t/tcp-splicing/227620 "2013-03-21T18:56:41Z")

</div>

Hello, I am new in nginx and I’d like to know if nginx implements tcp-splicing system call. Thanx – Lukáš Heřbolt Linux Administrator ET NETERA | smart e-business \[a\] Milady Horákové 108, 160 00 Praha 6 \[t\] +420…

---

## [Set error\_page follow reverse proxy kind](https://www.ruby-forum.com/t/set-error-page-follow-reverse-proxy-kind/221549)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [July 21, 2012, 11:14am UTC](https://www.ruby-forum.com/t/set-error-page-follow-reverse-proxy-kind/221549 "2012-07-21T11:14:10Z")

</div>

Hi everyone, My Nginx server is Reverse Proxy and other Apache is web server 192.168.1.10 (nginx) ----\> 192.168.1.20 (apache) How can I config error\_page when nginx configurated like as Reverse Proxy? And below my co…

---

## [Mixing ActiveRecord classes and Java Classes](https://www.ruby-forum.com/t/mixing-activerecord-classes-and-java-classes/218112)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 22, 2012, 1:57am UTC](https://www.ruby-forum.com/t/mixing-activerecord-classes-and-java-classes/218112 "2012-03-22T01:57:12Z")

</div>

Hi, When there are java classes that are imported into a jruby Rails project (i.e com.domain.system.User), which is referenced as User after java\_import, and we’d like to connect the class User to ActiveRecord to do …

---

## [Reconfigure example with lock/disconnect/connect/unlock code hangs randomly](https://www.ruby-forum.com/t/reconfigure-example-with-lock-disconnect-connect-unlock-code-hangs-randomly/207485)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [May 26, 2011, 4:57pm UTC](https://www.ruby-forum.com/t/reconfigure-example-with-lock-disconnect-connect-unlock-code-hangs-randomly/207485 "2011-05-26T16:57:48Z")

</div>

Hey guys, I have written some example code to learn how to dynamically reconfigure gnuradio based on events generated by probe blocks and a watcher thread. First I thought everything is running very well but later I …

---

## [Undefined method read\_nonblock in jruby 1.9 mode](https://www.ruby-forum.com/t/undefined-method-read-nonblock-in-jruby-1-9-mode/206800)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [May 11, 2011, 2:30pm UTC](https://www.ruby-forum.com/t/undefined-method-read-nonblock-in-jruby-1-9-mode/206800 "2011-05-11T14:30:23Z")

</div>

Running into the following error when using jruby 1.6.1 in 1.9 mode trying to connect to a pop account. I am using jruby-openssl 0.7.3. E, \[2011-05-10T16:38:52.279000 #2883\] ERROR – : undefined method read\_nonblock' …

---

## [Latest uhd and e100 fpga image seemingly incompatible](https://www.ruby-forum.com/t/latest-uhd-and-e100-fpga-image-seemingly-incompatible/204517)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 14, 2011, 8:15pm UTC](https://www.ruby-forum.com/t/latest-uhd-and-e100-fpga-image-seemingly-incompatible/204517 "2011-03-14T20:15:21Z")

</div>

I completed building and installing uhd and gnuradio on an e100 last night following the directions here: http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ I copied usrp\_e100\_fpga.bin from the tarball he…

---

## [NET::SSH sudo su problems](https://www.ruby-forum.com/t/net-ssh-sudo-su-problems/203665)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 25, 2011, 9:57am UTC](https://www.ruby-forum.com/t/net-ssh-sudo-su-problems/203665 "2011-02-25T09:57:12Z")

</div>

I’m trying to run the following code and having problems Net::SSH.start(host, user) do |ssh| ssh.exec!(“sudo su - qos”) I run the main which calls this method, but it just hangs and doesnt actually change the user to…

---

## [Stubbing out common setup](https://www.ruby-forum.com/t/stubbing-out-common-setup/200904)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 24, 2010, 12:25pm UTC](https://www.ruby-forum.com/t/stubbing-out-common-setup/200904 "2010-12-24T12:25:55Z")

</div>

I want to stub an after save method(which generates files and so, is time consuming), for most of my spec files apart from a few where that method is actually tested. I was trying to do this with using shared examples…

---

## [Code Review: Encs2](https://www.ruby-forum.com/t/code-review-encs2/184668)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [March 6, 2010, 5:39am UTC](https://www.ruby-forum.com/t/code-review-encs2/184668 "2010-03-06T05:39:22Z")

</div>

tfpt review “/shelveset:Encs2;REDMOND\\tomat” Comment : Fixes bunch of encoding issues including http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3920. Fixes handling of DST transitions in Time operators. …

---

## [Limit\_rate\_after as variable](https://www.ruby-forum.com/t/limit-rate-after-as-variable/179283)

<div class="topic-metadata">

**Author:** [@noise98](https://www.ruby-forum.com/u/noise98)\
**Replies:** 1\
**Last updated:** [November 21, 2009, 2:16am UTC](https://www.ruby-forum.com/t/limit-rate-after-as-variable/179283 "2009-11-21T02:16:13Z")

</div>

Would changing limit\_rate\_after as variable in config be a problem ? I need to tell nginx to set the limit\_rate\_after differently base on my video file quality. Posted at Nginx Forum:

---

## [Test failure (test\_block.rb) in Ruby 1.9.2 preview1 on FreeBSD 6.0](https://www.ruby-forum.com/t/test-failure-test-block-rb-in-ruby-1-9-2-preview1-on-freebsd-6-0/172900)

<div class="topic-metadata">

**Author:** [@Hiroshi\_Ichikawa](https://www.ruby-forum.com/u/Hiroshi_Ichikawa)\
**Replies:** 1\
**Last updated:** [July 29, 2009, 5:26pm UTC](https://www.ruby-forum.com/t/test-failure-test-block-rb-in-ruby-1-9-2-preview1-on-freebsd-6-0/172900 "2009-07-29T17:26:13Z")

</div>

Gimitee$B$G$9!#e(B FreeBSD 6.0e$B\>e$Ge(BRuby 1.9.2 preview1e$B$Ne(Bmake teste$B$r\<B9T$9$k$H!"e(Btest\_block.rbe$B$G\<:GT$7$^$9!#e(B $ ./ruby --version ruby 1.9.2dev (2009-07-18 trunk 24186) \[i386-freebsd6.0\] $ make in…

---

## [ModÃ©ration des messages (tantÃ´t oui ta ntÃ´t non)](https://www.ruby-forum.com/t/moda-ration-des-messages-tanta-t-oui-ta-nta-t-non/171088)

<div class="topic-metadata">

**Author:** [@philippe\_lachaise](https://www.ruby-forum.com/u/philippe_lachaise)\
**Replies:** 1\
**Last updated:** [June 26, 2009, 12:13pm UTC](https://www.ruby-forum.com/t/moda-ration-des-messages-tanta-t-oui-ta-nta-t-non/171088 "2009-06-26T12:13:16Z")

</div>

Par moment je tombe sur “Seul le gestionnaire de ce groupe est habilitÃ© Ã consulter cette page.”, Ã d’autres Ã§a se passe normalement ?! @autres modÃ©rateurs : Ã§a vous fait Ã§a aussi ?

---

## [RCov and Ruby 1.9.1](https://www.ruby-forum.com/t/rcov-and-ruby-1-9-1/167495)

<div class="topic-metadata">

**Author:** [@tick](https://www.ruby-forum.com/u/tick)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 11:48pm UTC](https://www.ruby-forum.com/t/rcov-and-ruby-1-9-1/167495 "2009-05-10T23:48:48Z")

</div>

Has anyone got RCov working with Ruby 1.9.1? The rcov gem won’t even install, and the spicycode-rcov gem crashes. It would be nice to still benefit from rcovs features. Tick

---

## [Recursibidad y retardo en la BBDD](https://www.ruby-forum.com/t/recursibidad-y-retardo-en-la-bbdd/161092)

<div class="topic-metadata">

**Author:** [@xurde\_dix](https://www.ruby-forum.com/u/xurde_dix)\
**Replies:** 1\
**Last updated:** [February 23, 2009, 11:31am UTC](https://www.ruby-forum.com/t/recursibidad-y-retardo-en-la-bbdd/161092 "2009-02-23T11:31:37Z")

</div>

Hola Lista Tengo el siguiente metodo: def eliminarInutiles() self.children.each do |hijo| hijo.eliminarInutiles() end if self.children.blank? and self.products.find\_by\_deleted\_at(nil).blank? self.destroy end e…

---

## [How to reduce your electricity bill](https://www.ruby-forum.com/t/how-to-reduce-your-electricity-bill/160031)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 1\
**Last updated:** [February 11, 2009, 6:08am UTC](https://www.ruby-forum.com/t/how-to-reduce-your-electricity-bill/160031 "2009-02-11T06:08:41Z")

</div>

How to reduce your electricity bill If you have been bogged by the enormous electricity bills you have been getting, it is time to take some concrete steps. You can reduce your electricity bills by following very simp…

---

## [Jruby-openssl multiple versions available](https://www.ruby-forum.com/t/jruby-openssl-multiple-versions-available/156770)

<div class="topic-metadata">

**Author:** [@marc](https://www.ruby-forum.com/u/marc)\
**Replies:** 1\
**Last updated:** [January 2, 2009, 11:31pm UTC](https://www.ruby-forum.com/t/jruby-openssl-multiple-versions-available/156770 "2009-01-02T23:31:46Z")

</div>

Hi, I was just adding jruby-openssl to netbeans and noticed that the re are two versions available: jruby-openssl Version:0.3 JRuby-OpenSSL Version:0.1 – Cheers, Marc To unsubscribe from this list, please visit: …

---

## [OSGify jruby-complete.jar?](https://www.ruby-forum.com/t/osgify-jruby-complete-jar/155451)

<div class="topic-metadata">

**Author:** [@Tommy\_MSMcGuire](https://www.ruby-forum.com/u/Tommy_MSMcGuire)\
**Replies:** 1\
**Last updated:** [December 11, 2008, 11:01pm UTC](https://www.ruby-forum.com/t/osgify-jruby-complete-jar/155451 "2008-12-11T23:01:29Z")

</div>

I just noticed the OSGi headers added to lib/jruby.jar in JRUBY-2741 last summer. Would it be possible to do the same for jruby-complete.jar? To that end, I’m attaching a quick, minimalistic patch to build.xml.

---

## [Ftools: function is unimplemented](https://www.ruby-forum.com/t/ftools-function-is-unimplemented/151257)

<div class="topic-metadata">

**Author:** [@arnaudo](https://www.ruby-forum.com/u/arnaudo)\
**Replies:** 1\
**Last updated:** [October 28, 2008, 6:59pm UTC](https://www.ruby-forum.com/t/ftools-function-is-unimplemented/151257 "2008-10-28T18:59:22Z")

</div>

Ciao a tutti, ho cercato di spostare un file, ma compare il seguente messaggio d’errore: NotImplementedError: readlink() function is unimplemented on this machine from C:/Ruby/lib/ruby/1.8/ftools.rb:111:in readlink'…

---

## [ActiveLDAP why are you so cruel to me? Help Please](https://www.ruby-forum.com/t/activeldap-why-are-you-so-cruel-to-me-help-please/78244)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [October 16, 2008, 6:33am UTC](https://www.ruby-forum.com/t/activeldap-why-are-you-so-cruel-to-me-help-please/78244 "2008-10-16T06:33:57Z")

</div>

Im running the latest ActiveLDAP 0.8. My problem is the following Ok, its simple. This works: xxxcatalog# ldapsearch -x -h 192.168.1.40 -W -D ‘cn=Manager,dc=webgate,dc=net,dc=au’ -b ‘dc=webgate,dc=net,dc=au’ ‘(dc=ww…

---

## [Solution to invalid gem format](https://www.ruby-forum.com/t/solution-to-invalid-gem-format/141351)

<div class="topic-metadata">

**Author:** [@owen](https://www.ruby-forum.com/u/owen)\
**Replies:** 1\
**Last updated:** [August 18, 2008, 7:05pm UTC](https://www.ruby-forum.com/t/solution-to-invalid-gem-format/141351 "2008-08-18T19:05:45Z")

</div>

hrisff on 24 Jun 06:02: Anyone else getting this? $ sudo gem install rails ERROR: Error installing rails: invalid gem format for /usr/local/lib/ruby/gems/1.8/cache/activesupport-2.1.0.gem 2.0.2 is installed and wor…

---

## [link\_to\_image-JavaScript](https://www.ruby-forum.com/t/link-to-image-javascript/144630)

<div class="topic-metadata">

**Author:** [@adriatik](https://www.ruby-forum.com/u/adriatik)\
**Replies:** 1\
**Last updated:** [July 31, 2008, 8:57pm UTC](https://www.ruby-forum.com/t/link-to-image-javascript/144630 "2008-07-31T20:57:52Z")

</div>

Hola Buenos Dias, escribo para pedir ayuda acerca de los JavaScript, tengo un botÃ³n de eliminar con link\_to\_image, y no me funciona, me devuelve a la lista sin borrar nada, al parecer y lo que he leido es porque teng…

---

## [Searcher Explain](https://www.ruby-forum.com/t/searcher-explain/137168)

<div class="topic-metadata">

**Author:** [@sjames](https://www.ruby-forum.com/u/sjames)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 9:14am UTC](https://www.ruby-forum.com/t/searcher-explain/137168 "2008-05-13T09:14:44Z")

</div>

Hi, I am unable to use the Searcher’s explain method. Anytime I call it, I get Segmentation Faults and it kills the process I have running my Rails site. Has anyone else had this problem? Here is some code I am tr…

---

## [How to write a test for Ultrasphinx](https://www.ruby-forum.com/t/how-to-write-a-test-for-ultrasphinx/130732)

<div class="topic-metadata">

**Author:** [@dkanders](https://www.ruby-forum.com/u/dkanders)\
**Replies:** 1\
**Last updated:** [April 4, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/how-to-write-a-test-for-ultrasphinx/130732 "2008-04-04T20:26:55Z")

</div>

Hi All, I have the ultrasphinx plugin installed and it is working fine, but I’d like to write some tests for it. I have tried putting this test in one of my unit tests: def test\_should\_run\_ultrasphinx\_query @results …

---

## [Recibir correos con ActionMailer](https://www.ruby-forum.com/t/recibir-correos-con-actionmailer/126463)

<div class="topic-metadata">

**Author:** [@sparkle](https://www.ruby-forum.com/u/sparkle)\
**Replies:** 1\
**Last updated:** [January 18, 2008, 2:46pm UTC](https://www.ruby-forum.com/t/recibir-correos-con-actionmailer/126463 "2008-01-18T14:46:25Z")

</div>

Hola a todos, no es la primera vez que lo pregunto en la listas pero es que no soy capaz de hacer que mi aplicaciÃ³n web pueda recibir correos de un servidor de correo. El tema es que mi aplicaciÃ³n debe enviar corre…

---

## [DÃ©couvrez un nouveau site destinÃ© Ã  la communautÃ© Rails francophone : Frailers.net passe en ver](https://www.ruby-forum.com/t/da-couvrez-un-nouveau-site-destina-a-la-communauta-rails-francophone-frailers-net-passe-en-ver/122213)

<div class="topic-metadata">

**Author:** [@Jean-Baptiste\_E](https://www.ruby-forum.com/u/Jean-Baptiste_E)\
**Replies:** 1\
**Last updated:** [December 12, 2007, 7:41pm UTC](https://www.ruby-forum.com/t/da-couvrez-un-nouveau-site-destina-a-la-communauta-rails-francophone-frailers-net-passe-en-ver/122213 "2007-12-12T19:41:28Z")

</div>

Bonjour à tous, Si vous ne connaissiez pas déjà, venez découvrir Frailers.net, un nouveau site destiné à la communauté Rails francophone. Après 3 longs mois de bêta et de création de contenu, Frailers.net passe en ve…

---

## [iText, Rails, and OS X](https://www.ruby-forum.com/t/itext-rails-and-os-x/120923)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 1\
**Last updated:** [November 26, 2007, 9:12am UTC](https://www.ruby-forum.com/t/itext-rails-and-os-x/120923 "2007-11-26T09:12:48Z")

</div>

I have the need to take existing PDFs and populate them with data entered via HTML forms. Data saved to database, entered in to PDF file, PDF file with data archived, and then distributed va email and/ or download. T…

---

## [Mongrel cluster not starting with JRuby 1.0.1](https://www.ruby-forum.com/t/mongrel-cluster-not-starting-with-jruby-1-0-1/116816)

<div class="topic-metadata">

**Author:** [@arung](https://www.ruby-forum.com/u/arung)\
**Replies:** 1\
**Last updated:** [October 10, 2007, 3:34am UTC](https://www.ruby-forum.com/t/mongrel-cluster-not-starting-with-jruby-1-0-1/116816 "2007-10-10T03:34:38Z")

</div>

With a blocking bug on Windows for JRuby 1.0.1/Mongrel (1141), I’m trying this setup on Solaris i386. After multiple tries and googling on forums, I’m not able to configure a Mongrel cluster on my Solaris machine. I’m…

---

## [Wierd session behavious in development mode after switching](https://www.ruby-forum.com/t/wierd-session-behavious-in-development-mode-after-switching/82571)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/wierd-session-behavious-in-development-mode-after-switching/82571 "2007-09-25T22:29:25Z")

</div>

class UserController \< ApplicationController def home # Following line throws error and session\[:user\] set by previous action login is gone here. $logme.info “Home session information: is #{session\[:user\].login} and…

---

## [Subir multiples archivos: attachment\_fu](https://www.ruby-forum.com/t/subir-multiples-archivos-attachment-fu/112988)

<div class="topic-metadata">

**Author:** [@Miguel\_SSSSngel\_Suv](https://www.ruby-forum.com/u/Miguel_SSSSngel_Suv)\
**Replies:** 1\
**Last updated:** [August 25, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/subir-multiples-archivos-attachment-fu/112988 "2007-08-25T15:12:25Z")

</div>

Hola, he estado navegando buscando para subir archivos con rails, y he encontrado muchos ejemplos de file\_column, act\_as\_ attachment y attachment\_fu. Parece ser que este Ãºltimo es el que ahora se usa mÃ¡s. Una pequeÃ…

---

## [Extension migrations in reverse](https://www.ruby-forum.com/t/extension-migrations-in-reverse/109336)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [July 13, 2007, 3:53pm UTC](https://www.ruby-forum.com/t/extension-migrations-in-reverse/109336 "2007-07-13T15:53:37Z")

</div>

I was going to ask how to do this, because this did not appear to work as expected: % rake db:migrate:extensions VERSION=XX (it seems to completely ignore the version number.) However, i poked around in the source an…

---

## [Can't log into radiant using konqueror](https://www.ruby-forum.com/t/cant-log-into-radiant-using-konqueror/85148)

<div class="topic-metadata">

**Author:** [@site-master](https://www.ruby-forum.com/u/site-master)\
**Replies:** 1\
**Last updated:** [February 11, 2007, 10:37am UTC](https://www.ruby-forum.com/t/cant-log-into-radiant-using-konqueror/85148 "2007-02-11T10:37:50Z")

</div>

Hi, i just updated my kde to 3.5.6 and now i cant log into radiant using konqueror. Every time i put the correct username/password it just redirects to the login page. The flash doesn’t appear but i do see Redirect…

---

## [Help! \<r:mailer:textarea /\> attribute for resizing](https://www.ruby-forum.com/t/help-rtextarea-attribute-for-resizing/77649)

<div class="topic-metadata">

**Author:** [@john-anes](https://www.ruby-forum.com/u/john-anes)\
**Replies:** 1\
**Last updated:** [November 30, 2006, 6:59am UTC](https://www.ruby-forum.com/t/help-rtextarea-attribute-for-resizing/77649 "2006-11-30T06:59:02Z")

</div>

Thanks guys, For your help and support, i have successfully configured and tested the mailer\_behavior. Now need to get some knowledge on the \<r:mailer:…\> tags, where in html we can give the tags attributes such as m…

---

## [Resolv.getaddress](https://www.ruby-forum.com/t/resolv-getaddress/101843)

<div class="topic-metadata">

**Author:** [@WATANABE\_Tetsuya](https://www.ruby-forum.com/u/WATANABE_Tetsuya)\
**Replies:** 1\
**Last updated:** [August 8, 2006, 1:59pm UTC](https://www.ruby-forum.com/t/resolv-getaddress/101843 "2006-08-08T13:59:32Z")

</div>

e$BEOJUE/Li$G$9!#e(B Resolv.getaddress e$B$,\<:GT$9$k$h$&$G$9!#e(B $ /t/bin/ruby-1.9.0 -rresolv -e ‘p Resolv.getaddress(“www.ruby-lang.org”)’ /t/lib/ruby/1.9/resolv.rb:89:in Resolv#getaddress': no address for www.ru…

---

## [Html options in link\_to\_remote](https://www.ruby-forum.com/t/html-options-in-link-to-remote/47578)

<div class="topic-metadata">

**Author:** [@adam.groves](https://www.ruby-forum.com/u/adam.groves)\
**Replies:** 1\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/html-options-in-link-to-remote/47578 "2005-11-12T12:49:32Z")

</div>

I’m probably being a bit of a div here but how do I add css class attributes to a link\_to\_remote? I’ve got: \<%= link\_to\_remote(“Add an address”, :url =\> {:action =\> ‘new\_address’, :project =\> @project}, :update =\>‘…

---

## [Avoiding restarting WEBrick while developing acts\_as plugin](https://www.ruby-forum.com/t/avoiding-restarting-webrick-while-developing-acts-as-plugin/47537)

<div class="topic-metadata">

**Author:** [@petermichaux](https://www.ruby-forum.com/u/petermichaux)\
**Replies:** 1\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/avoiding-restarting-webrick-while-developing-acts-as-plugin/47537 "2005-11-12T12:49:22Z")

</div>

Hi, Every time I make a change to my plugin I have to restart WEBrick to see the change in action. It is time consuming. Is there a clean way to avoid this restart? Thanks, Peter

---

## [Contributing to a gem on github](https://www.ruby-forum.com/t/contributing-to-a-gem-on-github/195632)

<div class="topic-metadata">

**Author:** [@jcain](https://www.ruby-forum.com/u/jcain)\
**Replies:** 5\
**Last updated:** [November 29, 2010, 11:46pm UTC](https://www.ruby-forum.com/t/contributing-to-a-gem-on-github/195632 "2010-11-29T23:46:21Z")

</div>

Hi, there is a gem I want to use (bones-extras), but the part I want to use doesn’t work on 1.9.2 since they removed “.” from the path (extremely irritating, btw). On my system, I can fix it, by editing the source to…

---

## [Action mailer](https://www.ruby-forum.com/t/action-mailer/181107)

<div class="topic-metadata">

**Author:** [@ashu](https://www.ruby-forum.com/u/ashu)\
**Replies:** 5\
**Last updated:** [January 13, 2010, 2:28am UTC](https://www.ruby-forum.com/t/action-mailer/181107 "2010-01-13T02:28:12Z")

</div>

hi i am new on rails any one can tell me about a simple how to send a simple email on gmail i followed tutorial point.com but all in vain error 530 or many about actionmailer\_tls i resolved but could not make a simpl…

---

## [Validates\_presence\_of file fields](https://www.ruby-forum.com/t/validates-presence-of-file-fields/179968)

<div class="topic-metadata">

**Author:** [@tabassman](https://www.ruby-forum.com/u/tabassman)\
**Replies:** 5\
**Last updated:** [December 9, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/validates-presence-of-file-fields/179968 "2009-12-09T16:25:41Z")

</div>

I can’t seem to get validates\_presence\_of to work with file fields. It keeps on reporting the field is empty whether I put a file in or not. Is there a way to validate whether a file has been uploaded?

---

## [SuperClass and Modules](https://www.ruby-forum.com/t/superclass-and-modules/148804)

<div class="topic-metadata">

**Author:** [@shyl\_ruby](https://www.ruby-forum.com/u/shyl_ruby)\
**Replies:** 5\
**Last updated:** [September 20, 2008, 11:16am UTC](https://www.ruby-forum.com/t/superclass-and-modules/148804 "2008-09-20T11:16:46Z")

</div>

Hi, I am very much new to Ruby Ruby Consider Modules as super classes \[Internally\]. My confusion is that there can be many modules either included or extended to a Ruby class where as only one Parent class is allowed…

---

## [Validating Virtual Properties](https://www.ruby-forum.com/t/validating-virtual-properties/140621)

<div class="topic-metadata">

**Author:** [@Trogdor](https://www.ruby-forum.com/u/Trogdor)\
**Replies:** 5\
**Last updated:** [June 16, 2008, 10:50pm UTC](https://www.ruby-forum.com/t/validating-virtual-properties/140621 "2008-06-16T22:50:02Z")

</div>

Hello, I have two virtual properties (schedule and diameter) that are saved in the db as one property (diameter\_schedule\_id -\> fk to another model). When you set the properties in the model, they locate the proper Di…

---

## [Ruby-opengl gem uses ruby1.9, even from gem1.8](https://www.ruby-forum.com/t/ruby-opengl-gem-uses-ruby1-9-even-from-gem1-8/138846)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 5\
**Last updated:** [May 29, 2008, 4:12am UTC](https://www.ruby-forum.com/t/ruby-opengl-gem-uses-ruby1-9-even-from-gem1-8/138846 "2008-05-29T04:12:06Z")

</div>

This is on an Ubuntu Hardy system, on x86\_64. Both Ruby 1.8 and 1.9 are installed. I was tracking down the lack of ruby.h, which surprised me, as ruby1.8-dev is installed. Scrolling up even further, though, and somet…

---

## [Setting classes and ids](https://www.ruby-forum.com/t/setting-classes-and-ids/138918)

<div class="topic-metadata">

**Author:** [@brownerthanu](https://www.ruby-forum.com/u/brownerthanu)\
**Replies:** 5\
**Last updated:** [May 29, 2008, 12:49am UTC](https://www.ruby-forum.com/t/setting-classes-and-ids/138918 "2008-05-29T00:49:54Z")

</div>

is there a way to set the classes and ids of html elements made via helpers. for instance i want to create a link that results in the following html: Home is there a way to do it, or will i have to do it the old htm…

---

## [$BJ8;zNs=hM}$N9bB.2=(B?](https://www.ruby-forum.com/t/bj8-zns-hm-n9bb-2-b/129395)

<div class="topic-metadata">

**Author:** [@drenovac](https://www.ruby-forum.com/u/drenovac)\
**Replies:** 5\
**Last updated:** [February 19, 2008, 11:49am UTC](https://www.ruby-forum.com/t/bj8-zns-hm-n9bb-2-b/129395 "2008-02-19T11:49:23Z")

</div>

e$B$?$@$N0lNc$G$9$,!“@h=5$N6bMKF|$K\>\>K$5$s$K8+$;$?$H$-$Ke(B 50e$BIC$0$i$$$+$+$C$?%W%m%0%i%$O$=$N8e$Ne(B commit e$B$G$\*$=$/$J$j!"e(B 65e$BIC$0$i$$$+$+$C$F$$$^$9!#%W%m%0%i%$O0J2\<$NDL$je(B (e$B0JA0e(B Wolfgang Na’dasi-Don…

---

## [Simplifying RESTful urls](https://www.ruby-forum.com/t/simplifying-restful-urls/112504)

<div class="topic-metadata">

**Author:** [@daz](https://www.ruby-forum.com/u/daz)\
**Replies:** 5\
**Last updated:** [February 11, 2008, 10:40am UTC](https://www.ruby-forum.com/t/simplifying-restful-urls/112504 "2008-02-11T10:40:22Z")

</div>

Hi, If I am making an application that has a programmes model which has many episodes, and use nested resourses like so: map.resources :programmes do |programmes| programmes.resources :episodes end This then produce…

---

## [What is the ruby way to check for permissions?](https://www.ruby-forum.com/t/what-is-the-ruby-way-to-check-for-permissions/121788)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [December 1, 2007, 6:24am UTC](https://www.ruby-forum.com/t/what-is-the-ruby-way-to-check-for-permissions/121788 "2007-12-01T06:24:02Z")

</div>

I have a model named Division which has\_many :courses Bottom line: I need the Ruby way to prevent someone from the id parameter to http://example.com/courses/edit/ so that they don’t hijack another user’s data. The co…

---

## [BigDecimal#!=](https://www.ruby-forum.com/t/bigdecimal/80371)

<div class="topic-metadata">

**Author:** [@Minero\_A](https://www.ruby-forum.com/u/Minero_A)\
**Replies:** 5\
**Last updated:** [December 26, 2006, 1:22am UTC](https://www.ruby-forum.com/t/bigdecimal/80371 "2006-12-26T01:22:53Z")

</div>

e$B@DLZ$G$9!#e(B e$B0J2\<$N$h$&$K!"e(BBigDecimal#!= e$B$,Dj5A$5$l$F$7$^$C$F$$$^$9!#e(B ~ % forall-ruby -rbigdecimal -e ‘p BigDecimal.method\_defined?("!=")’ ruby 1.8.0 (2003-08-04) \[x86\_64-linux\] true ruby 1.8.1 (2003…

---

## [Matching lines](https://www.ruby-forum.com/t/matching-lines/79529)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 5\
**Last updated:** [December 16, 2006, 5:13pm UTC](https://www.ruby-forum.com/t/matching-lines/79529 "2006-12-16T17:13:48Z")

</div>

I’m really wracking my brain about this one though I bet there must be some simple command I don’t know which I’m missing. I’ve got a file with a few lines: 1: Kevin 25 football cricket guitar 2: John 15 football kar…

---

## [Ruby (X)HTML Parser?](https://www.ruby-forum.com/t/ruby-x-html-parser/69906)

<div class="topic-metadata">

**Author:** [@andreim](https://www.ruby-forum.com/u/andreim)\
**Replies:** 5\
**Last updated:** [September 25, 2006, 7:51pm UTC](https://www.ruby-forum.com/t/ruby-x-html-parser/69906 "2006-09-25T19:51:27Z")

</div>

Hi guys, I’m starting to learn Ruby and I was thinking about a little app so I can get things started as quickly as possible. Since I’m an avid blog reader, the first thing that went though my mind was a small app t…

---

## [Respond\_to strangeness](https://www.ruby-forum.com/t/respond-to-strangeness/67299)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [September 11, 2006, 1:36pm UTC](https://www.ruby-forum.com/t/respond-to-strangeness/67299 "2006-09-11T13:36:03Z")

</div>

Hi, I’m in the process of RESTifying my site. Almost there and loving it. I started having this strange problem today. In my controller if I have something like… def show @question = Question.find(2) end …it displ…

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

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