# Top

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

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

---

## [Where to find bookmark in controller](https://www.ruby-forum.com/t/where-to-find-bookmark-in-controller/200779)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 21, 2010, 11:16pm UTC](https://www.ruby-forum.com/t/where-to-find-bookmark-in-controller/200779 "2010-12-21T23:16:39Z")

</div>

If I do a link\_to ‘XYZ’, ‘/usage/Faq.html#GB\_limit’ in my view … can I detect “GB\_Limit” in my controller? Where? I know I can do link\_to ‘XYZ’, ‘/usage/Faq.html?bookmark=GB\_limit’ and I can find GB\_limit in param…

---

## [Error while installing the mysql gem](https://www.ruby-forum.com/t/error-while-installing-the-mysql-gem/200280)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 9, 2010, 7:01am UTC](https://www.ruby-forum.com/t/error-while-installing-the-mysql-gem/200280 "2010-12-09T07:01:59Z")

</div>

Hi All, When i’m provide “gem install mysql” command, i got the following error. Please support me in getting out this error. Building native extensions. This could take a while… ERROR: Error installing mysql: ERR…

---

## [Is there any way to avoid fork() for debugging?](https://www.ruby-forum.com/t/is-there-any-way-to-avoid-fork-for-debugging/195879)

<div class="topic-metadata">

**Author:** [@Fabio\_Kaminski](https://www.ruby-forum.com/u/Fabio_Kaminski)\
**Replies:** 4\
**Last updated:** [October 1, 2010, 8:30pm UTC](https://www.ruby-forum.com/t/is-there-any-way-to-avoid-fork-for-debugging/195879 "2010-10-01T20:30:03Z")

</div>

Is there any way to avoid fork() for debugging, like the -X option from apache? i’ve tried to set workers to 0 on config… just the master process alright… but there’s still a fork… how you guys use gdb? Thanks Fab…

---

## [Reverse Proxy Security](https://www.ruby-forum.com/t/reverse-proxy-security/187427)

<div class="topic-metadata">

**Author:** [@karmaboy](https://www.ruby-forum.com/u/karmaboy)\
**Replies:** 4\
**Last updated:** [April 23, 2010, 8:40am UTC](https://www.ruby-forum.com/t/reverse-proxy-security/187427 "2010-04-23T08:40:55Z")

</div>

When using nginx as reverse proxy, to determine the actual client IP address I would need to rely on the X-Real-IP header. Since this is just an HTTP header than can be faked, is it possible for a visitor to include a…

---

## [DEEEEPLY nested](https://www.ruby-forum.com/t/deeeeply-nested/187096)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 4\
**Last updated:** [April 16, 2010, 10:42pm UTC](https://www.ruby-forum.com/t/deeeeply-nested/187096 "2010-04-16T22:42:30Z")

</div>

Hello, i have “a” has many “b”, “b” has many “c”, and “c” has many “d” Now… “d” is a user model, and I have a current\_user helper method defined. If i navigate to an “a” show page, how can I make sure that my curren…

---

## [Re: NginX problem with Reverse Proxy'ing](https://www.ruby-forum.com/t/re-nginx-problem-with-reverse-proxying/186660)

<div class="topic-metadata">

**Author:** [@Victor\_Fondevilla](https://www.ruby-forum.com/u/Victor_Fondevilla)\
**Replies:** 4\
**Last updated:** [April 11, 2010, 4:46pm UTC](https://www.ruby-forum.com/t/re-nginx-problem-with-reverse-proxying/186660 "2010-04-11T16:46:43Z")

</div>

Something went wrong with my other mail (created a new thread by mistake) I paste here the message: The PHP file is only this: \<?php phpinfo(); ?\> Just for testing the proxy.

---

## [Problem with gem 1.3.2 upgrade](https://www.ruby-forum.com/t/problem-with-gem-1-3-2-upgrade/182069)

<div class="topic-metadata">

**Author:** [@trout](https://www.ruby-forum.com/u/trout)\
**Replies:** 4\
**Last updated:** [January 22, 2010, 9:05am UTC](https://www.ruby-forum.com/t/problem-with-gem-1-3-2-upgrade/182069 "2010-01-22T09:05:49Z")

</div>

trying to update from gem 1.3.1 to 1.3.2. downloaded 1.3.2 to harddrive. then entered “gem install 1.2.3” at the command line. I get the following error ERROR: could not find gem 1.3.2 locally or in a repository whe…

---

## [Location ~ \\.php$ does not work with proxy\_pass breaks pretty permalinks](https://www.ruby-forum.com/t/location-php-does-not-work-with-proxy-pass-breaks-pretty-permalinks/179698)

<div class="topic-metadata">

**Author:** [@nerdgrind](https://www.ruby-forum.com/u/nerdgrind)\
**Replies:** 4\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/location-php-does-not-work-with-proxy-pass-breaks-pretty-permalinks/179698 "2009-12-19T15:25:27Z")

</div>

I am using Nginx as a frontend server to server only static files, and apache as the backend server to serve only php file. I saw a configuration for proxy\_pass that would allow me to be 100% sure I was only serving p…

---

## [Routing problems for different formats](https://www.ruby-forum.com/t/routing-problems-for-different-formats/174262)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 4\
**Last updated:** [August 24, 2009, 4:59am UTC](https://www.ruby-forum.com/t/routing-problems-for-different-formats/174262 "2009-08-24T04:59:06Z")

</div>

I am having 2 similar problems with routing. With Rails if I make a js request using jQuery I always have to append a “.js” extension to allow the request to be handled appropriately. If I don’t append a js extens…

---

## [Newbie has trouble understanding a Why example](https://www.ruby-forum.com/t/newbie-has-trouble-understanding-a-why-example/173498)

<div class="topic-metadata">

**Author:** [@cjosephson](https://www.ruby-forum.com/u/cjosephson)\
**Replies:** 4\
**Last updated:** [August 10, 2009, 8:15pm UTC](https://www.ruby-forum.com/t/newbie-has-trouble-understanding-a-why-example/173498 "2009-08-10T20:15:12Z")

</div>

I’m just learning ruby, so I am working my way through ‘Why’s Poignant Guide to Ruby’ I’m on the 5th chapter, and I came across this example: class ArrayMine \< Array Build a string from this array, formatting each en…

---

## [Models as "views" on another model](https://www.ruby-forum.com/t/models-as-views-on-another-model/171944)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [July 12, 2009, 8:06pm UTC](https://www.ruby-forum.com/t/models-as-views-on-another-model/171944 "2009-07-12T20:06:34Z")

</div>

I would like to selectively reuse some data. I have two groups of people who want very similar information about subject experts - but they want slightly different fields and/or want to see the other group’s informati…

---

## [Reassignement TCPSocket::new](https://www.ruby-forum.com/t/reassignement-tcpsocket-new/171563)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 4\
**Last updated:** [July 6, 2009, 6:15pm UTC](https://www.ruby-forum.com/t/reassignement-tcpsocket-new/171563 "2009-07-06T18:15:00Z")

</div>

in my model, I have: attr\_accessor :socket in my controller I have def toServer(s) begin if(@socket == nil) @socket = TCPSocket::new(@channel.serverip, @channel.port) end @socket.send(s,0) rescue return end e…

---

## [Lazy lookup](https://www.ruby-forum.com/t/lazy-lookup/167036)

<div class="topic-metadata">

**Author:** [@samoht](https://www.ruby-forum.com/u/samoht)\
**Replies:** 4\
**Last updated:** [May 4, 2009, 5:04pm UTC](https://www.ruby-forum.com/t/lazy-lookup/167036 "2009-05-04T17:04:15Z")

</div>

Hello, how about the following implementation for lazy lookups? def define\_lookup h = lambda{ |k| h = {} # … fill h (expensive!) … h\[k\] } self.class.class\_eval{ define\_method(:lookup){ |k| h\[k\] } } end Once def…

---

## [Third-level domain](https://www.ruby-forum.com/t/third-level-domain/151700)

<div class="topic-metadata">

**Author:** [@golf](https://www.ruby-forum.com/u/golf)\
**Replies:** 4\
**Last updated:** [October 24, 2008, 6:42pm UTC](https://www.ruby-forum.com/t/third-level-domain/151700 "2008-10-24T18:42:14Z")

</div>

Hi, I am wondering if there is chance to automatically create third-level domain. For example: new user registration, with rockguru nickname, and I would like to create a third-level domain for this user: rockguru.my…

---

## [Gem question on hosted service](https://www.ruby-forum.com/t/gem-question-on-hosted-service/143400)

<div class="topic-metadata">

**Author:** [@Tubahead](https://www.ruby-forum.com/u/Tubahead)\
**Replies:** 4\
**Last updated:** [July 23, 2008, 9:49pm UTC](https://www.ruby-forum.com/t/gem-question-on-hosted-service/143400 "2008-07-23T21:49:43Z")

</div>

All, This may be a gem question (not rails) but I feel sure someone else on this list has seen this issue go by. I use a hosting service that has ROR available, but I am among the few developers using it. I am devel…

---

## [Assert\_tag not working](https://www.ruby-forum.com/t/assert-tag-not-working/121642)

<div class="topic-metadata">

**Author:** [@deliak](https://www.ruby-forum.com/u/deliak)\
**Replies:** 4\
**Last updated:** [July 2, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/assert-tag-not-working/121642 "2008-07-02T22:39:37Z")

</div>

Hi all, in a test I’m doing I’m looking for a div of class errorExplanation to know if an update passed validation, but even if the rendered html has it, as you can see below, the assert\_tag fails. What am I doing wro…

---

## [Need Help on How to provide a Start and Stop Date range Dynamically to my ActiveRecord Find?](https://www.ruby-forum.com/t/need-help-on-how-to-provide-a-start-and-stop-date-range-dynamically-to-my-activerecord-find/140948)

<div class="topic-metadata">

**Author:** [@scottc12](https://www.ruby-forum.com/u/scottc12)\
**Replies:** 4\
**Last updated:** [June 23, 2008, 3:05pm UTC](https://www.ruby-forum.com/t/need-help-on-how-to-provide-a-start-and-stop-date-range-dynamically-to-my-activerecord-find/140948 "2008-06-23T15:05:49Z")

</div>

I’d like to have my index page present the user with a Form for selecting a Date range Example: Start 2008-06-19 End: 2008-06-29 and then pass this information into my ActiveRecord Find I’m working with a legacy DB…

---

## [Activerecord new version differences](https://www.ruby-forum.com/t/activerecord-new-version-differences/140099)

<div class="topic-metadata">

**Author:** [@ernsttanaka](https://www.ruby-forum.com/u/ernsttanaka)\
**Replies:** 4\
**Last updated:** [June 10, 2008, 11:31pm UTC](https://www.ruby-forum.com/t/activerecord-new-version-differences/140099 "2008-06-10T23:31:43Z")

</div>

I am sorry, but I am struggling. I installed new versions of my gems and my programs don’t run anymore. As suggested I tried to roll back to older versions, but that is becoming a bigger mess. The flight forward has a…

---

## [Finding the line of code corresponding to an SQL statement](https://www.ruby-forum.com/t/finding-the-line-of-code-corresponding-to-an-sql-statement/130979)

<div class="topic-metadata">

**Author:** [@jamie](https://www.ruby-forum.com/u/jamie)\
**Replies:** 4\
**Last updated:** [March 5, 2008, 7:15am UTC](https://www.ruby-forum.com/t/finding-the-line-of-code-corresponding-to-an-sql-statement/130979 "2008-03-05T07:15:16Z")

</div>

Wondering if any one has suggestions for changing the log output such that the line of code (and associated file) that resulted in a query is output to the log file when running in the development env. for example: A…

---

## [Anyone use eclipse on Windows?](https://www.ruby-forum.com/t/anyone-use-eclipse-on-windows/128493)

<div class="topic-metadata">

**Author:** [@Day](https://www.ruby-forum.com/u/Day)\
**Replies:** 4\
**Last updated:** [February 9, 2008, 5:00am UTC](https://www.ruby-forum.com/t/anyone-use-eclipse-on-windows/128493 "2008-02-09T05:00:41Z")

</div>

If you saw my other post similarly titled, it may become apparent: I’m trying out various editors. I’ve installed eclipse and RDT and subclipse. Things are working well… except (had to be one). For some reason, for th…

---

## [Send rendered page as email](https://www.ruby-forum.com/t/send-rendered-page-as-email/127456)

<div class="topic-metadata">

**Author:** [@pie-r-squared](https://www.ruby-forum.com/u/pie-r-squared)\
**Replies:** 4\
**Last updated:** [January 29, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/send-rendered-page-as-email/127456 "2008-01-29T17:07:29Z")

</div>

I feel like this is actually easy, but I haven’t been able to attack it from the right angle. A client wants “send to a friend” functionality that will allow a user to enter an email address to send the page to, and t…

---

## [Autosetting field before validation](https://www.ruby-forum.com/t/autosetting-field-before-validation/123862)

<div class="topic-metadata">

**Author:** [@madiba](https://www.ruby-forum.com/u/madiba)\
**Replies:** 4\
**Last updated:** [December 21, 2007, 7:52pm UTC](https://www.ruby-forum.com/t/autosetting-field-before-validation/123862 "2007-12-21T19:52:30Z")

</div>

Why this code do not work(permalize is from plug-in): def before\_validation\_on\_create permalink ||= name.permalize unless name.nil? end Regards PS. The method is called but it do not change attribute. How to change…

---

## [File renaming/parsing help](https://www.ruby-forum.com/t/file-renaming-parsing-help/121876)

<div class="topic-metadata">

**Author:** [@mike-moscow](https://www.ruby-forum.com/u/mike-moscow)\
**Replies:** 4\
**Last updated:** [December 3, 2007, 10:03pm UTC](https://www.ruby-forum.com/t/file-renaming-parsing-help/121876 "2007-12-03T22:03:04Z")

</div>

First of all let me say that I am an absolute newb when it comes to rails. I am simply trying to work on an existing script that was written by someone else. I need to take a filename that will always have a similar …

---

## [Flickr API not working](https://www.ruby-forum.com/t/flickr-api-not-working/121674)

<div class="topic-metadata">

**Author:** [@rajatgarg](https://www.ruby-forum.com/u/rajatgarg)\
**Replies:** 4\
**Last updated:** [November 30, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/flickr-api-not-working/121674 "2007-11-30T21:22:18Z")

</div>

Hi Guys, I am a newbie and I am trying to get ROR Flickr example working… I installed the flickr gem and after that I did the necessary work as stated and here is the outcome - http://www.pilotoutlook.com/flickr My …

---

## [Binary Search 0.0.2 released](https://www.ruby-forum.com/t/binary-search-0-0-2-released/118622)

<div class="topic-metadata">

**Author:** [@luispulidoman](https://www.ruby-forum.com/u/luispulidoman)\
**Replies:** 4\
**Last updated:** [October 30, 2007, 4:04pm UTC](https://www.ruby-forum.com/t/binary-search-0-0-2-released/118622 "2007-10-30T16:04:40Z")

</div>

Hi A few weeks after Ruby Q. 139 I found myself needing again to do a binary search in a big text file. So I converted the solution submitted to OOP and released it as a rubygem. With this gem, you create first an in…

---

## [Sakebar logo a bit racist?](https://www.ruby-forum.com/t/sakebar-logo-a-bit-racist/114760)

<div class="topic-metadata">

**Author:** [@blinking\_bear](https://www.ruby-forum.com/u/blinking_bear)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/sakebar-logo-a-bit-racist/114760 "2007-09-25T23:10:20Z")

</div>

http://sakebar.railsrumble.com/images/sake-doll.jpg

---

## [Problem with rubygem](https://www.ruby-forum.com/t/problem-with-rubygem/111077)

<div class="topic-metadata">

**Author:** [@austeretown](https://www.ruby-forum.com/u/austeretown)\
**Replies:** 4\
**Last updated:** [August 10, 2007, 1:36pm UTC](https://www.ruby-forum.com/t/problem-with-rubygem/111077 "2007-08-10T13:36:26Z")

</div>

Hello every body, I tried to install ruby and rubygem. So I have downloaded : ruby-1.8.5-p2 and rubygem-0.9.4 no problem for their installation. But when I tried to do: gem install rails --include-dependencies, i have …

---

## [Back to Rails 1.1.x!](https://www.ruby-forum.com/t/back-to-rails-1-1-x/103593)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [May 8, 2007, 8:33am UTC](https://www.ruby-forum.com/t/back-to-rails-1-1-x/103593 "2007-05-08T08:33:18Z")

</div>

I’m tired of fvcking around trying to get Rails 1.2.x to work. My named routes wouldn’t work or get generated correctly. The upgrade docs made no mention that rubygems also needed to be updated (which causes many prob…

---

## [Something\_test.rb instead of test\_something.rb with autotest](https://www.ruby-forum.com/t/something-test-rb-instead-of-test-something-rb-with-autotest/93236)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 4\
**Last updated:** [April 30, 2007, 3:21pm UTC](https://www.ruby-forum.com/t/something-test-rb-instead-of-test-something-rb-with-autotest/93236 "2007-04-30T15:21:41Z")

</div>

I recently swapped Ruport’s tests to be named something\_test.rb instead of test\_something.rb Is there a quick config option I can throw in so this doesn’t break autotest? Warm Regards, gregory

---

## [Gem questions/problems](https://www.ruby-forum.com/t/gem-questions-problems/89351)

<div class="topic-metadata">

**Author:** [@ghoti143](https://www.ruby-forum.com/u/ghoti143)\
**Replies:** 4\
**Last updated:** [March 20, 2007, 1:54am UTC](https://www.ruby-forum.com/t/gem-questions-problems/89351 "2007-03-20T01:54:32Z")

</div>

I installed gem on a few machines (identical machines). When I do gem list --remote on some of them, they dump a big list of packages. When I do the same command on one of them, it returns nothing: \[root@devbox1 1.8\]#…

---

## [Publishing a plugin](https://www.ruby-forum.com/t/publishing-a-plugin/89007)

<div class="topic-metadata">

**Author:** [@AndyV](https://www.ruby-forum.com/u/AndyV)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/publishing-a-plugin/89007 "2007-03-16T16:55:50Z")

</div>

Okay, I have a small plugin which I initially want to publish on my corp intranet so we can share it among our internal apps (if it proves worthwhile maybe I’ll push it beyond that). I’ve pushed the plugin folder to …

---

## [Why suddenly the question marks?](https://www.ruby-forum.com/t/why-suddenly-the-question-marks/88959)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 9:35am UTC](https://www.ruby-forum.com/t/why-suddenly-the-question-marks/88959 "2007-03-16T09:35:38Z")

</div>

Look at this page http://eventsinindia.com/event/639 Everything looked fine sometime back. But now there are question marks. I find such question marks on other pages too. What’s the root cause and what’s the fix. T…

---

## [Gsub and backslashes](https://www.ruby-forum.com/t/gsub-and-backslashes/82828)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 4\
**Last updated:** [January 21, 2007, 9:06pm UTC](https://www.ruby-forum.com/t/gsub-and-backslashes/82828 "2007-01-21T21:06:51Z")

</div>

Say I want to replace all occurrences of \\ in a string with \\: test = “a string with \\ a backslash” puts test.gsub(/\\/, “\\\\”) #no worky =\> a string with \\ a backslash puts test.gsub(/\\/, “\\\\\\”) #why does this work? …

---

## [Nullcmd](https://www.ruby-forum.com/t/nullcmd/78356)

<div class="topic-metadata">

**Author:** [@Takahiro\_K](https://www.ruby-forum.com/u/Takahiro_K)\
**Replies:** 4\
**Last updated:** [December 5, 2006, 4:07pm UTC](https://www.ruby-forum.com/t/nullcmd/78356 "2006-12-05T16:07:26Z")

</div>

e$B$3$s$K$A$O!#e(B ruby\_1\_8e$B$N%V%i%s%A$Ge(Bconfiguree$B$N7k2L!"e(B NULLCMD = … post-install-bin:: @$(NULLCMD) e$B$H!"$$$C$?9T$,:n@.$5$l$^$9!#e(BGNU makee$B$G$OLdBj$J$$$h$&$G$9$,!"e(BNetBSDe$B$Ne(B make(e$BB\>$Ne…

---

## [What's wrong with my metaprogramming?](https://www.ruby-forum.com/t/whats-wrong-with-my-metaprogramming/72135)

<div class="topic-metadata">

**Author:** [@John\_Ky](https://www.ruby-forum.com/u/John_Ky)\
**Replies:** 4\
**Last updated:** [October 14, 2006, 5:41pm UTC](https://www.ruby-forum.com/t/whats-wrong-with-my-metaprogramming/72135 "2006-10-14T17:41:47Z")

</div>

def define\_my\_method(method\_name) define\_method method\_name do yield end end class X define\_my\_method :method1 do puts “Method 1” end define\_my\_method :method2 do puts “Method 2” method1 end end X.…

---

## [A question about general\_work() function](https://www.ruby-forum.com/t/a-question-about-general-work-function/71674)

<div class="topic-metadata">

**Author:** [@Dawei\_Shen](https://www.ruby-forum.com/u/Dawei_Shen)\
**Replies:** 4\
**Last updated:** [October 11, 2006, 5:19am UTC](https://www.ruby-forum.com/t/a-question-about-general-work-function/71674 "2006-10-11T05:19:35Z")

</div>

Hello Everyone I have got a problem which arised from my project. Here is what I want to do: I am trying to implement a Viterbi algorithm. Suppose “in” is the input stream, I want to use in\[0\], in\[1\]…in\[6\], seven e…

---

## [\[DUMB QUESTION\] rake -T, db:migrate and rake migrate](https://www.ruby-forum.com/t/dumb-question-rake-t-db-migrate-and-rake-migrate/70120)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [September 26, 2006, 11:57pm UTC](https://www.ruby-forum.com/t/dumb-question-rake-t-db-migrate-and-rake-migrate/70120 "2006-09-26T23:57:40Z")

</div>

Just wondering - ‘rake -T’ shows ‘db:migrate’, but not ‘migrate’, yet ‘rake migrate’ works. What kind of voodoo is behind that? Joe

---

## [Linking to the paginated items from search results](https://www.ruby-forum.com/t/linking-to-the-paginated-items-from-search-results/101028)

<div class="topic-metadata">

**Author:** [@adrian](https://www.ruby-forum.com/u/adrian)\
**Replies:** 4\
**Last updated:** [August 4, 2006, 3:55am UTC](https://www.ruby-forum.com/t/linking-to-the-paginated-items-from-search-results/101028 "2006-08-04T03:55:02Z")

</div>

Using Ferret for searching, I’ve got results that I need to link to. Which is fine, except for that they’re displayed on paginated pages using Rails paginate function - so it’s not like I can’t get it from the databas…

---

## [Questions about gr\_block](https://www.ruby-forum.com/t/questions-about-gr-block/99123)

<div class="topic-metadata">

**Author:** [@Jens\_E](https://www.ruby-forum.com/u/Jens_E)\
**Replies:** 4\
**Last updated:** [July 21, 2006, 9:21pm UTC](https://www.ruby-forum.com/t/questions-about-gr-block/99123 "2006-07-21T21:21:09Z")

</div>

Good morning! I started writing a small signal processing block (OFDM transmitter) and ran into some problems. My starting point was the well written gr-how-to-write-a-block tutorial. I have, let’s say, 1536 input s…

---

## [ActiveRecord alternatives](https://www.ruby-forum.com/t/activerecord-alternatives/98341)

<div class="topic-metadata">

**Author:** [@elriba](https://www.ruby-forum.com/u/elriba)\
**Replies:** 4\
**Last updated:** [July 14, 2006, 1:20am UTC](https://www.ruby-forum.com/t/activerecord-alternatives/98341 "2006-07-14T01:20:11Z")

</div>

Hi, I have a database application running under sybase anywhere SQL server. I would like to develop modules in Ruby to access that database. I started to look at ActiveRecord, but it seems that one requirement is tha…

---

## [Setting attribute in constructor, .NEW works but not .CREATE](https://www.ruby-forum.com/t/setting-attribute-in-constructor-new-works-but-not-create/64376)

<div class="topic-metadata">

**Author:** [@yardboy](https://www.ruby-forum.com/u/yardboy)\
**Replies:** 4\
**Last updated:** [June 25, 2006, 4:05am UTC](https://www.ruby-forum.com/t/setting-attribute-in-constructor-new-works-but-not-create/64376 "2006-06-25T04:05:36Z")

</div>

I have table “decks” with three fields: “id”, “created\_at” and “cards” which is a 264-character string field. I have modified the model with a constructor, as follows: class Deck \< ActiveRecord::Base attr\_reader :car…

---

## [File.exist? svn2rss.rb](https://www.ruby-forum.com/t/file-exist-svn2rss-rb/53900)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 4\
**Last updated:** [February 18, 2006, 4:05am UTC](https://www.ruby-forum.com/t/file-exist-svn2rss-rb/53900 "2006-02-18T04:05:55Z")

</div>

Hello, We’re migrating from CVS to Subversion and I am looking for a Ruby post-commit hook to produce an RSS feed. I found this November '05 post by Jamis, http://comox.textdrive.com/pipermail/budgetwise/2005-Novembe…

---

## [Ruby, Rails & Inheritance](https://www.ruby-forum.com/t/ruby-rails-inheritance/101973)

<div class="topic-metadata">

**Author:** [@dim](https://www.ruby-forum.com/u/dim)\
**Replies:** 4\
**Last updated:** [February 7, 2006, 8:45pm UTC](https://www.ruby-forum.com/t/ruby-rails-inheritance/101973 "2006-02-07T20:45:11Z")

</div>

Hi! I am looking for a solution for the following problem: Some of my models share some attributes and also was in need for some extra features, so I created a class “RecordWithFeatures”: class RecordWithFeatures \< Ac…

---

## [Trouble with date](https://www.ruby-forum.com/t/trouble-with-date/224916)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [December 4, 2012, 4:41am UTC](https://www.ruby-forum.com/t/trouble-with-date/224916 "2012-12-04T04:41:46Z")

</div>

Im trying to incorporate the date into a directory path I want to name a folder using the bash command “date +%y%m%d” and then call that path later on in the script as in: This works great today = date +%y%m%d direc…

---

## [Rails Syntax Change](https://www.ruby-forum.com/t/rails-syntax-change/222757)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 10, 2012, 6:30am UTC](https://www.ruby-forum.com/t/rails-syntax-change/222757 "2012-09-10T06:30:13Z")

</div>

I am a newbie. Looking at some old text vs new. I see some changes: New: \<%= yield(:title) %\> Old: \<%= @title %\> New: “#{base\_title} | Home” Old: @base\_title + “| Home” Can you tell me when they got changed? Are …

---

## [Not able to run Setup.rb and install Rails](https://www.ruby-forum.com/t/not-able-to-run-setup-rb-and-install-rails/219322)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 28, 2012, 6:44pm UTC](https://www.ruby-forum.com/t/not-able-to-run-setup-rb-and-install-rails/219322 "2012-04-28T18:44:42Z")

</div>

Please see the attached images. I installed Ruby on a PC running Windows Server 2008 R2. I also installed Rails and it worked. Now I am doing the same on another PC with same OS, but it giving error (see attached ima…

---

## [Assignment reading file](https://www.ruby-forum.com/t/assignment-reading-file/199946)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 25, 2010, 4:06pm UTC](https://www.ruby-forum.com/t/assignment-reading-file/199946 "2010-12-25T16:06:15Z")

</div>

can anyone do this ? A TaxPayer has a name, a yearly salary and a tax credit (both floating-point values). The amount of tax paid by a TaxPayer is calculated as follows. 20% is paid on the first €34,000 and 41% is …

---

## [Want to learn Ruby as web programming language](https://www.ruby-forum.com/t/want-to-learn-ruby-as-web-programming-language/199637)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [November 27, 2010, 5:15pm UTC](https://www.ruby-forum.com/t/want-to-learn-ruby-as-web-programming-language/199637 "2010-11-27T17:15:29Z")

</div>

Hi Actually I am interested in learning ruby as a web programming language. Please suggest me some easy to learn tutorials specifically for ruby web programming. Many thanks PS: I am on ubuntu 9.04 with apache 2.2

---

## [WBX \<70MHz](https://www.ruby-forum.com/t/wbx-70mhz/189549)

<div class="topic-metadata">

**Author:** [@Sharif\_S](https://www.ruby-forum.com/u/Sharif_S)\
**Replies:** 5\
**Last updated:** [June 3, 2010, 12:20am UTC](https://www.ruby-forum.com/t/wbx-70mhz/189549 "2010-06-03T00:20:04Z")

</div>

Hello, I am trying to tune the WBX to 60MHz, but everytime I do I get an error. If I do it through usrp2\_fft.py it says “Failed”, if I do it through my c++ code, I get the error set\_rx\_center\_freq(6e+07) failed. I …

---

## [Problem with installation of Rails 3](https://www.ruby-forum.com/t/problem-with-installation-of-rails-3/188925)

<div class="topic-metadata">

**Author:** [@sivakumar](https://www.ruby-forum.com/u/sivakumar)\
**Replies:** 5\
**Last updated:** [May 20, 2010, 8:07pm UTC](https://www.ruby-forum.com/t/problem-with-installation-of-rails-3/188925 "2010-05-20T20:07:15Z")

</div>

Help me out guys… While installing rails 3 i got the following message :~$ sudo gem install rails --pre Successfully installed rails-3.0.0.beta3 1 gem installed Installing ri documentation for rails-3.0.0.beta3… Fi…

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

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