# Top

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

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

---

## [FFTW3F in Fedora 10](https://www.ruby-forum.com/t/fftw3f-in-fedora-10/154710)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 1\
**Last updated:** [December 10, 2008, 8:49am UTC](https://www.ruby-forum.com/t/fftw3f-in-fedora-10/154710 "2008-12-10T08:49:34Z")

</div>

Does anybody know if the distributed FFTW3F in Fedora 10 was compiled with --enable-sse? Is there a way to tell? – Marcus L. Principal Investigator, Shirleys Bay Radio Astronomy Consortium

---

## [Paquets debian pour Passenger](https://www.ruby-forum.com/t/paquets-debian-pour-passenger/196854)

<div class="topic-metadata">

**Author:** [@Alban\_P](https://www.ruby-forum.com/u/Alban_P)\
**Replies:** 1\
**Last updated:** [December 3, 2008, 10:47pm UTC](https://www.ruby-forum.com/t/paquets-debian-pour-passenger/196854 "2008-12-03T22:47:38Z")

</div>

Bonsoir à tous, Le package Ubuntu proposé par Brightbox vient d’être porté sur Debian. libapache2-mod-passenger est maintenant disponible sur etch, lenny et sid (i386 et amd64). “Tous” les détails sur : http://blog.…

---

## [In support of JRuby](https://www.ruby-forum.com/t/in-support-of-jruby/154214)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 1\
**Last updated:** [November 26, 2008, 3:23pm UTC](https://www.ruby-forum.com/t/in-support-of-jruby/154214 "2008-11-26T15:23:52Z")

</div>

With a few success stories finally making their way out (and the many more to come I’m sure), I though I would bring up a post I did a while ago: http://www.matthewdavidwilliams.com/2008/04/20/jruby-or-how-i-manage-to…

---

## [Brain freeze on how to program](https://www.ruby-forum.com/t/brain-freeze-on-how-to-program/149931)

<div class="topic-metadata">

**Author:** [@joseph\_edelstein](https://www.ruby-forum.com/u/joseph_edelstein)\
**Replies:** 1\
**Last updated:** [October 1, 2008, 5:01pm UTC](https://www.ruby-forum.com/t/brain-freeze-on-how-to-program/149931 "2008-10-01T17:01:42Z")

</div>

I have come to a complete brick wall in my mind. I am trying to write a game where the user has to hit the space bar as close to a sound that plays every second. If the user hits the space bar and releases it before…

---

## [Need help on REST API](https://www.ruby-forum.com/t/need-help-on-rest-api/146546)

<div class="topic-metadata">

**Author:** [@milindkanchan](https://www.ruby-forum.com/u/milindkanchan)\
**Replies:** 1\
**Last updated:** [August 22, 2008, 12:39pm UTC](https://www.ruby-forum.com/t/need-help-on-rest-api/146546 "2008-08-22T12:39:29Z")

</div>

Hi I have a User controller in my application(ROR 2.1.0) with CRUD actions. Now i need to create a REST WEBService API, so that the user registered to my site can use the API’s to CRUD the USER from there application…

---

## [URL with decimals. How to allow in routes?](https://www.ruby-forum.com/t/url-with-decimals-how-to-allow-in-routes/141688)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 1\
**Last updated:** [June 29, 2008, 7:38pm UTC](https://www.ruby-forum.com/t/url-with-decimals-how-to-allow-in-routes/141688 "2008-06-29T19:38:22Z")

</div>

Hi, I have a resource that can take latitue and longitude. I have defined those in the DB as: t.decimal :lat, :precision =\> 15, :scale =\> 10 t.decimal :lng, :precision =\> 15, :scale =\> 10 I have set the route so I c…

---

## [Asset\_host and ssl pages problem](https://www.ruby-forum.com/t/asset-host-and-ssl-pages-problem/140379)

<div class="topic-metadata">

**Author:** [@slonghurst](https://www.ruby-forum.com/u/slonghurst)\
**Replies:** 1\
**Last updated:** [June 13, 2008, 12:27pm UTC](https://www.ruby-forum.com/t/asset-host-and-ssl-pages-problem/140379 "2008-06-13T12:27:21Z")

</div>

I am configuring assets hosts for our site but am running into problems when navigating to an https page. Basically the server is trying to pull the assests out on https:// rather than http:/ but i do not have https c…

---

## [Tutorial multi search with ferret?](https://www.ruby-forum.com/t/tutorial-multi-search-with-ferret/137617)

<div class="topic-metadata">

**Author:** [@san1981](https://www.ruby-forum.com/u/san1981)\
**Replies:** 1\
**Last updated:** [June 12, 2008, 3:12am UTC](https://www.ruby-forum.com/t/tutorial-multi-search-with-ferret/137617 "2008-06-12T03:12:58Z")

</div>

Hello, I would like to use the plugin act\_as\_ferret for a multiple search in different model, I’ve found some examples on web but only for one model. Does someone know a nice tutorial for search in multiple models? T…

---

## [Detecting dead/unreachable code](https://www.ruby-forum.com/t/detecting-dead-unreachable-code/130857)

<div class="topic-metadata">

**Author:** [@jamie](https://www.ruby-forum.com/u/jamie)\
**Replies:** 1\
**Last updated:** [March 4, 2008, 12:06am UTC](https://www.ruby-forum.com/t/detecting-dead-unreachable-code/130857 "2008-03-04T00:06:59Z")

</div>

Is anyone aware of a tool for detecting dead/unreachable code in an RonR app?

---

## [Issues with "Connection reset" and mongrels loving memory](https://www.ruby-forum.com/t/issues-with-connection-reset-and-mongrels-loving-memory/123425)

<div class="topic-metadata">

**Author:** [@Bill\_Turner](https://www.ruby-forum.com/u/Bill_Turner)\
**Replies:** 1\
**Last updated:** [December 28, 2007, 1:56am UTC](https://www.ruby-forum.com/t/issues-with-connection-reset-and-mongrels-loving-memory/123425 "2007-12-28T01:56:08Z")

</div>

Hi folks, I’ve searched and search, but can’t seem to find solutions that work for me. I’m hoping if I include enough information I may find some help here. Here are the problems I am getting reports on: While usin…

---

## [Using regex and \<r:find url](https://www.ruby-forum.com/t/using-regex-and-r-find-url/121443)

<div class="topic-metadata">

**Author:** [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Replies:** 1\
**Last updated:** [November 28, 2007, 4:14am UTC](https://www.ruby-forum.com/t/using-regex-and-r-find-url/121443 "2007-11-28T04:14:21Z")

</div>

Hey guys, It doesn’t seem possible to use regex with the \<r:find url=""\> tag. What I am trying to do is recursively find the children of a child. Ie… /projects /current – /project-4 – /project-3 /past -- /pr…

---

## [A = -(1) : warning: empty expression](https://www.ruby-forum.com/t/a-1-warning-empty-expression/110197)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 1\
**Last updated:** [July 24, 2007, 7:41am UTC](https://www.ruby-forum.com/t/a-1-warning-empty-expression/110197 "2007-07-24T07:41:38Z")

</div>

e$B0J2\<$N$h$&$K!"e(B-(1) e$B$Ge(B warning: empty expression e$B$H$J$j$^$9!#e(B % ./ruby -ve ‘a = -(1)’ ruby 1.9.0 (2007-07-23 patchlevel 0) \[i686-linux\] -e:1: warning: empty expression

---

## [Ferret (0.11.4-mswin32) w/ acts as ferret](https://www.ruby-forum.com/t/ferret-0-11-4-mswin32-w-acts-as-ferret/108755)

<div class="topic-metadata">

**Author:** [@neongrau](https://www.ruby-forum.com/u/neongrau)\
**Replies:** 1\
**Last updated:** [July 10, 2007, 10:17am UTC](https://www.ruby-forum.com/t/ferret-0-11-4-mswin32-w-acts-as-ferret/108755 "2007-07-10T10:17:55Z")

</div>

i’m indexing a table from some legacy db via a nightly executed script/runner command (LegacyInfobase.rebuild\_index). but very often newer documents don’t show up in search results for quite some days. when running it…

---

## [Count\_by\_content?](https://www.ruby-forum.com/t/count-by-content/107340)

<div class="topic-metadata">

**Author:** [@richard](https://www.ruby-forum.com/u/richard)\
**Replies:** 1\
**Last updated:** [June 20, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/count-by-content/107340 "2007-06-20T21:46:38Z")

</div>

Is there a count\_by\_content alternative to the find\_by\_content action? This is because I’m wanting to do the following in my pagination method: def list # step 1: set the variables you’ll need page = (params\[:page\] |…

---

## [Mongrel process specific logging](https://www.ruby-forum.com/t/mongrel-process-specific-logging/105669)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [June 4, 2007, 2:36am UTC](https://www.ruby-forum.com/t/mongrel-process-specific-logging/105669 "2007-06-04T02:36:19Z")

</div>

All, I have a client who has deployed an app. against 3 Mongrel processes. I have not been involved in the deployment at all, so if these question are naive, I apologize in advance. Are there Mongrel process-speci…

---

## [Rails and SQL Server 2005 Express](https://www.ruby-forum.com/t/rails-and-sql-server-2005-express/105076)

<div class="topic-metadata">

**Author:** [@inari](https://www.ruby-forum.com/u/inari)\
**Replies:** 1\
**Last updated:** [May 25, 2007, 7:13pm UTC](https://www.ruby-forum.com/t/rails-and-sql-server-2005-express/105076 "2007-05-25T19:13:23Z")

</div>

I was looking at the Wiki in regards to info on getting Rails and SQL Express 2005 to place nice together but the wiki seems to have some old material on it. Can anyone tell me if Rails does indeed support SQL Expres…

---

## [Converting smart quotes](https://www.ruby-forum.com/t/converting-smart-quotes/75620)

<div class="topic-metadata">

**Author:** [@jose](https://www.ruby-forum.com/u/jose)\
**Replies:** 1\
**Last updated:** [November 11, 2006, 6:44pm UTC](https://www.ruby-forum.com/t/converting-smart-quotes/75620 "2006-11-11T18:44:09Z")

</div>

What library will convert smart quotes (utf8) to ascii quotes? The smart quotes appear as question marks in RSS feeds. Jose … Jose Hales-Garcia UCLA Department of Statistics removed\_email\_address@domain.invalid

---

## [Differences between Ruby 1.8 and 1.9](https://www.ruby-forum.com/t/differences-between-ruby-1-8-and-1-9/61704)

<div class="topic-metadata">

**Author:** [@Vlad\_GALU](https://www.ruby-forum.com/u/Vlad_GALU)\
**Replies:** 1\
**Last updated:** [May 26, 2006, 12:33pm UTC](https://www.ruby-forum.com/t/differences-between-ruby-1-8-and-1-9/61704 "2006-05-26T12:33:50Z")

</div>

I thought of giving 1.9 a try and from what I saw by googling there are a number of differences between the two branches in matters of syntax and semantics. Is there a list of them somewhere which I can dig into ? Tha…

---

## [Beginner array manipulation questions](https://www.ruby-forum.com/t/beginner-array-manipulation-questions/57389)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 1\
**Last updated:** [April 10, 2006, 4:39pm UTC](https://www.ruby-forum.com/t/beginner-array-manipulation-questions/57389 "2006-04-10T16:39:45Z")

</div>

Suppose the variable path is an array of fully qualified path and file names (e.g., in Windows, an item might be “c:\\folder\\file.txt”). What would be an efficient way of creating another array that contained only the…

---

## [Pagination in Ruby part](https://www.ruby-forum.com/t/pagination-in-ruby-part/47839)

<div class="topic-metadata">

**Author:** [@elgato](https://www.ruby-forum.com/u/elgato)\
**Replies:** 1\
**Last updated:** [November 14, 2005, 10:43am UTC](https://www.ruby-forum.com/t/pagination-in-ruby-part/47839 "2005-11-14T10:43:01Z")

</div>

subj does not seem to work

---

## [Class arrays](https://www.ruby-forum.com/t/class-arrays/188792)

<div class="topic-metadata">

**Author:** [@poseid](https://www.ruby-forum.com/u/poseid)\
**Replies:** 6\
**Last updated:** [May 18, 2010, 4:55pm UTC](https://www.ruby-forum.com/t/class-arrays/188792 "2010-05-18T16:55:27Z")

</div>

Hello, how does this work? class A b = \[1, 2,3\] end =\> \[1, 2, 3\] Is b an instance variable? class variable? how would I access b from outside the class? thanks

---

## [Joining Multiple Tables](https://www.ruby-forum.com/t/joining-multiple-tables/186047)

<div class="topic-metadata">

**Author:** [@khagimoto](https://www.ruby-forum.com/u/khagimoto)\
**Replies:** 6\
**Last updated:** [March 31, 2010, 2:43am UTC](https://www.ruby-forum.com/t/joining-multiple-tables/186047 "2010-03-31T02:43:19Z")

</div>

I’m trying to replicate a join in RoR that I can do in SQL very simply. Three tables/models that I have are: Users, Users\_Activities, Activities and Codes. Users and Activities have appropriate has\_many associations …

---

## [Conditions Issue](https://www.ruby-forum.com/t/conditions-issue/180360)

<div class="topic-metadata">

**Author:** [@mercurius](https://www.ruby-forum.com/u/mercurius)\
**Replies:** 6\
**Last updated:** [December 18, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/conditions-issue/180360 "2009-12-18T15:25:35Z")

</div>

Controller: def demonstration\_domains @projects = Project.find(:all, :conditions =\> :demo\_domain != nil) end View: \<% for project in @projects %\> \<% end %\> Those conditions do not seem to have any effect. Is t…

---

## [Testing rails application](https://www.ruby-forum.com/t/testing-rails-application/179650)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 6\
**Last updated:** [December 4, 2009, 6:06pm UTC](https://www.ruby-forum.com/t/testing-rails-application/179650 "2009-12-04T18:06:10Z")

</div>

Hi Actually i am doing testing of a ROR project… So what i need now is that is there any way/ways by which i cam dump the data of an sql table (lets suppose abc) into its yml file which is located in “test/fixtures/a…

---

## [Rails Hosting: Can't make up my mind](https://www.ruby-forum.com/t/rails-hosting-cant-make-up-my-mind/170852)

<div class="topic-metadata">

**Author:** [@ben-v](https://www.ruby-forum.com/u/ben-v)\
**Replies:** 6\
**Last updated:** [June 23, 2009, 7:23pm UTC](https://www.ruby-forum.com/t/rails-hosting-cant-make-up-my-mind/170852 "2009-06-23T19:23:13Z")

</div>

I’ve been irresolute about who to choose for hosting for the past few days. Right now my two favorites are Rails Playground and Blue Box Group. Anyone have any advice or experience with them?

---

## [Hi there](https://www.ruby-forum.com/t/hi-there/135216)

<div class="topic-metadata">

**Author:** [@Miquel\_O](https://www.ruby-forum.com/u/Miquel_O)\
**Replies:** 6\
**Last updated:** [April 19, 2008, 12:04pm UTC](https://www.ruby-forum.com/t/hi-there/135216 "2008-04-19T12:04:05Z")

</div>

Hi there I subscribed to this mailint list this morning after days looking for the way to do it, so this is my first post. My name is Miquel and I have been coding with ruby for a year and a half (using Qtruby bindin…

---

## [Win32 service](https://www.ruby-forum.com/t/win32-service/197215)

<div class="topic-metadata">

**Author:** [@brianspaid](https://www.ruby-forum.com/u/brianspaid)\
**Replies:** 6\
**Last updated:** [April 5, 2008, 4:25am UTC](https://www.ruby-forum.com/t/win32-service/197215 "2008-04-05T04:25:58Z")

</div>

Hello, I’m trying to add a application as a service in Windows XP Pro I’m using the following code grabbed from KirbyBase: svc = Service.new(“localhost”) svc.create\_service do |s| s.service\_name = “TBWin32ReportingA…

---

## [Which script shall I choose for web automation?](https://www.ruby-forum.com/t/which-script-shall-i-choose-for-web-automation/120542)

<div class="topic-metadata">

**Author:** [@campos](https://www.ruby-forum.com/u/campos)\
**Replies:** 6\
**Last updated:** [November 18, 2007, 9:56am UTC](https://www.ruby-forum.com/t/which-script-shall-i-choose-for-web-automation/120542 "2007-11-18T09:56:35Z")

</div>

Hi, I’m trying to write an application which uses script to control web browser, such as inputing some data in the form, submitting, button clicking and so on. I wonder which script language is the best for such oper…

---

## [Active scaffold pagination](https://www.ruby-forum.com/t/active-scaffold-pagination/250170)

<div class="topic-metadata">

**Author:** [@Jazzy76](https://www.ruby-forum.com/u/Jazzy76)\
**Replies:** 0\
**Last updated:** [October 29, 2018, 10:06am UTC](https://www.ruby-forum.com/t/active-scaffold-pagination/250170 "2018-10-29T10:06:29Z")

</div>

Good day I send to active scaffold my\_list parameter :page\_num \<%= render :active\_scaffold =\>‘my\_list’, :params =\> { :page\_num =\> page\_num}%\> Question: How and where I can define this one and open list on needed pag…

---

## [Heroku Server Crashing on First API Call?](https://www.ruby-forum.com/t/heroku-server-crashing-on-first-api-call/248927)

<div class="topic-metadata">

**Author:** [@creiser5](https://www.ruby-forum.com/u/creiser5)\
**Replies:** 0\
**Last updated:** [October 17, 2018, 10:01pm UTC](https://www.ruby-forum.com/t/heroku-server-crashing-on-first-api-call/248927 "2018-10-17T22:01:11Z")

</div>

I haven’t really seen this error before, so I am pretty confused. I created an application with rails, and deployed it to Heroku. I have a table named Lobby, in which multiple lobby objects are stored. The API seems like…

---

## [Ruby and Electron/nw.js](https://www.ruby-forum.com/t/ruby-and-electron-nw-js/243670)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [December 17, 2015, 10:20pm UTC](https://www.ruby-forum.com/t/ruby-and-electron-nw-js/243670 "2015-12-17T22:20:48Z")

</div>

Hello, Electron is “Build cross platform desktop apps with web technologies using node.js and Chromium”. And Opal is “Ruby to JavaScript Compiler” So, is there someone which use Opal+Electron (or nw.js) making deskto…

---

## [Need Full Stack Rails Dev San Francisco](https://www.ruby-forum.com/t/need-full-stack-rails-dev-san-francisco/243473)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [November 11, 2015, 8:12pm UTC](https://www.ruby-forum.com/t/need-full-stack-rails-dev-san-francisco/243473 "2015-11-11T20:12:19Z")

</div>

Hello Fellow Software Engineers! We are a passionate team working hard to help people share authentic moments with friends. We have tons of interesting technical challenges, including architecting and deploying infras…

---

## [Ruby -c and ripper inconsistency: /(?\<n\>a(b|\\g\<n\>))/](https://www.ruby-forum.com/t/ruby-c-and-ripper-inconsistency-n-a-b-g-n/233286)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 1, 2014, 12:38am UTC](https://www.ruby-forum.com/t/ruby-c-and-ripper-inconsistency-n-a-b-g-n/233286 "2014-12-01T00:38:59Z")

</div>

Issue #10543 has been updated by Nobuyoshi N… Related to Bug #10437: ruby -c and ripper inconsistency: /\*/ added Bug #10543: ruby -c and ripper inconsistency: /(?a(b|\\g))/ Author: Akira T. Status: Closed Priority: …

---

## [%I segfaults with --dump=parsetree](https://www.ruby-forum.com/t/i-segfaults-with-dump-parsetree/233256)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 28, 2014, 8:38am UTC](https://www.ruby-forum.com/t/i-segfaults-with-dump-parsetree/233256 "2014-11-28T08:38:21Z")

</div>

Issue #10524 has been updated by Usaku NAKAMURA. Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: DONE, 2.1: REQUIRED Backported into ruby\_2\_0\_0 at r48635. Bug #10524: %I segfaults with --dump=parsetre…

---

## [\[Closed\] SEGV: def m(A: a) end](https://www.ruby-forum.com/t/closed-segv-def-m-a-a-end/233233)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [November 26, 2014, 9:26am UTC](https://www.ruby-forum.com/t/closed-segv-def-m-a-a-end/233233 "2014-11-26T09:26:31Z")

</div>

Issue #10545 has been updated by Nobuyoshi N… Status changed from Open to Closed % Done changed from 0 to 100 Applied in changeset r48583. parse.y: fix invalid keyword argument parse.y (f\_label, f\_kw, formal\_argum…

---

## [Tomcat, Mongrel Cluster, ROR (NO JRuby)](https://www.ruby-forum.com/t/tomcat-mongrel-cluster-ror-no-jruby/205654)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 12, 2011, 2:05pm UTC](https://www.ruby-forum.com/t/tomcat-mongrel-cluster-ror-no-jruby/205654 "2011-04-12T14:05:19Z")

</div>

I need to be able to call a Java servlet from a Rails app. I can NOT use JRuby. Has anybody successfully deployed their Rails app to Tomcat and gotten rewrite to send normal rails requests to a Mongrel cluster and sen…

---

## [KeyEvent#get\_key\_code](https://www.ruby-forum.com/t/keyevent-get-key-code/203931)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [March 2, 2011, 1:34am UTC](https://www.ruby-forum.com/t/keyevent-get-key-code/203931 "2011-03-02T01:34:55Z")

</div>

Bonsoir Alex, en utilisant “event.get\_key\_code” avec les touches du pavé numérique(clavier azerty) j’obtient les résultats suivants: par exemple: 1 = 324 2 = 325 3 = 326 Est-ce que j’obtient les mêmes résultats av…

---

## [Using a TV tuner as a high speed ADC](https://www.ruby-forum.com/t/using-a-tv-tuner-as-a-high-speed-adc/201551)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 10, 2011, 5:09pm UTC](https://www.ruby-forum.com/t/using-a-tv-tuner-as-a-high-speed-adc/201551 "2011-01-10T17:09:04Z")

</div>

FWIW Analog to Digital Converter with 16 bits and 448000 Samples per second based in the Bt878A —which takes you to —Also see btaudio.c module modification to get 896000 Samples per second with the Bt878A ADC …

---

## [\<%=h...%\>](https://www.ruby-forum.com/t/h/191943)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 5\
**Last updated:** [July 21, 2010, 11:02am UTC](https://www.ruby-forum.com/t/h/191943 "2010-07-21T11:02:45Z")

</div>

In the “Head First Rails” book, it mentions that “h” in \<%=h…%\> is a helper method. Can someone describe what that means? And, when should I use \<%=h…%\>? Is it when I want the result to be displayed on my view for exa…

---

## [Mechanize output:strange number](https://www.ruby-forum.com/t/mechanize-output-strange-number/189991)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 5\
**Last updated:** [June 12, 2010, 3:20am UTC](https://www.ruby-forum.com/t/mechanize-output-strange-number/189991 "2010-06-12T03:20:32Z")

</div>

require ‘mechanize’ agent = WWW::Mechanize.new page = agent.get(‘http://hd.openv.com/tv\_play-hddoc\_20090703\_7064487.html’) i get the following output: #\<WWW::Mechanize::Page::Link “\\347\\210\\261\\345\\215\\241\\346\\261\\…

---

## [Model validation dependent upon session data being set?](https://www.ruby-forum.com/t/model-validation-dependent-upon-session-data-being-set/184267)

<div class="topic-metadata">

**Author:** [@robo](https://www.ruby-forum.com/u/robo)\
**Replies:** 5\
**Last updated:** [February 27, 2010, 8:26pm UTC](https://www.ruby-forum.com/t/model-validation-dependent-upon-session-data-being-set/184267 "2010-02-27T20:26:10Z")

</div>

Ok so I have a few models that need to interact with each other - Blog, Post, and User. I’ll get their relationships out of the way: Blog has\_many :posts has\_and\_belongs\_to\_many :users (by way of a join table, a blo…

---

## [What am I doing wrong?](https://www.ruby-forum.com/t/what-am-i-doing-wrong/182488)

<div class="topic-metadata">

**Author:** [@ast](https://www.ruby-forum.com/u/ast)\
**Replies:** 5\
**Last updated:** [January 28, 2010, 10:54pm UTC](https://www.ruby-forum.com/t/what-am-i-doing-wrong/182488 "2010-01-28T22:54:37Z")

</div>

I didn’t see a beginners forum - hope it’s ok to post this here. I feel so daft as this must be the simplest question you’ve probably been asked! Anyway I’m new to Ruby and want to create a very simple script that ge…

---

## [Location = precedence breakage](https://www.ruby-forum.com/t/location-precedence-breakage/180456)

<div class="topic-metadata">

**Author:** [@kyleb](https://www.ruby-forum.com/u/kyleb)\
**Replies:** 5\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/location-precedence-breakage/180456 "2009-12-19T15:25:41Z")

</div>

This worked consistently in 0.7.6x (and according to the docs, it should work): location = /base { } location ^~ /base { } On testing 0.8.30, accessing http://my.server/base works, but http://my.server/base/plus/l…

---

## [Headache with sessions being shared](https://www.ruby-forum.com/t/headache-with-sessions-being-shared/178268)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 5\
**Last updated:** [November 2, 2009, 4:38am UTC](https://www.ruby-forum.com/t/headache-with-sessions-being-shared/178268 "2009-11-02T04:38:12Z")

</div>

I have a really horrendous problem with sessions. before\_filter :find\_cart\_from\_session private def find\_cart\_from\_session if session\[:cart\] # if there’s is a cart in the session begin @cart = Cart.find(session\[:ca…

---

## [Authlogic Administration](https://www.ruby-forum.com/t/authlogic-administration/173962)

<div class="topic-metadata">

**Author:** [@little\_kostas](https://www.ruby-forum.com/u/little_kostas)\
**Replies:** 5\
**Last updated:** [August 22, 2009, 4:40pm UTC](https://www.ruby-forum.com/t/authlogic-administration/173962 "2009-08-22T16:40:33Z")

</div>

Hi guys, i’ve created user authentication using Authlogic and it works like a charm!! But how can i use authlogic to authorize my administrator so that he can se a diffenent menu? All admin controllers and views are …

---

## [Write a File with JS](https://www.ruby-forum.com/t/write-a-file-with-js/170378)

<div class="topic-metadata">

**Author:** [@GGC](https://www.ruby-forum.com/u/GGC)\
**Replies:** 5\
**Last updated:** [June 17, 2009, 4:46am UTC](https://www.ruby-forum.com/t/write-a-file-with-js/170378 "2009-06-17T04:46:21Z")

</div>

I want to write into a plain text file using JavaScript (client side), how i can do that? Any idea could be good, but a sample could be better. grettings :smiley:

---

## [Deploying with Passenger question](https://www.ruby-forum.com/t/deploying-with-passenger-question/169896)

<div class="topic-metadata">

**Author:** [@calvin](https://www.ruby-forum.com/u/calvin)\
**Replies:** 5\
**Last updated:** [June 10, 2009, 9:05pm UTC](https://www.ruby-forum.com/t/deploying-with-passenger-question/169896 "2009-06-10T21:05:21Z")

</div>

Hi, I followed the instructions for deploying a site with Passenger from the screencast that is on the Phusion Passenger site and it didn’t work. I am using Dreamhost to host my site- could the problem be on their en…

---

## [Setup on Ubuntu](https://www.ruby-forum.com/t/setup-on-ubuntu/138906)

<div class="topic-metadata">

**Author:** [@jdemarco](https://www.ruby-forum.com/u/jdemarco)\
**Replies:** 5\
**Last updated:** [August 4, 2008, 2:49pm UTC](https://www.ruby-forum.com/t/setup-on-ubuntu/138906 "2008-08-04T14:49:04Z")

</div>

So far my experience with Rails has been that is an absolute nightmare to setup. I followed the tutorial found here=\> https://help.ubuntu.com/community/RubyOnRails Which is simple enough, although now IRB does not wor…

---

## [Internationalise field in model (maybe with globalite)](https://www.ruby-forum.com/t/internationalise-field-in-model-maybe-with-globalite/136042)

<div class="topic-metadata">

**Author:** [@spross](https://www.ruby-forum.com/u/spross)\
**Replies:** 5\
**Last updated:** [June 3, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/internationalise-field-in-model-maybe-with-globalite/136042 "2008-06-03T17:13:02Z")

</div>

hi all i have a model ‘user’ with a ‘country’ references field and a model ‘country’ with a ‘name’ field. now i’m trying to internationalise my application with globalite. but how do i solve that in my model? shall i…

---

## [Date.parse("##-##-##")](https://www.ruby-forum.com/t/date-parse/137955)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 5\
**Last updated:** [May 19, 2008, 2:50pm UTC](https://www.ruby-forum.com/t/date-parse/137955 "2008-05-19T14:50:57Z")

</div>

ã€€Date.parse("##.##.##") ã® ruby\_1\_8 ã«ãŠã‘ã‚‹æŒ™å‹•ãŒ trunk ã¨ã‚‚ ruby\_1\_8\_6 ã¨ã‚‚ç•°ãªã‚Šã¾ã™ã€‚ % for ruby in ruby-{1.8.6,1.8,1.9}; do $ruby -rdate -ve ‘p Date.parse(“10.09.08”).strftime("%Y-%m-%d")’; do…

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

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