# Top

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

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

---

## [Problems showing modals when page is loaded with turbolinks](https://www.ruby-forum.com/t/problems-showing-modals-when-page-is-loaded-with-turbolinks/243557)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [December 12, 2015, 2:59pm UTC](https://www.ruby-forum.com/t/problems-showing-modals-when-page-is-loaded-with-turbolinks/243557 "2015-12-12T14:59:36Z")

</div>

Hello. I’m trying to use modals for the output of :notices or :errors. In the application.html.erb I use: \<% flash.each do |name, msg| %\> \<% if msg.is\_a?(String) %\> \<%= msg %\> Close \<% end %\> \<…

---

## [N210 XCVR2450 Max Transmit Gain](https://www.ruby-forum.com/t/n210-xcvr2450-max-transmit-gain/241437)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 17, 2015, 9:34pm UTC](https://www.ruby-forum.com/t/n210-xcvr2450-max-transmit-gain/241437 "2015-04-17T21:34:03Z")

</div>

?Dear All, For some experiments I would like to transmit using N210s with XCVR2450 with maximum transmit gain. I can see Ettus website that the XCVR2450 board in the transmit path has a gain of: VGA: 0-30 dB range …

---

## [Gr-ctrlport-monitor (x) not installed?](https://www.ruby-forum.com/t/gr-ctrlport-monitor-x-not-installed/232893)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [November 3, 2014, 3:44am UTC](https://www.ruby-forum.com/t/gr-ctrlport-monitor-x-not-installed/232893 "2014-11-03T03:44:16Z")

</div>

I may have an issue with my ctrlport installation. I cannot find the file gr-ctrlport-monitor and gr-ctrlport-monitorx. I am on a fedora 19 64bit machine and this is the output of cmake on 3.7.6. thanks Achilleas =…

---

## [:to argument to match() -- how is it converted to class/method name](https://www.ruby-forum.com/t/to-argument-to-match-how-is-it-converted-to-class-method-name/232773)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 28, 2014, 12:51pm UTC](https://www.ruby-forum.com/t/to-argument-to-match-how-is-it-converted-to-class-method-name/232773 "2014-10-28T12:51:51Z")

</div>

Is there any documentation for how the match command converts the “:to” argument to a class and method name? If I have match ‘’, to: ‘#’, via: :get How does it go from to , and more importantly, how do I go in the…

---

## [Usrp e110 in standalone mode?](https://www.ruby-forum.com/t/usrp-e110-in-standalone-mode/230495)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 20, 2014, 1:29pm UTC](https://www.ruby-forum.com/t/usrp-e110-in-standalone-mode/230495 "2014-06-20T13:29:14Z")

</div>

Hi, I made an application on usrp e110 to send datas. I would like to make it operate in a standalone mode. Have you any suggestions to deal with this issue ? Thanks for help. Best regards, Wafa HAJ HMIDA

---

## [Rainbows! 4.6.2 - Rack HTTP server for the sleepy](https://www.ruby-forum.com/t/rainbows-4-6-2-rack-http-server-for-the-sleepy/241072)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 14, 2014, 11:15pm UTC](https://www.ruby-forum.com/t/rainbows-4-6-2-rack-http-server-for-the-sleepy/241072 "2014-05-14T23:15:07Z")

</div>

Rainbows! is an HTTP server for sleepy Rack applications. It is based on Unicorn, but designed to handle applications that expect long request/response times and/or slow clients. http://rainbows.bogomips.org/ remov…

---

## [Nginx stuck on startup](https://www.ruby-forum.com/t/nginx-stuck-on-startup/236281)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 21, 2013, 9:41pm UTC](https://www.ruby-forum.com/t/nginx-stuck-on-startup/236281 "2013-08-21T21:41:10Z")

</div>

Hi everyone, Recently I’ve needed to restart nginx on my vps (which is debian wheezy) and it got stuck. Other services are fine but nginx not responding if there is a file operation involved. For example nginx -h pr…

---

## [Inverted spectrum](https://www.ruby-forum.com/t/inverted-spectrum/245761)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [July 22, 2013, 4:23pm UTC](https://www.ruby-forum.com/t/inverted-spectrum/245761 "2013-07-22T16:23:36Z")

</div>

Hello all, When using pll\_carriertracking\_cc, the returned spectrum seems to be inverted about 0MHz, when looking though the code line 113 of gr-analog/lib/pll\_carriertracking\_cc\_impl.cc looked odd: optr\[i\] = iptr\[…

---

## [Nginx caching successive requests to reduce server load](https://www.ruby-forum.com/t/nginx-caching-successive-requests-to-reduce-server-load/245821)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [July 18, 2013, 12:34pm UTC](https://www.ruby-forum.com/t/nginx-caching-successive-requests-to-reduce-server-load/245821 "2013-07-18T12:34:17Z")

</div>

Hi, I couldn’t find what I was looking for in the search option. For a page that displays current time when refreshed, when the client presses and holds refresh button, nginx should serve a cached version of the page…

---

## [How to configure PostgreSQL's test database before testing?](https://www.ruby-forum.com/t/how-to-configure-postgresqls-test-database-before-testing/223938)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [October 24, 2012, 2:25pm UTC](https://www.ruby-forum.com/t/how-to-configure-postgresqls-test-database-before-testing/223938 "2012-10-24T14:25:03Z")

</div>

My website uses PostgreSQL and its full-text search. For that to work, I need to execute some configuration queries in order to configure some full-text search extensions. This is what I have written in my seeds.rb fi…

---

## [Warbler: Dynamic War Naming](https://www.ruby-forum.com/t/warbler-dynamic-war-naming/226392)

<div class="topic-metadata">

**Author:** [@Jamie\_Jackson](https://www.ruby-forum.com/u/Jamie_Jackson)\
**Replies:** 1\
**Last updated:** [July 27, 2012, 3:58am UTC](https://www.ruby-forum.com/t/warbler-dynamic-war-naming/226392 "2012-07-27T03:58:02Z")

</div>

I’d like to be able to give my wars a dynamic name (which includes the svn branch, svn revision, date stamp, etc.). warble.rb: https://gist.github.com/3183573 warble.rake: warble.rake · GitHub This works, but the wa…

---

## [UDP/TCP stream data block formats](https://www.ruby-forum.com/t/udp-tcp-stream-data-block-formats/221075)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 29, 2012, 2:31pm UTC](https://www.ruby-forum.com/t/udp-tcp-stream-data-block-formats/221075 "2012-06-29T14:31:09Z")

</div>

Hello, I want to stream data from an external sampler to Gnuradio over UDP or TCP. I am wondering about the data formats. As far as I was able to see with Wireshark, for example float is 4 bytes IEEE format, but how …

---

## [Get connected IPs and request addresses](https://www.ruby-forum.com/t/get-connected-ips-and-request-addresses/217405)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 3, 2012, 12:54am UTC](https://www.ruby-forum.com/t/get-connected-ips-and-request-addresses/217405 "2012-03-03T00:54:24Z")

</div>

Hello, We are currently serving files using X-Accel-Redirect. Previously, we used lighttpd and we parsed the server-status page to retrieve IPs along with the request and GET query: 192.168.10.11 0/0 157998/1503052…

---

## [Problem to fetch data with ruby and mysql](https://www.ruby-forum.com/t/problem-to-fetch-data-with-ruby-and-mysql/226262)

<div class="topic-metadata">

**Author:** [@srimanta12](https://www.ruby-forum.com/u/srimanta12)\
**Replies:** 1\
**Last updated:** [February 2, 2012, 2:56pm UTC](https://www.ruby-forum.com/t/problem-to-fetch-data-with-ruby-and-mysql/226262 "2012-02-02T14:56:31Z")

</div>

Hi, Just yesterday I successfully installed ruby in my pc, means I am new in this technology. Today I am trying to fetch the data in my ruby application and successfully done this. Now I want to speed up the performa…

---

## [Selenium e Reveal](https://www.ruby-forum.com/t/selenium-e-reveal/213997)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [November 30, 2011, 7:28am UTC](https://www.ruby-forum.com/t/selenium-e-reveal/213997 "2011-11-30T07:28:41Z")

</div>

Qualcuno usa Capybara + Selenium? Ho un pagina che mostra una finestra modale fatta con reveal.js che appare quando clicco su un link, ma non riesco a farla vedere a Selenium. Ho provato diversi approcci, incluso un …

---

## [Problem with auto increment in rails 3](https://www.ruby-forum.com/t/problem-with-auto-increment-in-rails-3/212902)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 17, 2011, 2:23pm UTC](https://www.ruby-forum.com/t/problem-with-auto-increment-in-rails-3/212902 "2011-10-17T14:23:36Z")

</div>

hi, i am tried to use auto increment field for user\_id field but it fails to do it create\_table :users,:id =\> false,:primary\_key =\> ‘user\_id’, :force =\> true do |t| t.integer :user\_id,:auto\_increment =\> true, :null…

---

## [Argument error in ludcmp when using Newton module](https://www.ruby-forum.com/t/argument-error-in-ludcmp-when-using-newton-module/210059)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 3, 2011, 2:41am UTC](https://www.ruby-forum.com/t/argument-error-in-ludcmp-when-using-newton-module/210059 "2011-08-03T02:41:23Z")

</div>

Hi, I am trying to use bigdecimal/newton for an implementation of XIRR. A copy of the code I am trying to run can be found here: http://pastebin.com/VVMB4bRs When I run the code (Ruby 1.9.2 on Mac OS X 10.6), I get …

---

## [Calendars in Rails](https://www.ruby-forum.com/t/calendars-in-rails/207667)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 31, 2011, 5:26pm UTC](https://www.ruby-forum.com/t/calendars-in-rails/207667 "2011-05-31T17:26:51Z")

</div>

Hi all, I’m currently in the need to implement a calendar in rails. It should be able to present a year, month and day view. The events in these 3 views should be able to be opened, on click, to view the information…

---

## [Nginx will return 499 when php is too busy](https://www.ruby-forum.com/t/nginx-will-return-499-when-php-is-too-busy/206178)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 25, 2011, 9:11pm UTC](https://www.ruby-forum.com/t/nginx-will-return-499-when-php-is-too-busy/206178 "2011-04-25T21:11:54Z")

</div>

123.150.182.101 - - \[24/Apr/2011:00:15:03 +0800\] “GET /plus/qzhlove.php?do=1&t=0.7795113758845088 HTTP/1.1” 499 0 “NameBright - Domain Expired” “-” - 218.29.216.133 - - \[24/Apr/2011:00:15:06 +0800\] “GET /js/tuijian.ph…

---

## [Re: Questions about testing a module method that randomly creates stuff from list](https://www.ruby-forum.com/t/re-questions-about-testing-a-module-method-that-randomly-creates-stuff-from-list/191722)

<div class="topic-metadata">

**Author:** [@destiney](https://www.ruby-forum.com/u/destiney)\
**Replies:** 1\
**Last updated:** [July 17, 2010, 2:34am UTC](https://www.ruby-forum.com/t/re-questions-about-testing-a-module-method-that-randomly-creates-stuff-from-list/191722 "2010-07-17T02:34:49Z")

</div>

\---- David C. removed\_email\_address@domain.invalid wrote: On Jul 15, 2010, at 12:18 PM, Greg D. wrote: This sounds like a long, procedural method. Can it be broken down any further (i.e. delegating more of its work to…

---

## [Have\_tag matcher in rspec 2?](https://www.ruby-forum.com/t/have-tag-matcher-in-rspec-2/190787)

<div class="topic-metadata">

**Author:** [@woahdae](https://www.ruby-forum.com/u/woahdae)\
**Replies:** 1\
**Last updated:** [June 28, 2010, 5:43am UTC](https://www.ruby-forum.com/t/have-tag-matcher-in-rspec-2/190787 "2010-06-28T05:43:52Z")

</div>

I always assumed have\_tag was part of rspec, but it’s not in rspec 2, and looking now I don’t see it in rspec 1 either. Webrat defines it, but that seems like a coincidence (I tried requiring webrat/core/matchers to n…

---

## [About usrp\_spectrum\_sense.py](https://www.ruby-forum.com/t/about-usrp-spectrum-sense-py/190209)

<div class="topic-metadata">

**Author:** [@lishan\_wh](https://www.ruby-forum.com/u/lishan_wh)\
**Replies:** 1\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/about-usrp-spectrum-sense-py/190209 "2010-06-17T16:22:35Z")

</div>

Hi, I have some difficulties in unserstanding the statements belowin usrp\_spectrum\_sense.py. fft = gr.fft\_vcc(self.fft\_size, True, mywindow) power = 0 for tap in my wondow: power += tap\*tap What is stored in windo…

---

## [Customize output of script/spec?](https://www.ruby-forum.com/t/customize-output-of-script-spec/189038)

<div class="topic-metadata">

**Author:** [@cghost](https://www.ruby-forum.com/u/cghost)\
**Replies:** 1\
**Last updated:** [May 22, 2010, 10:27pm UTC](https://www.ruby-forum.com/t/customize-output-of-script-spec/189038 "2010-05-22T22:27:53Z")

</div>

Hi, I am just curious-- is there any way to customize the output of the “expect”, “got” that is returned? I often find myself comparing big blocks of text that are virtually identical except one minor detail (like …

---

## [Undefined local variable or method \`request' â€”in test](https://www.ruby-forum.com/t/undefined-local-variable-or-method-request-a-in-test/186057)

<div class="topic-metadata">

**Author:** [@elliottg](https://www.ruby-forum.com/u/elliottg)\
**Replies:** 1\
**Last updated:** [March 31, 2010, 7:37pm UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-request-a-in-test/186057 "2010-03-31T19:37:05Z")

</div>

I am working on a small gem patch… The code in question is in a module within /lib. I am calling request.env\[‘HTTP\_REFERER’\] and getting the desired results as implementation in the dev env. However, when I run my RSp…

---

## [Problema con rails](https://www.ruby-forum.com/t/problema-con-rails/179975)

<div class="topic-metadata">

**Author:** [@elegant](https://www.ruby-forum.com/u/elegant)\
**Replies:** 1\
**Last updated:** [December 9, 2009, 2:24am UTC](https://www.ruby-forum.com/t/problema-con-rails/179975 "2009-12-09T02:24:14Z")

</div>

if @paciente.save && @paciente\_mutua.save quiero k solo se cree el paciente si se creala mutua como lo puedo hacer

---

## [Code Review: BF.3](https://www.ruby-forum.com/t/code-review-bf-3/177433)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [October 17, 2009, 1:29am UTC](https://www.ruby-forum.com/t/code-review-bf-3/177433 "2009-10-17T01:29:15Z")

</div>

tfpt review “/shelveset:BF.3;REDMOND\\tomat” Comment : DLR: Fixes ScriptScope’s BindSetMember - it needs to convert the result expression to Object. Fixes http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=2…

---

## [\[Bug #2005\] abort at TestRand#test\_random\_range](https://www.ruby-forum.com/t/bug-2005-abort-at-testrand-test-random-range/174473)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 1\
**Last updated:** [August 27, 2009, 6:57am UTC](https://www.ruby-forum.com/t/bug-2005-abort-at-testrand-test-random-range/174473 "2009-08-27T06:57:48Z")

</div>

Bug #2005: abort at TestRand#test\_random\_range http://redmine.ruby-lang.org/issues/show/2005 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.9.2dev (2009-08-27 trunk 2468…

---

## [Version number for next release](https://www.ruby-forum.com/t/version-number-for-next-release/173831)

<div class="topic-metadata">

**Author:** [@Grant\_McLean](https://www.ruby-forum.com/u/Grant_McLean)\
**Replies:** 1\
**Last updated:** [August 21, 2009, 5:04pm UTC](https://www.ruby-forum.com/t/version-number-for-next-release/173831 "2009-08-21T17:04:34Z")

</div>

Hi all The most recent release of the Ruby-Gnome2 bindings was 0.19. I’d like to suggest that the developers/release managers consider calling the next release version 1.0. Of course we all know that the version num…

---

## [Print disabling dialog box](https://www.ruby-forum.com/t/print-disabling-dialog-box/172377)

<div class="topic-metadata">

**Author:** [@Abhishek\_shukla](https://www.ruby-forum.com/u/Abhishek_shukla)\
**Replies:** 1\
**Last updated:** [July 20, 2009, 9:49pm UTC](https://www.ruby-forum.com/t/print-disabling-dialog-box/172377 "2009-07-20T21:49:34Z")

</div>

Hello, I need a functionality where i can print out the content on just one click with out dialog box alert. So is it possible with ruby on rails? Thanks

---

## [\[Cucumber\] Autospec run "only" features?](https://www.ruby-forum.com/t/cucumber-autospec-run-only-features/170771)

<div class="topic-metadata">

**Author:** [@churp](https://www.ruby-forum.com/u/churp)\
**Replies:** 1\
**Last updated:** [June 22, 2009, 5:54pm UTC](https://www.ruby-forum.com/t/cucumber-autospec-run-only-features/170771 "2009-06-22T17:54:46Z")

</div>

Hello All, Is there a way to Autospec “only” my features? I know this is an anti-pattern. Just trying to auto-cycle while figuring out some things with Cucumber. Once I get the Cuke code ironed out, I’d happily ret…

---

## [HOWTO: Authenticating with a Windows Active Directory server](https://www.ruby-forum.com/t/howto-authenticating-with-a-windows-active-directory-server/163901)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 1\
**Last updated:** [April 21, 2009, 6:14pm UTC](https://www.ruby-forum.com/t/howto-authenticating-with-a-windows-active-directory-server/163901 "2009-04-21T18:14:29Z")

</div>

I have a Ramaze-based web application at work. I wanted it to integrate with the Active Directory server for the company, so that no one would have to create accounts for new users, and the same password you used for …

---

## [Rails sur GoogleAppsEngine](https://www.ruby-forum.com/t/rails-sur-googleappsengine/165021)

<div class="topic-metadata">

**Author:** [@Emilien\_T](https://www.ruby-forum.com/u/Emilien_T)\
**Replies:** 1\
**Last updated:** [April 8, 2009, 6:43pm UTC](https://www.ruby-forum.com/t/rails-sur-googleappsengine/165021 "2009-04-08T18:43:36Z")

</div>

C’est dÃ©sormais possible depuis le support de Java par GAE, via JRuby ! http://olabini.com/blog/2009/04/jruby-on-rails-on-google-app-engine/ Emilien

---

## [Probleme DÃ©pendance rails/rake](https://www.ruby-forum.com/t/probleme-da-pendance-rails-rake/164912)

<div class="topic-metadata">

**Author:** [@babiben](https://www.ruby-forum.com/u/babiben)\
**Replies:** 1\
**Last updated:** [April 7, 2009, 11:18am UTC](https://www.ruby-forum.com/t/probleme-da-pendance-rails-rake/164912 "2009-04-07T11:18:33Z")

</div>

Salut, J’ai (encore) un petit problÃ¨me. J’utilise ruby (sous windows, linux…) version 1.8.6 avec rails 2.1.0 et j’ai des petits problÃ¨mes de dÃ©pendances. Je dispose de plusieurs projets Ror avec dans le fichier de …

---

## [Nginx to load balance application servers](https://www.ruby-forum.com/t/nginx-to-load-balance-application-servers/159321)

<div class="topic-metadata">

**Author:** [@zimbirti\_zimbirti](https://www.ruby-forum.com/u/zimbirti_zimbirti)\
**Replies:** 1\
**Last updated:** [February 4, 2009, 4:59am UTC](https://www.ruby-forum.com/t/nginx-to-load-balance-application-servers/159321 "2009-02-04T04:59:37Z")

</div>

I have a blog system with seperate subdomain and domains and want to use nginx to load balance application servers. I want to give total number of servers available for example 5 and want to redirect all requests to …

---

## [Audio\_alsa\_sink question](https://www.ruby-forum.com/t/audio-alsa-sink-question/157798)

<div class="topic-metadata">

**Author:** [@Sebastiaan\_H](https://www.ruby-forum.com/u/Sebastiaan_H)\
**Replies:** 1\
**Last updated:** [January 15, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/audio-alsa-sink-question/157798 "2009-01-15T20:21:59Z")

</div>

Hi I have a problem with the audio sink. I’m playing around with the analysis\_filterbank block. I have a GUI allowing the user to pick a channel. That channel then gets connected to an FM demodulator,volume contro…

---

## [Email attachment corrupted](https://www.ruby-forum.com/t/email-attachment-corrupted/153881)

<div class="topic-metadata">

**Author:** [@up1notch](https://www.ruby-forum.com/u/up1notch)\
**Replies:** 1\
**Last updated:** [November 23, 2008, 9:32am UTC](https://www.ruby-forum.com/t/email-attachment-corrupted/153881 "2008-11-23T09:32:44Z")

</div>

Having some problem with sending email with attachment: I am able to send an email without attachment via gmail server. However, when i tried to send an image attachment, it is corrupted at the recipient mailbox; coz …

---

## [Paperclip plugin changing original image extension](https://www.ruby-forum.com/t/paperclip-plugin-changing-original-image-extension/152934)

<div class="topic-metadata">

**Author:** [@bagadoughnuts](https://www.ruby-forum.com/u/bagadoughnuts)\
**Replies:** 1\
**Last updated:** [November 10, 2008, 5:12am UTC](https://www.ruby-forum.com/t/paperclip-plugin-changing-original-image-extension/152934 "2008-11-10T05:12:58Z")

</div>

Hi guys, I got what I assume is a pretty simple question. I need to convert the original image filename from a paperclip plugin upload to be .png. So all files uploaded (.jpg or .gif) will be converted to .png WITHOU…

---

## [Moving Back From ActiveRecord Session Store to cookie](https://www.ruby-forum.com/t/moving-back-from-activerecord-session-store-to-cookie/152606)

<div class="topic-metadata">

**Author:** [@johnk](https://www.ruby-forum.com/u/johnk)\
**Replies:** 1\
**Last updated:** [November 5, 2008, 5:40pm UTC](https://www.ruby-forum.com/t/moving-back-from-activerecord-session-store-to-cookie/152606 "2008-11-05T17:40:38Z")

</div>

A couple months ago I moved from storing sessions in the default cookie store to active\_record. Now I kind of want to move back because I am not sure I see any benefit of it but many negatives i.e. it is not easy on …

---

## [Stub! and null\_object](https://www.ruby-forum.com/t/stub-and-null-object/152458)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 1\
**Last updated:** [November 4, 2008, 6:37am UTC](https://www.ruby-forum.com/t/stub-and-null-object/152458 "2008-11-04T06:37:18Z")

</div>

I have some code I want to stub out as it’s not part of what I’m testing. It’s got a bit of DSL going on, so there are method calls chained together. The call I want to stub out looks like this: user.record\_action(…

---

## [Error: JPEG marker not found!](https://www.ruby-forum.com/t/error-jpeg-marker-not-found/151094)

<div class="topic-metadata">

**Author:** [@min\_e](https://www.ruby-forum.com/u/min_e)\
**Replies:** 1\
**Last updated:** [October 22, 2008, 12:37pm UTC](https://www.ruby-forum.com/t/error-jpeg-marker-not-found/151094 "2008-10-22T12:37:16Z")

</div>

Probando la gema image\_size he encontrado un problema rarÃ­simo. Al ejecutar este cÃ³digo: fichero = File.read(“imagen.jpg”) img = ImageSize.new( fichero ) La segunda lÃ­nea me da error con algunos JPGs. Con unos no…

---

## [Starting Server gives an error](https://www.ruby-forum.com/t/starting-server-gives-an-error/150873)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 2:53pm UTC](https://www.ruby-forum.com/t/starting-server-gives-an-error/150873 "2008-10-14T14:53:56Z")

</div>

Hi, I had created a new environment and tried to start the webrick server for that environment but it is giving an error:- E:/demo/vendor/rails/railties/lib/commands/servers/ webrick.rb:11: warning: already initializ…

---

## [Will acts\_as\_paranoid work with attachment\_fu?](https://www.ruby-forum.com/t/will-acts-as-paranoid-work-with-attachment-fu/149525)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 1\
**Last updated:** [September 26, 2008, 12:12am UTC](https://www.ruby-forum.com/t/will-acts-as-paranoid-work-with-attachment-fu/149525 "2008-09-26T00:12:46Z")

</div>

I’ve got a problem in that users are deleting a paranoid model through the application, including dependents. Some of these dependents are paranoid too, but not the attachments. (I’m using DB file storage.) I need to …

---

## [Extract contents from pdf (pdf reader)](https://www.ruby-forum.com/t/extract-contents-from-pdf-pdf-reader/149162)

<div class="topic-metadata">

**Author:** [@P\_Rajmohan\_BSA1719](https://www.ruby-forum.com/u/P_Rajmohan_BSA1719)\
**Replies:** 1\
**Last updated:** [September 22, 2008, 4:00pm UTC](https://www.ruby-forum.com/t/extract-contents-from-pdf-pdf-reader/149162 "2008-09-22T16:00:56Z")

</div>

Hi, I am looking for a way to read the contents of the pdf document. Could you pls advice on how to go about it? I have tried using the pdf-reader gem but ran into issues. Are there any other gems out there? The issu…

---

## [Rails 2.1 - turing off time stamped migrations](https://www.ruby-forum.com/t/rails-2-1-turing-off-time-stamped-migrations/140740)

<div class="topic-metadata">

**Author:** [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Replies:** 1\
**Last updated:** [June 18, 2008, 5:49am UTC](https://www.ruby-forum.com/t/rails-2-1-turing-off-time-stamped-migrations/140740 "2008-06-18T05:49:38Z")

</div>

I have read that you could turn of time stamped migrations by adding the line “config.active\_record.timestamped\_migrations = false” to your environment.rb. After I add this line I get the following error when running …

---

## [Mod\_strip newline substitution problem](https://www.ruby-forum.com/t/mod-strip-newline-substitution-problem/136343)

<div class="topic-metadata">

**Author:** [@Calomel](https://www.ruby-forum.com/u/Calomel)\
**Replies:** 1\
**Last updated:** [May 2, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/mod-strip-newline-substitution-problem/136343 "2008-05-02T21:48:31Z")

</div>

@Evan M. I built Nginx 0.6.30 with the third party module mod\_strip. The problem I am seeing is when mod\_strip removes a newline “\\n” it does not replace it with a space. Instead, the last word of one line is jammed…

---

## [OpenGL and JRuby issue with methods and passing arrays](https://www.ruby-forum.com/t/opengl-and-jruby-issue-with-methods-and-passing-arrays/133882)

<div class="topic-metadata">

**Author:** [@sikanrong](https://www.ruby-forum.com/u/sikanrong)\
**Replies:** 1\
**Last updated:** [April 4, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/opengl-and-jruby-issue-with-methods-and-passing-arrays/133882 "2008-04-04T16:44:35Z")

</div>

Hey guys, Im attaching a simple OpenGL helloworld program for JRuby. If you run it and you have the JOGL stuff in your classpath, then it will simply open up and make a cube spin (hooray! spinning cube!). My issue is …

---

## [\[ANN\] Related content extension](https://www.ruby-forum.com/t/ann-related-content-extension/117728)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 1\
**Last updated:** [January 30, 2008, 6:33am UTC](https://www.ruby-forum.com/t/ann-related-content-extension/117728 "2008-01-30T06:33:53Z")

</div>

This is a minor extension that allows you to relate pages to one another externally and generate lists of links or other attributes of related pages with Radius tags. My client decided this was not needed for their pr…

---

## ["undefined symbol" with wxRuby gem on Fedora Core 5](https://www.ruby-forum.com/t/undefined-symbol-with-wxruby-gem-on-fedora-core-5/127178)

<div class="topic-metadata">

**Author:** [@Jay\_McGavren](https://www.ruby-forum.com/u/Jay_McGavren)\
**Replies:** 1\
**Last updated:** [January 25, 2008, 11:18pm UTC](https://www.ruby-forum.com/t/undefined-symbol-with-wxruby-gem-on-fedora-core-5/127178 "2008-01-25T23:18:12Z")

</div>

I’m trying to test on platforms other than Windows, starting with my Fedora Core 5 box. I’m getting this error when trying to run the Hello World script (http://wxruby.rubyforge.org/wiki/wiki.pl?Hello\_World): undefi…

---

## [How nginx can improve imap webaccess](https://www.ruby-forum.com/t/how-nginx-can-improve-imap-webaccess/119318)

<div class="topic-metadata">

**Author:** [@Alain\_Spineux](https://www.ruby-forum.com/u/Alain_Spineux)\
**Replies:** 1\
**Last updated:** [November 6, 2007, 9:47am UTC](https://www.ruby-forum.com/t/how-nginx-can-improve-imap-webaccess/119318 "2007-11-06T09:47:25Z")

</div>

Hello I looked for long information about how nginx can improve IMAP ! After hour I found this useful remark from Igor on this list: You need nginx IMAP/POP3 proxy only if you have several IMAP/POP3 backends, you ne…

---

## [UPS quotes via shipping gem](https://www.ruby-forum.com/t/ups-quotes-via-shipping-gem/64423)

<div class="topic-metadata">

**Author:** [@minimal](https://www.ruby-forum.com/u/minimal)\
**Replies:** 1\
**Last updated:** [November 4, 2007, 8:39pm UTC](https://www.ruby-forum.com/t/ups-quotes-via-shipping-gem/64423 "2007-11-04T20:39:13Z")

</div>

greetings, has anyone had luck with the UPS portion of the shipping gem? i get nil’s returned for price, wondering what i’m missing. to avoid all confusion i included the account/login in the instantiation (sub with …

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

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