# Top

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

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

---

## [Difference Module#extend\_object and Module#extended](https://www.ruby-forum.com/t/difference-module-extend-object-and-module-extended/228906)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 3\
**Last updated:** [May 13, 2013, 8:46am UTC](https://www.ruby-forum.com/t/difference-module-extend-object-and-module-extended/228906 "2013-05-13T08:46:40Z")

</div>

Hi, I just introduced one callback says Class: Module (Ruby 2.0.0). extend\_object(obj) → obj But I am familiar with Module#extended hook. But not understood while Module#extended we have,then why Module#extend\_objec…

---

## [How to encrypt password in php](https://www.ruby-forum.com/t/how-to-encrypt-password-in-php/228685)

<div class="topic-metadata">

**Author:** [@oto\_iashvili](https://www.ruby-forum.com/u/oto_iashvili)\
**Replies:** 3\
**Last updated:** [May 4, 2013, 6:39am UTC](https://www.ruby-forum.com/t/how-to-encrypt-password-in-php/228685 "2013-05-04T06:39:49Z")

</div>

Hi, im migrating a website from php to rails and devise. There is a user table with password that are not encrypted. I made already a script in php to migrate to data to new database, but I cant figure how to encry…

---

## [How to create an object in one model at the same time as another](https://www.ruby-forum.com/t/how-to-create-an-object-in-one-model-at-the-same-time-as-another/227293)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 3\
**Last updated:** [March 10, 2013, 10:38pm UTC](https://www.ruby-forum.com/t/how-to-create-an-object-in-one-model-at-the-same-time-as-another/227293 "2013-03-10T22:38:51Z")

</div>

Hi, I’m using Devise and Cancan in my project. I’m a beginner still. I’m trying to create a new Profile object each time a new user is created. Anyone know where to do this, as there is no new action in User cont…

---

## [RDS demodulation](https://www.ruby-forum.com/t/rds-demodulation/217105)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 21, 2012, 6:50pm UTC](https://www.ruby-forum.com/t/rds-demodulation/217105 "2012-02-21T18:50:46Z")

</div>

I’m having trouble demodulating the RDS signal that comes along with a lot of broadcast FM signals these days. I know that there’s “gr-rds” that has already done this, but I wanted to do my own just for personal educa…

---

## [Resuming a download](https://www.ruby-forum.com/t/resuming-a-download/204385)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 11, 2011, 2:33pm UTC](https://www.ruby-forum.com/t/resuming-a-download/204385 "2011-03-11T14:33:49Z")

</div>

Is there a document somewhere that describers how I would implement, in Rails, a “resume download”? I have a large video I want people to download (if they want to). My partner has a bad Internet connection and it cra…

---

## [Creating static variables](https://www.ruby-forum.com/t/creating-static-variables/188345)

<div class="topic-metadata">

**Author:** [@deviated](https://www.ruby-forum.com/u/deviated)\
**Replies:** 3\
**Last updated:** [May 11, 2010, 11:00am UTC](https://www.ruby-forum.com/t/creating-static-variables/188345 "2010-05-11T11:00:07Z")

</div>

Hi, Trying to make a program where a user can input hours done (counter), and then show the number of hours done. The only problem is saving the new value, how do I do it? For example. -First time program starts, co…

---

## [Rails 3 engine plugin's routes not recognized](https://www.ruby-forum.com/t/rails-3-engine-plugins-routes-not-recognized/183494)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 3\
**Last updated:** [March 2, 2010, 1:31am UTC](https://www.ruby-forum.com/t/rails-3-engine-plugins-routes-not-recognized/183494 "2010-03-02T01:31:43Z")

</div>

Hi, my Rails 3 engine plugin’s routes are not recognized (‘No route matches…’) even though they seem to get registered ok (they show up in Rails.application.routes) - any idea why anybody? Thanks! Ingo

---

## [Vendoring nokogiri in a jruby rails app](https://www.ruby-forum.com/t/vendoring-nokogiri-in-a-jruby-rails-app/182807)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 3\
**Last updated:** [February 12, 2010, 7:40pm UTC](https://www.ruby-forum.com/t/vendoring-nokogiri-in-a-jruby-rails-app/182807 "2010-02-12T19:40:24Z")

</div>

I’m trying to vendor nokogiri in a jruby rails app. I want to be able to run my app WAR on a machine that doesn’t have the nokogiri / libxml2 native extensions and .so files installed. I’m having trouble however. …

---

## [Unable to use Rspec Framework in Watir](https://www.ruby-forum.com/t/unable-to-use-rspec-framework-in-watir/177818)

<div class="topic-metadata">

**Author:** [@abhisheksreepal](https://www.ruby-forum.com/u/abhisheksreepal)\
**Replies:** 3\
**Last updated:** [October 26, 2009, 11:25am UTC](https://www.ruby-forum.com/t/unable-to-use-rspec-framework-in-watir/177818 "2009-10-26T11:25:37Z")

</div>

Hi , My OS is Windows Xp. I have mentioned a code below.Initially I didn’t had safariwatir installed. When i was executing the code, I was getting an Error- No such File to Load -“safariwatir” I didn’t Know the Ro…

---

## [Something's wrong with ObjectSpace](https://www.ruby-forum.com/t/somethings-wrong-with-objectspace/177863)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 3\
**Last updated:** [October 26, 2009, 7:08am UTC](https://www.ruby-forum.com/t/somethings-wrong-with-objectspace/177863 "2009-10-26T07:08:38Z")

</div>

Hey, The next REPL session works fine in MRI but in IR it throws an error: str = “sss” =\> “sss” ObjectSpace.each\_object(String) { |x| puts x } d:\\IronRuby\\GitRepository2\\ironruby\\Merlin\\Main\\Languages\\Ruby\\Li…

---

## [Different gem locations: reasons?](https://www.ruby-forum.com/t/different-gem-locations-reasons/173578)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 3\
**Last updated:** [August 11, 2009, 5:38pm UTC](https://www.ruby-forum.com/t/different-gem-locations-reasons/173578 "2009-08-11T17:38:56Z")

</div>

Hi there, as far as I know, gems can be stored in 2 folders: /usr/lib/ruby/gems/1.8/gems app/vendor/gems When I install a gem, it automatically goes into the 1st folder. My questions are: What are the reasons one …

---

## [Rake db Fixtures MySql autoincrement problem?](https://www.ruby-forum.com/t/rake-db-fixtures-mysql-autoincrement-problem/173044)

<div class="topic-metadata">

**Author:** [@BrendanC](https://www.ruby-forum.com/u/BrendanC)\
**Replies:** 3\
**Last updated:** [August 6, 2009, 1:38pm UTC](https://www.ruby-forum.com/t/rake-db-fixtures-mysql-autoincrement-problem/173044 "2009-08-06T13:38:42Z")

</div>

I’m trying to load some Rake Fixtures (rake db:fixtures:load) into a MySql database and I’m seeing some weird behaviour with AutoIncrement values. Normally this goes up by 1 for each insert which allows me to define/c…

---

## [Install pb(solved) : http://gems.rubyforge.org/ does not appear to be a repository](https://www.ruby-forum.com/t/install-pb-solved-http-gems-rubyforge-org-does-not-appear-to-be-a-repository/169936)

<div class="topic-metadata">

**Author:** [@GuyK](https://www.ruby-forum.com/u/GuyK)\
**Replies:** 0\
**Last updated:** [June 10, 2009, 1:01pm UTC](https://www.ruby-forum.com/t/install-pb-solved-http-gems-rubyforge-org-does-not-appear-to-be-a-repository/169936 "2009-06-10T13:01:42Z")

</div>

I’m installing ruby on rails on my local windows laptop, piece of cake, ruby is adult now, so I thought… http://rubyonrails.org/download is clear : install ruby with windows installer, ok download gems, unzip and “…

---

## [With RSpec 1.2.4, autospec runs twice](https://www.ruby-forum.com/t/with-rspec-1-2-4-autospec-runs-twice/166174)

<div class="topic-metadata">

**Author:** [@charlesgreen](https://www.ruby-forum.com/u/charlesgreen)\
**Replies:** 3\
**Last updated:** [April 22, 2009, 6:34pm UTC](https://www.ruby-forum.com/t/with-rspec-1-2-4-autospec-runs-twice/166174 "2009-04-22T18:34:37Z")

</div>

Hi, I created a ticket for this in Lighthouse ( https://rspec.lighthouseapp.com/projects/5645/tickets/797-with-rspec-124-autospec-runs-twice). However, I wanted to throw this out to the mailing list. Has anyone else …

---

## [Ruby on Rails Developing Opportunities](https://www.ruby-forum.com/t/ruby-on-rails-developing-opportunities/157703)

<div class="topic-metadata">

**Author:** [@mhartman](https://www.ruby-forum.com/u/mhartman)\
**Replies:** 3\
**Last updated:** [January 15, 2009, 2:20pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developing-opportunities/157703 "2009-01-15T14:20:59Z")

</div>

Hello everyone, I am working for a new client of ours that is looking for multiple Ruby on Rails developers. They are a new company that is only a few years old and are offering training to any IT professional that ha…

---

## [Parseexcel problem](https://www.ruby-forum.com/t/parseexcel-problem/157531)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 12, 2009, 8:02pm UTC](https://www.ruby-forum.com/t/parseexcel-problem/157531 "2009-01-12T20:02:18Z")

</div>

I am running rails 2.2 and gem 1.3.1 I have this basic code: equire ‘rubygems’ require ‘parseexcel’ workbook = Spreadsheet::ParseExcel.parse() I get this error: ./parseexcel.rb:4: uninitialized constant Spreadsheet…

---

## [Strange behavior with a little racks app in thin](https://www.ruby-forum.com/t/strange-behavior-with-a-little-racks-app-in-thin/157107)

<div class="topic-metadata">

**Author:** [@saboteur](https://www.ruby-forum.com/u/saboteur)\
**Replies:** 3\
**Last updated:** [January 8, 2009, 10:51am UTC](https://www.ruby-forum.com/t/strange-behavior-with-a-little-racks-app-in-thin/157107 "2009-01-08T10:51:15Z")

</div>

Hi, I’m playing with thin and racks at the moment. I tried to built a really basic application: test.ru content=\[“Is it working? blublublub”\] app = proc do |env| \[ 200, # Status code { # Res…

---

## [High bandwidth channel estimation using the USRP](https://www.ruby-forum.com/t/high-bandwidth-channel-estimation-using-the-usrp/155693)

<div class="topic-metadata">

**Author:** [@abdias](https://www.ruby-forum.com/u/abdias)\
**Replies:** 3\
**Last updated:** [December 15, 2008, 7:24pm UTC](https://www.ruby-forum.com/t/high-bandwidth-channel-estimation-using-the-usrp/155693 "2008-12-15T19:24:06Z")

</div>

Hi! My name is Emanuel and I’m doing my master thesis project for a small company called Actiwave (http://www.actiwave.se). We recently bought a USRP-board together with an assortment of daughterboards. The dboards I…

---

## [Validates - scope sur deux colonnes](https://www.ruby-forum.com/t/validates-scope-sur-deux-colonnes/150649)

<div class="topic-metadata">

**Author:** [@niber](https://www.ruby-forum.com/u/niber)\
**Replies:** 3\
**Last updated:** [October 10, 2008, 9:37pm UTC](https://www.ruby-forum.com/t/validates-scope-sur-deux-colonnes/150649 "2008-10-10T21:37:05Z")

</div>

Bonjour, J’ai une table du genre nom numero rue Je souhaite interdire la saisie de doublons dans la colonne nom en vÃ©rifiant qu’un nom n’existe pas dÃ©ja au mÃªme numÃ©ro dans la mÃªme rue Est-il possible de pass…

---

## [How to use a class\_variable into a Module](https://www.ruby-forum.com/t/how-to-use-a-class-variable-into-a-module/138015)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [May 19, 2008, 5:17pm UTC](https://www.ruby-forum.com/t/how-to-use-a-class-variable-into-a-module/138015 "2008-05-19T17:17:38Z")

</div>

Hi, I want to declare a class\_variable in class A. Class A includes a Module M and I want some methods in M using the class\_variable but I get some problem: module M def kk #puts (eval %{ #{send(‘class’).class\_vari…

---

## [Serial Number in Pagination Results](https://www.ruby-forum.com/t/serial-number-in-pagination-results/137984)

<div class="topic-metadata">

**Author:** [@saravanankrishnan](https://www.ruby-forum.com/u/saravanankrishnan)\
**Replies:** 3\
**Last updated:** [May 19, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/serial-number-in-pagination-results/137984 "2008-05-19T16:04:46Z")

</div>

Hi all, I want to display serial Number (s.no) for pagination results. Is any methods available to do that? Can any one tell me how to do that? Thanks in Advance Saravanan K

---

## [Me pueden recomendar documentaciÃ³n?](https://www.ruby-forum.com/t/me-pueden-recomendar-documentacia-n/135408)

<div class="topic-metadata">

**Author:** [@juancarom](https://www.ruby-forum.com/u/juancarom)\
**Replies:** 3\
**Last updated:** [April 22, 2008, 1:17pm UTC](https://www.ruby-forum.com/t/me-pueden-recomendar-documentacia-n/135408 "2008-04-22T13:17:17Z")

</div>

Trabajo con Rails 1.2.6, no he querido migrar a Rails 2.X porque apenas puedo con la versión en la que estoy, y por desgracia mis consultas pueden resultar demasiado básicas para esta lista. He intentado buscando en G…

---

## [Bignums, integers and migrations](https://www.ruby-forum.com/t/bignums-integers-and-migrations/133362)

<div class="topic-metadata">

**Author:** [@gustav](https://www.ruby-forum.com/u/gustav)\
**Replies:** 3\
**Last updated:** [March 31, 2008, 1:12am UTC](https://www.ruby-forum.com/t/bignums-integers-and-migrations/133362 "2008-03-31T01:12:05Z")

</div>

Hi. I’m using a migration to extract data from one table, to another. In the process I also convert ip-adresses to integers, for insertion in the new table. Problem is that migrations doesn’t seem to handle large numb…

---

## [Kill process using WIN32\_PROCESS](https://www.ruby-forum.com/t/kill-process-using-win32-process/131628)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 3\
**Last updated:** [March 13, 2008, 4:51pm UTC](https://www.ruby-forum.com/t/kill-process-using-win32-process/131628 "2008-03-13T16:51:32Z")

</div>

I was reviewing the docs for Module Process in WIN32\_PROCESS and found the following docs for Kill. What does signal 4-8 do and how does it make it nicer kill. why is it 4-8 and what is the degree of niceness as it g…

---

## [ActionMailer with non-constant template](https://www.ruby-forum.com/t/actionmailer-with-non-constant-template/113476)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 3\
**Last updated:** [September 4, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/actionmailer-with-non-constant-template/113476 "2007-09-04T18:24:29Z")

</div>

Hello, The situation is that opposed to the classic setting (i.e. having an .rhtml file as the email template) the e-mail template I am using to send e-mail should be editable - i.e. there is a first version of the t…

---

## [Re: Radiant Digest, Vol 15, Issue 18](https://www.ruby-forum.com/t/re-radiant-digest-vol-15-issue-18/106098)

<div class="topic-metadata">

**Author:** [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Replies:** 3\
**Last updated:** [June 7, 2007, 12:23am UTC](https://www.ruby-forum.com/t/re-radiant-digest-vol-15-issue-18/106098 "2007-06-07T00:23:44Z")

</div>

Thanks David, At least I know it isn’t just me now! A couple of times I have found that uploading a “problem file” along with another couple of files sometimes seems to help, no idea why though. It doesn’t seem to ac…

---

## [Problem con :include with pagination in Site5](https://www.ruby-forum.com/t/problem-con-include-with-pagination-in-site5/91473)

<div class="topic-metadata">

**Author:** [@infelix](https://www.ruby-forum.com/u/infelix)\
**Replies:** 3\
**Last updated:** [April 11, 2007, 3:18pm UTC](https://www.ruby-forum.com/t/problem-con-include-with-pagination-in-site5/91473 "2007-04-11T15:18:57Z")

</div>

In the deployment of my Ruby app in Site5 hosting, I found that all the calls to the paginate function that have the :nclude option produce an error For example: @episode\_pages, @episodes = paginate :pod\_updates, :or…

---

## [Problem with ri or me?](https://www.ruby-forum.com/t/problem-with-ri-or-me/90946)

<div class="topic-metadata">

**Author:** [@Dave\_Miller](https://www.ruby-forum.com/u/Dave_Miller)\
**Replies:** 3\
**Last updated:** [April 3, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/problem-with-ri-or-me/90946 "2007-04-03T18:58:41Z")

</div>

Hello – I just installed Ruby a couple of days ago, and I have been going through tutorials, etc. One thing I can’t explain is that ri doesn’t seem to work on my system. I am running Ruby 1.8.6 on XP. I am trying…

---

## [\<r:children:each\> should not return virtual?](https://www.ruby-forum.com/t/reach-should-not-return-virtual/86947)

<div class="topic-metadata">

**Author:** [@igotimac](https://www.ruby-forum.com/u/igotimac)\
**Replies:** 3\
**Last updated:** [February 27, 2007, 6:25am UTC](https://www.ruby-forum.com/t/reach-should-not-return-virtual/86947 "2007-02-27T06:25:58Z")

</div>

If I use: \<r:children:each\> I was thinking that it should not include FileNotFound etc… type pages. (Pages that return true for “virtual?”) Does this make sense to everyone else? I’ll file a ticket with a fix, but …

---

## [Hide/unhide using prototype](https://www.ruby-forum.com/t/hide-unhide-using-prototype/82811)

<div class="topic-metadata">

**Author:** [@jdejong](https://www.ruby-forum.com/u/jdejong)\
**Replies:** 3\
**Last updated:** [January 22, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/hide-unhide-using-prototype/82811 "2007-01-22T19:11:22Z")

</div>

I’m sorry if this is a stupid question but I’m totally swamped. I have a view where I have 2 radio\_buttons with corresponding selection box below each. Initially I want the user only to see the two radio\_buttons next …

---

## [Comprobar que una fecha es realmente una fecha](https://www.ruby-forum.com/t/comprobar-que-una-fecha-es-realmente-una-fecha/80550)

<div class="topic-metadata">

**Author:** [@fesja](https://www.ruby-forum.com/u/fesja)\
**Replies:** 3\
**Last updated:** [January 2, 2007, 12:51pm UTC](https://www.ruby-forum.com/t/comprobar-que-una-fecha-es-realmente-una-fecha/80550 "2007-01-02T12:51:58Z")

</div>

Hola, Tengo lo siguiente: def semana if params\[:week\].nil? #No estoy seguro de que funcione redirect\_to :action =\> “index” end #resto de funciÃ³n Quiero comprobar que recibo realmente una fecha y que…

---

## [Unknown ruby processes show up in "top" when running cronjob](https://www.ruby-forum.com/t/unknown-ruby-processes-show-up-in-top-when-running-cronjob/76731)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [November 22, 2006, 11:52pm UTC](https://www.ruby-forum.com/t/unknown-ruby-processes-show-up-in-top-when-running-cronjob/76731 "2006-11-22T23:52:08Z")

</div>

Hello, I have a ruby (rails) cronjob. When I monitor the execution of the cronjob with top, I notice that 2 more processes show up in there (instead of just one for my cronjob). My cronjob captures the output of runn…

---

## [Boost.Python equivalent for Ruby?](https://www.ruby-forum.com/t/boost-python-equivalent-for-ruby/70844)

<div class="topic-metadata">

**Author:** [@valachi](https://www.ruby-forum.com/u/valachi)\
**Replies:** 3\
**Last updated:** [October 3, 2006, 7:56pm UTC](https://www.ruby-forum.com/t/boost-python-equivalent-for-ruby/70844 "2006-10-03T19:56:28Z")

</div>

Does something like Boost.Python exist for Ruby? Couple of similar, now aborted projects, were mentioned on this newsgroup but perhaps I miss something new. (I know about C extensions and SWIG.) /Pavel

---

## [Adding an asset sytem to Radiant](https://www.ruby-forum.com/t/adding-an-asset-sytem-to-radiant/69805)

<div class="topic-metadata">

**Author:** [@Chris\_Lloyd](https://www.ruby-forum.com/u/Chris_Lloyd)\
**Replies:** 3\
**Last updated:** [September 25, 2006, 2:18am UTC](https://www.ruby-forum.com/t/adding-an-asset-sytem-to-radiant/69805 "2006-09-25T02:18:54Z")

</div>

Hi, I was wondering about an assets management system for Radiant. I really love how they have implemented it in Mephisto: having the basket was an awesome idea. I had a look at porting that from Mephisto to Radiant…

---

## [Question about Hash's initialize](https://www.ruby-forum.com/t/question-about-hashs-initialize/54646)

<div class="topic-metadata">

**Author:** [@Suhku\_H](https://www.ruby-forum.com/u/Suhku_H)\
**Replies:** 3\
**Last updated:** [March 11, 2006, 12:16am UTC](https://www.ruby-forum.com/t/question-about-hashs-initialize/54646 "2006-03-11T00:16:16Z")

</div>

I’d like to make a class that behave like a Hash but keeps keys in created order. Followings are some initial testing codes… class OHash \< Hash def self. if (args.size == 1) and args\[0\].kind\_of?(Hash) args\[0\].each…

---

## [Support for audio recording and analysis using Ruby?](https://www.ruby-forum.com/t/support-for-audio-recording-and-analysis-using-ruby/54197)

<div class="topic-metadata">

**Author:** [@Wink\_Saville](https://www.ruby-forum.com/u/Wink_Saville)\
**Replies:** 3\
**Last updated:** [February 28, 2006, 3:32pm UTC](https://www.ruby-forum.com/t/support-for-audio-recording-and-analysis-using-ruby/54197 "2006-02-28T15:32:58Z")

</div>

Hello, I was wondering if there were any modules available for Ruby to capture and analyze audio that runs on Linux. I’d like to capture short snippets of audio (0.5 to 1 second) and then do an FFT. Thanks, Wink Sav…

---

## [Group By](https://www.ruby-forum.com/t/group-by/95365)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 3\
**Last updated:** [November 15, 2005, 4:30am UTC](https://www.ruby-forum.com/t/group-by/95365 "2005-11-15T04:30:17Z")

</div>

Is there a way to use group by within find without doing find\_by\_sql? I am trying to group all post by date… showing the date and then all the posts by it… then the next date. Anyone have any code snippets for this? …

---

## [I'm not sure how "hash $cachekey" works](https://www.ruby-forum.com/t/im-not-sure-how-hash-cachekey-works/243879)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [January 22, 2016, 1:49am UTC](https://www.ruby-forum.com/t/im-not-sure-how-hash-cachekey-works/243879 "2016-01-22T01:49:14Z")

</div>

I have a question about “hash $cachekey” consistent; Would the following Config 1, Config 2, Config 3 be exactly the same of different? i.e. if I swap the configurations would the cache keys stay consistent? The reas…

---

## [nil:NilClass (NoMethodError) by a newbie](https://www.ruby-forum.com/t/nil-nilclass-nomethoderror-by-a-newbie/243492)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [November 18, 2015, 8:40am UTC](https://www.ruby-forum.com/t/nil-nilclass-nomethoderror-by-a-newbie/243492 "2015-11-18T08:40:25Z")

</div>

Hi there! A newbie here who would appreciate any help you can give! I’m doing a practice test in Chris P.'s intro to programming/Ruby book. I’m creating a method to (recursively) sort the elements in a given array. d…

---

## [Need to parse xml test script in Ruby](https://www.ruby-forum.com/t/need-to-parse-xml-test-script-in-ruby/243176)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [September 1, 2015, 12:07pm UTC](https://www.ruby-forum.com/t/need-to-parse-xml-test-script-in-ruby/243176 "2015-09-01T12:07:07Z")

</div>

Hi, I am writing ruby script to automate my unit testing. I have written test case and expected output inside the xml file. Now I need to parse it and execute the commands/instruction in xml through my script. Xml F…

---

## [How to connect to MariaDB cluster from Rails?](https://www.ruby-forum.com/t/how-to-connect-to-mariadb-cluster-from-rails/243156)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 27, 2015, 5:03pm UTC](https://www.ruby-forum.com/t/how-to-connect-to-mariadb-cluster-from-rails/243156 "2015-08-27T17:03:09Z")

</div>

I’m trying to connect my Rails app to MariaDB cluster.

---

## [Experience with Ubuntu 15.04 and Gnuradio 3.7.8](https://www.ruby-forum.com/t/experience-with-ubuntu-15-04-and-gnuradio-3-7-8/243043)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 18, 2015, 1:38am UTC](https://www.ruby-forum.com/t/experience-with-ubuntu-15-04-and-gnuradio-3-7-8/243043 "2015-08-18T01:38:41Z")

</div>

All, I am considering updating to Ubuntu 15.04 from 14.04 and want to continue with GRC 3.7.8. Anyone with experience using new Ubuntu release and Gnuradio? Regards, John Petrich

---

## [How can i whitelist params when used with constantize?](https://www.ruby-forum.com/t/how-can-i-whitelist-params-when-used-with-constantize/241635)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 21, 2015, 4:22pm UTC](https://www.ruby-forum.com/t/how-can-i-whitelist-params-when-used-with-constantize/241635 "2015-04-21T16:22:17Z")

</div>

x = “SomeClass”.classify.constantize.new(params)

---

## [TypeError for gr\_vector\_float arg](https://www.ruby-forum.com/t/typeerror-for-gr-vector-float-arg/231387)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 6, 2014, 9:38pm UTC](https://www.ruby-forum.com/t/typeerror-for-gr-vector-float-arg/231387 "2014-08-06T21:38:54Z")

</div>

Trying to get my OOT block to accept a vector of floats for filter taps. I used a couple in-tree blocks (mostly ofdm\_carier\_allocator and fir\_interpolator) for a quick reference. And I have fir interp/decim in my flow…

---

## [How can i get data from localhost:3000 in ruby on rails to heroku](https://www.ruby-forum.com/t/how-can-i-get-data-from-localhost-3000-in-ruby-on-rails-to-heroku/230835)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 8, 2014, 8:41pm UTC](https://www.ruby-forum.com/t/how-can-i-get-data-from-localhost-3000-in-ruby-on-rails-to-heroku/230835 "2014-07-08T20:41:58Z")

</div>

Hi i’m new developer ROR .I have some question to ask? In my local machine i had input some data into database using SQLite3 .when i deployed it to heroku why i can’t get data that i input? i’m do like this -in Gemf…

---

## [HttpLimitReqModule should return 429 not 503](https://www.ruby-forum.com/t/httplimitreqmodule-should-return-429-not-503/239534)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 4, 2014, 11:26am UTC](https://www.ruby-forum.com/t/httplimitreqmodule-should-return-429-not-503/239534 "2014-03-04T11:26:34Z")

</div>

Can we get a flag in HttpLimitReqModule to return a http status code 429 Too Many Requests instead of 503 Service Temporarily Unavailable since this is a more accurate status code? I know that 429 is not officially d…

---

## [\[OT\] dev RoR + js cercasi](https://www.ruby-forum.com/t/ot-dev-ror-js-cercasi/245559)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 19, 2013, 10:31pm UTC](https://www.ruby-forum.com/t/ot-dev-ror-js-cercasi/245559 "2013-06-19T22:31:41Z")

</div>

ciao a Tutti, per completare il lancio pubblico della beta della piattaforma Toctocdoc (http://toctocdoc.it/), stiamo cercando un developer RoR + js. sede Abbiategrasso, Milano. ma si puo’ tranquillamente lavorare anc…

---

## [Dipendenze non necessarie?](https://www.ruby-forum.com/t/dipendenze-non-necessarie/245406)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [May 23, 2013, 9:24am UTC](https://www.ruby-forum.com/t/dipendenze-non-necessarie/245406 "2013-05-23T09:24:26Z")

</div>

Ciao a tutti, scusate la domanda sa SuperNiubbo, ma proprio non capisco una cosa. Sto tentando di ricreare una “vecchia” collezione gemset per far rifunzionare un’applicazione rails 2.x (addirittura inizialmente 2.0.…

---

## [How to encryption and decryption a string or integer in ruby](https://www.ruby-forum.com/t/how-to-encryption-and-decryption-a-string-or-integer-in-ruby/219654)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 10, 2012, 12:44pm UTC](https://www.ruby-forum.com/t/how-to-encryption-and-decryption-a-string-or-integer-in-ruby/219654 "2012-05-10T12:44:48Z")

</div>

hi everyone i want to encrypt and decrypt a number or string in RoR. is there any gem or plug-in for that. thanks in advance

---

## [Capitalizing first letter in each line of a string](https://www.ruby-forum.com/t/capitalizing-first-letter-in-each-line-of-a-string/202970)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 10, 2011, 7:30am UTC](https://www.ruby-forum.com/t/capitalizing-first-letter-in-each-line-of-a-string/202970 "2011-02-10T07:30:59Z")

</div>

Hi, Im in need of capitalizing first letter of each line in a long string, and have it print exactly the same (but with the first word capitalized+with the whitespace)… but cant figure it out… any advise? taco= \<\<-H…

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

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