# Top

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

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

---

## [Avoiding Clutter in views](https://www.ruby-forum.com/t/avoiding-clutter-in-views/155551)

<div class="topic-metadata">

**Author:** [@Rishav\_Rastogi](https://www.ruby-forum.com/u/Rishav_Rastogi)\
**Replies:** 6\
**Last updated:** [December 20, 2008, 12:03pm UTC](https://www.ruby-forum.com/t/avoiding-clutter-in-views/155551 "2008-12-20T12:03:10Z")

</div>

Hi, I have seen that when using rails for big applications especially the ones with a lot of dynamic content. for example: profile pages in social network apps, newspaper websites etc. The Views in such rails apps …

---

## [Permission System with groups, roles and users](https://www.ruby-forum.com/t/permission-system-with-groups-roles-and-users/143060)

<div class="topic-metadata">

**Author:** [@Pascal\_F](https://www.ruby-forum.com/u/Pascal_F)\
**Replies:** 6\
**Last updated:** [July 15, 2008, 8:59pm UTC](https://www.ruby-forum.com/t/permission-system-with-groups-roles-and-users/143060 "2008-07-15T20:59:09Z")

</div>

Hi there, i have a serious problem here. Let me explain my situation: I have 3 Models: Group, Role, User Pretty self explaining. Every group has multiple roles (every group can define it’s own roles. some have 3, so…

---

## [Proc argument names instead of arity](https://www.ruby-forum.com/t/proc-argument-names-instead-of-arity/143094)

<div class="topic-metadata">

**Author:** [@macario](https://www.ruby-forum.com/u/macario)\
**Replies:** 6\
**Last updated:** [July 15, 2008, 8:14am UTC](https://www.ruby-forum.com/t/proc-argument-names-instead-of-arity/143094 "2008-07-15T08:14:05Z")

</div>

Hi, i am trying to make a SuperCollider(http://www.audiosynth.com/) client for ruby and I want it to be as close as using SCLang. Both languages are very similar, although i find ruby more concise but SCLang function …

---

## [How to create project with prior version of Rails](https://www.ruby-forum.com/t/how-to-create-project-with-prior-version-of-rails/125316)

<div class="topic-metadata">

**Author:** [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Replies:** 6\
**Last updated:** [February 14, 2008, 8:43pm UTC](https://www.ruby-forum.com/t/how-to-create-project-with-prior-version-of-rails/125316 "2008-02-14T20:43:15Z")

</div>

Hi and Thanks in advance I have 2.02 installed on my machine but I need to create a 1.25 project. If I create the project, it is a 2.02 app and when I do: svn export http://dev.rubyonrails.org/svn/rails/tags/rel\_1-2-5 …

---

## [Slightly odd Integer() behavior](https://www.ruby-forum.com/t/slightly-odd-integer-behavior/122013)

<div class="topic-metadata">

**Author:** [@Lorenzo\_ESDanielss](https://www.ruby-forum.com/u/Lorenzo_ESDanielss)\
**Replies:** 6\
**Last updated:** [December 6, 2007, 3:28pm UTC](https://www.ruby-forum.com/t/slightly-odd-integer-behavior/122013 "2007-12-06T15:28:26Z")

</div>

Integer(gets), works well if you enter any integer apart from 0, which complains about “0\\n” not being a valid integer. As expected, Integer(gets.chomp) works for all integers, including 0. Is it just me, or is this a…

---

## [Backporting URI to ruby\_1\_8](https://www.ruby-forum.com/t/backporting-uri-to-ruby-1-8/85544)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 6\
**Last updated:** [February 15, 2007, 12:32pm UTC](https://www.ruby-forum.com/t/backporting-uri-to-ruby-1-8/85544 "2007-02-15T12:32:53Z")

</div>

e$B!!e(Blib/uri e$B$re(B trunk e$B$+$ie(B ruby\_1\_8 e$B$K%^!\<%8$7$^$9!#e(B e$B!!$^$:!"e(B userinfo e$B$K4X$9$k%P%0=$@5$He(BFTPe$B%9%-!\<%\`$Ne(B path e$B$K4X$9$ke(B e$B=$@5$K0\[O@$O$J$$$H;W$$$^$9!#e(B e$B!!e(BURI.escape…

---

## [Strange behaviour in Unit Test](https://www.ruby-forum.com/t/strange-behaviour-in-unit-test/84975)

<div class="topic-metadata">

**Author:** [@Joram](https://www.ruby-forum.com/u/Joram)\
**Replies:** 6\
**Last updated:** [February 8, 2007, 11:38pm UTC](https://www.ruby-forum.com/t/strange-behaviour-in-unit-test/84975 "2007-02-08T23:38:23Z")

</div>

Hi, I’m having a weird problem in one of my unit tests. this code generates an assertion error on the second line assert !@valid\_category.update\_attributes(:name =\> nil) assert\_equal old\_name, @valid\_category.name H…

---

## [Multiple Versions of Ruby on same machine](https://www.ruby-forum.com/t/multiple-versions-of-ruby-on-same-machine/80908)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 6\
**Last updated:** [January 2, 2007, 6:06am UTC](https://www.ruby-forum.com/t/multiple-versions-of-ruby-on-same-machine/80908 "2007-01-02T06:06:58Z")

</div>

I’d like to include a complete version of Ruby, including all the necessary libs, in the source tree for our internal app. That will allow our unit tests/QA procedure/app deployment scripts to take responsibility for…

---

## [Sql help...getting user with the most recipes from table?](https://www.ruby-forum.com/t/sql-help-getting-user-with-the-most-recipes-from-table/80013)

<div class="topic-metadata">

**Author:** [@poipu](https://www.ruby-forum.com/u/poipu)\
**Replies:** 6\
**Last updated:** [December 21, 2006, 6:44am UTC](https://www.ruby-forum.com/t/sql-help-getting-user-with-the-most-recipes-from-table/80013 "2006-12-21T06:44:59Z")

</div>

hi, i need to fetch the users with the most airtcles in my table. i am starting with this… @temp = Howto.find\_by\_sql (\[“select user\_id from Howtos” \])… now i have an array with all the user\_ids…but i need to do someth…

---

## [cgi.rb$B$N(BUTF-8$BBP1~$K$D$$$F(B](https://www.ruby-forum.com/t/cgi-rb-b-n-butf-8-bbp1-k-d-f-b/60889)

<div class="topic-metadata">

**Author:** [@Fujioka](https://www.ruby-forum.com/u/Fujioka)\
**Replies:** 6\
**Last updated:** [May 18, 2006, 3:22pm UTC](https://www.ruby-forum.com/t/cgi-rb-b-n-butf-8-bbp1-k-d-f-b/60889 "2006-05-18T15:22:39Z")

</div>

e$BF#2,$G$9!#e(B cgi.rbe$B$G$Oe(BEUC-JPe$B$de(BShift\_JISe$B$J$I$Oe(Bcharsete$B$r8+$Fe(B e$B=PNO$rE,@Z$J%3!\<%I$KJQ49$9$k$h$&$G$9$,!"e(B e$B$3$l$Oe(BUTF-8e$B$K$OBP1~$7$F$$$J$$$h$&$G$9!#e(B e$B%=!\<%9$r8+$k$H!"e(BNKFe$B$…

---

## [Getting fcgi to work](https://www.ruby-forum.com/t/getting-fcgi-to-work/56734)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 6\
**Last updated:** [April 4, 2006, 12:02am UTC](https://www.ruby-forum.com/t/getting-fcgi-to-work/56734 "2006-04-04T00:02:25Z")

</div>

can some one help me with my install? i’m having a touch time getting fcgi to play right with apache. i ran “gem install fcgi” and this is the output i get: Attempting local installation of ‘fcgi’ Local gem file not …

---

## [Upgrade to 1.1RC on ubuntu breezy](https://www.ruby-forum.com/t/upgrade-to-1-1rc-on-ubuntu-breezy/55921)

<div class="topic-metadata">

**Author:** [@jack](https://www.ruby-forum.com/u/jack)\
**Replies:** 6\
**Last updated:** [March 28, 2006, 8:05pm UTC](https://www.ruby-forum.com/t/upgrade-to-1-1rc-on-ubuntu-breezy/55921 "2006-03-28T20:05:06Z")

</div>

How do I upgrade my rails to 1.1RC - running Ubuntu breezy and I had installed rails using apt-get in universe.

---

## [J2EE equivalent](https://www.ruby-forum.com/t/j2ee-equivalent/51878)

<div class="topic-metadata">

**Author:** [@thila](https://www.ruby-forum.com/u/thila)\
**Replies:** 6\
**Last updated:** [January 9, 2006, 12:05pm UTC](https://www.ruby-forum.com/t/j2ee-equivalent/51878 "2006-01-09T12:05:15Z")

</div>

Gang- Is there anything in Ruby that handles the .properites files similar to the J2EE application servers. Or do I need to define all of the properties as constants? Is there anyway I can load some of my classe…

---

## [How to make Ruby print on a new line](https://www.ruby-forum.com/t/how-to-make-ruby-print-on-a-new-line/259501)

<div class="topic-metadata">

**Author:** [@PaulGureghian](https://www.ruby-forum.com/u/PaulGureghian)\
**Replies:** 2\
**Last updated:** [May 7, 2020, 1:24am UTC](https://www.ruby-forum.com/t/how-to-make-ruby-print-on-a-new-line/259501 "2020-05-07T01:24:59Z")

</div>

How to make Ruby print on a new line in a .each loop ? I figured out how in a regular print statement, but not in a .each loop. words.each { |word| print word }

---

## [Re: config reverse proxy nginx to apache2](https://www.ruby-forum.com/t/re-config-reverse-proxy-nginx-to-apache2/243766)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [January 2, 2016, 1:28pm UTC](https://www.ruby-forum.com/t/re-config-reverse-proxy-nginx-to-apache2/243766 "2016-01-02T13:28:07Z")

</div>

Bonjour, I have made some modification on my nginx reverse proxy server. I have add these lines: listen 445; server\_name \*.domain.org; ssl on; ssl\_certificate /etc/ssl/certs/fil…

---

## [Rails 4.0.0.beta1 installation error](https://www.ruby-forum.com/t/rails-4-0-0-beta1-installation-error/226926)

<div class="topic-metadata">

**Author:** [@Krishna\_Moorthy](https://www.ruby-forum.com/u/Krishna_Moorthy)\
**Replies:** 2\
**Last updated:** [March 1, 2013, 10:05am UTC](https://www.ruby-forum.com/t/rails-4-0-0-beta1-installation-error/226926 "2013-03-01T10:05:58Z")

</div>

I am getting the following error while installing on windows with ruby v 2.0. I have installed DevKit for 64 bit. Temporarily enhancing PATH to include DevKit… Building native extensions. This could take a while… ER…

---

## [How to represent a byte array in JRuby?](https://www.ruby-forum.com/t/how-to-represent-a-byte-array-in-jruby/216859)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 2, 2012, 8:29pm UTC](https://www.ruby-forum.com/t/how-to-represent-a-byte-array-in-jruby/216859 "2012-03-02T20:29:18Z")

</div>

My goal is to have a jruby class which allows for relatively easy manipulation of data in a way similar to a byte array. Ruby itself doesn’t seem to have a great way to do this, so I’m not sure what the best way to …

---

## [How to write render expectation in Controller Spec?](https://www.ruby-forum.com/t/how-to-write-render-expectation-in-controller-spec/209349)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 13, 2011, 8:58am UTC](https://www.ruby-forum.com/t/how-to-write-render-expectation-in-controller-spec/209349 "2011-07-13T08:58:10Z")

</div>

Hello All, I am a rspec beginner and I am trying to find a way out to write render expectation in controller spec.I used the following ways render ‘/channels/createchannel.html.erb’ view.should\_receive(:render).with(…

---

## [Can't use RDF/Raptor on Windows](https://www.ruby-forum.com/t/cant-use-rdf-raptor-on-windows/188217)

<div class="topic-metadata">

**Author:** [@denommus](https://www.ruby-forum.com/u/denommus)\
**Replies:** 2\
**Last updated:** [May 7, 2010, 11:18pm UTC](https://www.ruby-forum.com/t/cant-use-rdf-raptor-on-windows/188217 "2010-05-07T23:18:54Z")

</div>

I have compiled Raptor on Windows with cygwin, now I don’t know where to put the files, so the rdf-raptor gem should work. What shall I do?

---

## [ATSC decoding](https://www.ruby-forum.com/t/atsc-decoding/187219)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 2\
**Last updated:** [April 22, 2010, 3:25pm UTC](https://www.ruby-forum.com/t/atsc-decoding/187219 "2010-04-22T15:25:49Z")

</div>

Hello everyone, I am part of Auburn University’s Software Defined Radio Senior Design team, Software being used: Ubuntu v.9.10 on xfs partition GNURadio v.3.3 (git) Xine Available hardware: USRP1, USRP2, WBX daugh…

---

## [Gem fails to load?](https://www.ruby-forum.com/t/gem-fails-to-load/175875)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [September 22, 2009, 1:52am UTC](https://www.ruby-forum.com/t/gem-fails-to-load/175875 "2009-09-22T01:52:21Z")

</div>

Anybody have an idea what’s going on here? $ gem install rogerdpack-live\_console WARNING: Installing to ~/.gem since /usr/local/lib/ruby/gems/1.8 and /usr/local/bin aren’t both writable. Successfully installed roger…

---

## [Scrollbar](https://www.ruby-forum.com/t/scrollbar/174352)

<div class="topic-metadata">

**Author:** [@beusse](https://www.ruby-forum.com/u/beusse)\
**Replies:** 2\
**Last updated:** [August 27, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/scrollbar/174352 "2009-08-27T23:56:23Z")

</div>

Bonjour. Quand j’exÃ©cute mon application et que l’arbre (TreeCtrl) est dÃ©ployÃ©, la scrollbar se place vers le bas. Est-il possible de la maintenir vers le haut? Et si oui, comment faire? merci SÃ©bastien http:/…

---

## [Load\_rails\_gem in neuer Anwendung?](https://www.ruby-forum.com/t/load-rails-gem-in-neuer-anwendung/157238)

<div class="topic-metadata">

**Author:** [@d-w](https://www.ruby-forum.com/u/d-w)\
**Replies:** 2\
**Last updated:** [January 8, 2009, 8:40pm UTC](https://www.ruby-forum.com/t/load-rails-gem-in-neuer-anwendung/157238 "2009-01-08T20:40:25Z")

</div>

Mir ist gerade folgendes in einer frisch erstellen Rails Anwendung aufgefallen (2.2.2) def load\_rails\_gem if version = self.class.gem\_version … else … end end Bisher dachte ich immer if x == y wäre korrekt. Steh…

---

## [How to open a file with win32ole](https://www.ruby-forum.com/t/how-to-open-a-file-with-win32ole/150829)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 2\
**Last updated:** [October 14, 2008, 4:53pm UTC](https://www.ruby-forum.com/t/how-to-open-a-file-with-win32ole/150829 "2008-10-14T16:53:16Z")

</div>

Hi all, I want to open a file via win32ole. I find the method ‘Open’ there but always get error feedback. I wonder if anyone can give me a hand. Thanks, Li ######################## require ‘win32ole’ fs=WIN32OLE.n…

---

## [Problems with view spec and mocking will\_paginate](https://www.ruby-forum.com/t/problems-with-view-spec-and-mocking-will-paginate/139798)

<div class="topic-metadata">

**Author:** [@Gaston\_R](https://www.ruby-forum.com/u/Gaston_R)\
**Replies:** 2\
**Last updated:** [June 9, 2008, 2:09pm UTC](https://www.ruby-forum.com/t/problems-with-view-spec-and-mocking-will-paginate/139798 "2008-06-09T14:09:41Z")

</div>

Hi all, I have some failures that not I don’t understand this the pastie with index.erb.html http://pastie.org/private/zgohh6dcts04wpfagfgz5q and this is the pastie for view’s spec: http://pastie.org/210485 and the …

---

## [This python version requires swig to be run](https://www.ruby-forum.com/t/this-python-version-requires-swig-to-be-run/122916)

<div class="topic-metadata">

**Author:** [@Vincenzo\_P](https://www.ruby-forum.com/u/Vincenzo_P)\
**Replies:** 2\
**Last updated:** [December 13, 2007, 12:44am UTC](https://www.ruby-forum.com/t/this-python-version-requires-swig-to-be-run/122916 "2007-12-13T00:44:17Z")

</div>

Hi, I’ve just tried to compile my DVB-T application on a Fedora 7 system which has Python 2.5 instead of 2.4 installed. I get this: dvb.cc:139:20: error: Python.h: No such file or directory dvb.cc:2539:4: error: #er…

---

## [Fixtures and table name](https://www.ruby-forum.com/t/fixtures-and-table-name/50312)

<div class="topic-metadata">

**Author:** [@Michael\_Fuller](https://www.ruby-forum.com/u/Michael_Fuller)\
**Replies:** 2\
**Last updated:** [July 27, 2006, 11:18pm UTC](https://www.ruby-forum.com/t/fixtures-and-table-name/50312 "2006-07-27T23:18:03Z")

</div>

Is there a way to use table name other than the default or to turn it around have multiple fixture files associated to the same table. Here’s my use case: I have multiple unit test classes that all work with the same …

---

## [Ruby TUI](https://www.ruby-forum.com/t/ruby-tui/100011)

<div class="topic-metadata">

**Author:** [@diragor](https://www.ruby-forum.com/u/diragor)\
**Replies:** 2\
**Last updated:** [July 27, 2006, 2:53am UTC](https://www.ruby-forum.com/t/ruby-tui/100011 "2006-07-27T02:53:58Z")

</div>

I’m creating a program with a TUI to then later implement a GUI using TK but for now I’m having trouble coming up with a menu system that works without a whole lot of loops and calls, which is what I have now but its …

---

## [About GetoptLong and exceptions](https://www.ruby-forum.com/t/about-getoptlong-and-exceptions/64841)

<div class="topic-metadata">

**Author:** [@cowboy\_x](https://www.ruby-forum.com/u/cowboy_x)\
**Replies:** 2\
**Last updated:** [February 9, 2006, 11:18am UTC](https://www.ruby-forum.com/t/about-getoptlong-and-exceptions/64841 "2006-02-09T11:18:34Z")

</div>

Hi, I try to play with GetoptLong but i don’t know how to handle exceptions for this class (i’ve no found any documentation on this). Here my toy snippet : =-=-=-=-=-=-=-=-=-=-=-=- require ‘getoptlong’ def print\_us…

---

## [Acts\_as\_tree with Modified Preorder Traversal?](https://www.ruby-forum.com/t/acts-as-tree-with-modified-preorder-traversal/61756)

<div class="topic-metadata">

**Author:** [@snej](https://www.ruby-forum.com/u/snej)\
**Replies:** 2\
**Last updated:** [January 16, 2006, 7:20pm UTC](https://www.ruby-forum.com/t/acts-as-tree-with-modified-preorder-traversal/61756 "2006-01-16T19:20:05Z")

</div>

Has anyone extended Rails’s acts\_as\_tree to use the Modified Preorder Traversal algorithm? This is a really clever trick for optimizing access to trees stored in databases, as described lucidly in this article: http:…

---

## [Laying out the flow of an application - where to start?](https://www.ruby-forum.com/t/laying-out-the-flow-of-an-application-where-to-start/235821)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [July 19, 2013, 5:41pm UTC](https://www.ruby-forum.com/t/laying-out-the-flow-of-an-application-where-to-start/235821 "2013-07-19T17:41:30Z")

</div>

Hi all, first post! I have a question regarding where to start with a particular app I’m building. Hoping someone can set me on the right path. The scenario is pretty straight forward. This is the hierarchy of info: S…

---

## [Selectively implement something like proxy\_ignore\_headers Set-Cookie?](https://www.ruby-forum.com/t/selectively-implement-something-like-proxy-ignore-headers-set-cookie/227249)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 1\
**Last updated:** [March 8, 2013, 7:45pm UTC](https://www.ruby-forum.com/t/selectively-implement-something-like-proxy-ignore-headers-set-cookie/227249 "2013-03-08T19:45:28Z")

</div>

I’m wondering if anyone has any thoughts about how I might address the following? I am using nginx as a caching reverse proxy in front of a complex Apache/Weblogic Java application. I have a half-dozen Location block…

---

## [Windows system("@rem") behavior](https://www.ruby-forum.com/t/windows-system-rem-behavior/203032)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 17, 2011, 9:27pm UTC](https://www.ruby-forum.com/t/windows-system-rem-behavior/203032 "2011-02-17T21:27:03Z")

</div>

Hello all. Noticed this in doze: system(“rem echo 3”) =\> true which is expected, I think (rem makes it passed out to dos, dos ignores the line). Then this also occurs: system("@rem echo 3") =\> nil I beli…

---

## [Radiant CMS on Heroku with Postgre SQL](https://www.ruby-forum.com/t/radiant-cms-on-heroku-with-postgre-sql/199802)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 29, 2010, 10:00pm UTC](https://www.ruby-forum.com/t/radiant-cms-on-heroku-with-postgre-sql/199802 "2010-11-29T22:00:07Z")

</div>

Guys, You are so great to maintain this discussion board and answer the queries listed by the newbies here. Thank you for doing this. Heroku announced recently an update in their Postgre SQL offering (http://www.adve…

---

## [About active\_record timestamps](https://www.ruby-forum.com/t/about-active-record-timestamps/191616)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 7\
**Last updated:** [July 16, 2010, 10:36am UTC](https://www.ruby-forum.com/t/about-active-record-timestamps/191616 "2010-07-16T10:36:10Z")

</div>

hi I want to build a filter that gets records from database based on selected date.such as Product.find(:all, :conditions =\> \[“created\_at = ?”,selected\_date\]) 1 If selected\_date is a Date object while created\_at is…

---

## [Undefined method \`camelize' for "app":String](https://www.ruby-forum.com/t/undefined-method-camelize-for-app-string/183443)

<div class="topic-metadata">

**Author:** [@Ian\_Vaughan](https://www.ruby-forum.com/u/Ian_Vaughan)\
**Replies:** 1\
**Last updated:** [June 28, 2010, 3:13am UTC](https://www.ruby-forum.com/t/undefined-method-camelize-for-app-string/183443 "2010-06-28T03:13:32Z")

</div>

Hi, trying to use rails to create an app, and get the following error message :- $ rails testapp undefined method \`camelize' for "app":String I have the following setup/versions :- Windows 7 Cygwin - GNU bash, versi…

---

## [Migration commits when run by itself (db:migrate:up), but not with other migrations (db:migrate)](https://www.ruby-forum.com/t/migration-commits-when-run-by-itself-dbup-but-not-with-other-migrations-db-migrate/183327)

<div class="topic-metadata">

**Author:** [@asetzler](https://www.ruby-forum.com/u/asetzler)\
**Replies:** 7\
**Last updated:** [February 12, 2010, 12:57am UTC](https://www.ruby-forum.com/t/migration-commits-when-run-by-itself-dbup-but-not-with-other-migrations-db-migrate/183327 "2010-02-12T00:57:58Z")

</div>

I have a migration that saves correctly to the database when it’s run by itself through db:migrate:up, but not when it’s run with other migrations through db:migrate. class SetActiveOnExistingItems \< ActiveRecord::Mig…

---

## [Functional Testing Anomoly](https://www.ruby-forum.com/t/functional-testing-anomoly/101293)

<div class="topic-metadata">

**Author:** [@Jeremy\_Friesen](https://www.ruby-forum.com/u/Jeremy_Friesen)\
**Replies:** 7\
**Last updated:** [December 8, 2009, 5:09am UTC](https://www.ruby-forum.com/t/functional-testing-anomoly/101293 "2009-12-08T05:09:12Z")

</div>

I have a test method (below). def test\_save\_failed post( :edit, :record =\> StatusChanger.invalid\_data\_hash) assert\_response :success assert\_template ‘edit’ assert assigns(:record) assert\_equal false, assigns(:recor…

---

## [AAA cercasi collaboratore a bologna](https://www.ruby-forum.com/t/aaa-cercasi-collaboratore-a-bologna/178032)

<div class="topic-metadata">

**Author:** [@alesc](https://www.ruby-forum.com/u/alesc)\
**Replies:** 7\
**Last updated:** [October 31, 2009, 3:15pm UTC](https://www.ruby-forum.com/t/aaa-cercasi-collaboratore-a-bologna/178032 "2009-10-31T15:15:20Z")

</div>

Ciao, premetto che sono un incapace nello scrivere annunci :slight\_smile: Sto cercando un collaboratore (o un team) programmatore junior per progetti ruby e php, Ã¨ richiesta ottima conoscenza di css2 e un minimo di …

---

## [App best practice \> Client Credit Information](https://www.ruby-forum.com/t/app-best-practice-client-credit-information/176249)

<div class="topic-metadata">

**Author:** [@brianp](https://www.ruby-forum.com/u/brianp)\
**Replies:** 7\
**Last updated:** [September 29, 2009, 7:20am UTC](https://www.ruby-forum.com/t/app-best-practice-client-credit-information/176249 "2009-09-29T07:20:19Z")

</div>

Hey Everyone, I’m in the process of laying out a new app for a client. They need to be able to receive customers credit information (for a credit check done manually) via the website. So I have a few questions regard…

---

## [Help for peak detector](https://www.ruby-forum.com/t/help-for-peak-detector/164398)

<div class="topic-metadata">

**Author:** [@Markus\_F](https://www.ruby-forum.com/u/Markus_F)\
**Replies:** 1\
**Last updated:** [April 7, 2009, 3:18pm UTC](https://www.ruby-forum.com/t/help-for-peak-detector/164398 "2009-04-07T15:18:43Z")

</div>

Hi All, i want to build a peak detektor with a Usrp(LFRX),so i hope some of you can give me some hints about the peak detector modules ? As i know, there are 3 peak detector: Detect Peak Peak Detector Peak Detector2 …

---

## [Perl Encrypt / Ruby Decrypt](https://www.ruby-forum.com/t/perl-encrypt-ruby-decrypt/160420)

<div class="topic-metadata">

**Author:** [@manimaran](https://www.ruby-forum.com/u/manimaran)\
**Replies:** 1\
**Last updated:** [February 16, 2009, 10:35am UTC](https://www.ruby-forum.com/t/perl-encrypt-ruby-decrypt/160420 "2009-02-16T10:35:09Z")

</div>

Dear folks, I have encrypted string, which was encrypted by following perl code use Crypt; print “enter the normal pin\\n”; $entered\_pin = ; chomp ( $entered\_pin ); my $EPin = Crypt::Encrypt ( $entered\_pin ); print…

---

## [Transmitting a bit stream](https://www.ruby-forum.com/t/transmitting-a-bit-stream/131635)

<div class="topic-metadata">

**Author:** [@atita](https://www.ruby-forum.com/u/atita)\
**Replies:** 1\
**Last updated:** [March 12, 2008, 11:38am UTC](https://www.ruby-forum.com/t/transmitting-a-bit-stream/131635 "2008-03-12T11:38:14Z")

</div>

Hi I am new to GNU radio.I was aiming to transmit a string of ones using BPSK modulation. I am not using benchmark\_tx.py for this as i do not want to send any headers etc. I just need to transmit a continuous stream…

---

## [Adding the trailing slash to a page url](https://www.ruby-forum.com/t/adding-the-trailing-slash-to-a-page-url/128101)

<div class="topic-metadata">

**Author:** [@bburcham](https://www.ruby-forum.com/u/bburcham)\
**Replies:** 1\
**Last updated:** [February 5, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/adding-the-trailing-slash-to-a-page-url/128101 "2008-02-05T17:07:46Z")

</div>

On a recent project I’ve got the end users building pages using Textile and creating links like “My Link”:local\_page, which when followed results in a URL with no trailing slash, e.g. example.com/dir/local\_page This …

---

## [Proc to block](https://www.ruby-forum.com/t/proc-to-block/125313)

<div class="topic-metadata">

**Author:** [@L\_A](https://www.ruby-forum.com/u/L_A)\
**Replies:** 7\
**Last updated:** [January 8, 2008, 4:57pm UTC](https://www.ruby-forum.com/t/proc-to-block/125313 "2008-01-08T16:57:08Z")

</div>

Hello all, Is there a way to turn a Proc into a block for the purposes of methods that yield to blocks? It’s not a necessity as I can always wrap the Proc in a block, I’m just curious. Thanks, Loren \_\_\_\_\_\_\_\_\_\_\_\_…

---

## [OLAP and Models / ActiveRecord etc etc](https://www.ruby-forum.com/t/olap-and-models-activerecord-etc-etc/107481)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 1\
**Last updated:** [June 22, 2007, 5:13am UTC](https://www.ruby-forum.com/t/olap-and-models-activerecord-etc-etc/107481 "2007-06-22T05:13:21Z")

</div>

How would you handle reporting on an OLAP database? I have no issues whatsoever using the Rails ActiveRecord way of doing things for my OLTP setup, but for OLAP it “seems” (I haven’t tried it yet) to be one heck of a …

---

## [Web apps in Ruby](https://www.ruby-forum.com/t/web-apps-in-ruby/105087)

<div class="topic-metadata">

**Author:** [@oerten](https://www.ruby-forum.com/u/oerten)\
**Replies:** 7\
**Last updated:** [May 25, 2007, 6:51pm UTC](https://www.ruby-forum.com/t/web-apps-in-ruby/105087 "2007-05-25T18:51:36Z")

</div>

Hello, I’m currently a Windows XP based developer. I checked the Ruby’s official web site and I couldn’t find any info on this. Can you build web applications in Ruby? or is it only windows apps? Thanks,

---

## [Rails 2.0 RESTful Routes action/id dichotomy](https://www.ruby-forum.com/t/rails-2-0-restful-routes-action-id-dichotomy/104915)

<div class="topic-metadata">

**Author:** [@dasil003](https://www.ruby-forum.com/u/dasil003)\
**Replies:** 7\
**Last updated:** [May 24, 2007, 7:44pm UTC](https://www.ruby-forum.com/t/rails-2-0-restful-routes-action-id-dichotomy/104915 "2007-05-24T19:44:49Z")

</div>

I don’t have edge rails installed, otherwise I would just test it out. But in Rails 2.0 they are doing away with the semi-colon for several reasons. I think this is great, but it brings an interesting issue to the f…

---

## [How to sort list by column in a grandparent table?](https://www.ruby-forum.com/t/how-to-sort-list-by-column-in-a-grandparent-table/75499)

<div class="topic-metadata">

**Author:** [@sandy](https://www.ruby-forum.com/u/sandy)\
**Replies:** 7\
**Last updated:** [November 10, 2006, 8:57pm UTC](https://www.ruby-forum.com/t/how-to-sort-list-by-column-in-a-grandparent-table/75499 "2006-11-10T20:57:58Z")

</div>

Hi All, I’m building an application that lists events (music gigs) along with the corresponding venues and towns where they are happening. I followed the tutorial at How to paginate, sort and search a table with Ajax …

---

## [Best Practices.... passing referring controller / action](https://www.ruby-forum.com/t/best-practices-passing-referring-controller-action/70314)

<div class="topic-metadata">

**Author:** [@sw0rdfish](https://www.ruby-forum.com/u/sw0rdfish)\
**Replies:** 7\
**Last updated:** [September 29, 2006, 8:21am UTC](https://www.ruby-forum.com/t/best-practices-passing-referring-controller-action/70314 "2006-09-29T08:21:20Z")

</div>

Hello folk… I’m wondering what the best practice is for passing referring actions to a new action. For example if I have an action that I use a million times in my application I want to be able to call it, and then b…

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

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