# Top

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

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

---

## [ActiveRecord: mapping column names when using legacy schemat](https://www.ruby-forum.com/t/activerecord-mapping-column-names-when-using-legacy-schemat/93062)

<div class="topic-metadata">

**Author:** [@tilo](https://www.ruby-forum.com/u/tilo)\
**Replies:** 0\
**Last updated:** [April 27, 2007, 1:47am UTC](https://www.ruby-forum.com/t/activerecord-mapping-column-names-when-using-legacy-schemat/93062 "2007-04-27T01:47:51Z")

</div>

I have an ActiveRecord question… I have a legacy MySQL database with a weird naming convention - all table and column names have a prefix ‘\_’ , which is annoying, and some of the column names are plain misnomers. I…

---

## [Flaw in the code](https://www.ruby-forum.com/t/flaw-in-the-code/244754)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 8, 2016, 1:26pm UTC](https://www.ruby-forum.com/t/flaw-in-the-code/244754 "2016-06-08T13:26:45Z")

</div>

find flaw in below code class BlogPostsController \< ApplicationController def ex @p\_p = B.where(‘published\_at \<= ?’, Time.now) @unp\_p = BlogPost.where(‘published\_at = ? OR published\_at \> ?’, nil, Time.now) end end …

---

## [A small error in benchmark\_tx file](https://www.ruby-forum.com/t/a-small-error-in-benchmark-tx-file/243279)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [September 8, 2015, 12:05am UTC](https://www.ruby-forum.com/t/a-small-error-in-benchmark-tx-file/243279 "2015-09-08T00:05:54Z")

</div>

Hi all, I have been trying to send data between 2 USRP’s from the benchmark\_tx file only to observe that I have been receiving this error. Traceback (most recent call last): File “./benchmark\_tx.py”, line 147, in m…

---

## [Re: OP25 FSK4 Demodulator Error](https://www.ruby-forum.com/t/re-op25-fsk4-demodulator-error/234362)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [February 26, 2015, 8:41pm UTC](https://www.ruby-forum.com/t/re-op25-fsk4-demodulator-error/234362 "2015-02-26T20:41:25Z")

</div>

Hi, Before I start working on Op25 I want to know what kind of demodulator detector is op25 using? Correlation filters or frequency discriminator (quadrature demod) ? Which algos for symbol timing and frequency offset…

---

## [Trying to build on OS X Maverics 10.9.2 Xcode 5.1 - Undefined symbols for architecture x86\_64](https://www.ruby-forum.com/t/trying-to-build-on-os-x-maverics-10-9-2-xcode-5-1-undefined-symbols-for-architecture-x86-64/240178)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 1, 2014, 1:27am UTC](https://www.ruby-forum.com/t/trying-to-build-on-os-x-maverics-10-9-2-xcode-5-1-undefined-symbols-for-architecture-x86-64/240178 "2014-04-01T01:27:26Z")

</div>

Hi Im trying to build GnuRadio on OS X 10.9.2 Im assuming the "Undefined symbols for architecture x86\_64 is related to some mismatch in libraries. Could somebody please offer some suggestions on how to debug the issu…

---

## [\[ann\] ar-jdbc 1.3.3](https://www.ruby-forum.com/t/ann-ar-jdbc-1-3-3/237416)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 12, 2013, 5:42pm UTC](https://www.ruby-forum.com/t/ann-ar-jdbc-1-3-3/237416 "2013-11-12T17:42:16Z")

</div>

Could not miss a date 11/12/13 to do a release :slight\_smile: ! There were no announcements here for previous point releases since 1.3.0 mostly cause it’s all bugs and improvements. But there’s now 2 things worth rem…

---

## [Usrp2 matlab](https://www.ruby-forum.com/t/usrp2-matlab/216668)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 10, 2012, 11:07am UTC](https://www.ruby-forum.com/t/usrp2-matlab/216668 "2012-02-10T11:07:43Z")

</div>

Hello everyone, I am using USRP2 with XCVR2450 daughter card with Windows XP and MATLAB R2011a in 2.4GHz ISM band. I am trying to implement a simple spectrum analyzer (based on energy detection) with MATLAB’s SDRu pa…

---

## [Performing a Capistrano deploy](https://www.ruby-forum.com/t/performing-a-capistrano-deploy/207336)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 24, 2011, 11:39am UTC](https://www.ruby-forum.com/t/performing-a-capistrano-deploy/207336 "2011-05-24T11:39:11Z")

</div>

Hello, I’m currently trying to figure out how to do a proper Capistrano deploy from my system to the server that needs to be hosting my Ruby on Rails application. A small caveat that I had to tackle first was getting…

---

## [Warbler's executable war in --1.9 mode excepts on startup](https://www.ruby-forum.com/t/warblers-executable-war-in-1-9-mode-excepts-on-startup/202016)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 20, 2011, 7:51pm UTC](https://www.ruby-forum.com/t/warblers-executable-war-in-1-9-mode-excepts-on-startup/202016 "2011-01-20T19:51:55Z")

</div>

I’ve got a relatively simple sinatra app that I’m trying to package up with warbler (1.2.1) as an executable war under jruby-1.5.6. I need some 1.9 language features, so I’ve set: config.webxml.jruby.compat.version =…

---

## [What is the default valule for "encoding" in ActiveRecord::Base.establish\_connection](https://www.ruby-forum.com/t/what-is-the-default-valule-for-encoding-in-activerecord-base-establish-connection/197410)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [October 14, 2010, 6:30am UTC](https://www.ruby-forum.com/t/what-is-the-default-valule-for-encoding-in-activerecord-base-establish-connection/197410 "2010-10-14T06:30:11Z")

</div>

Hi guys, I am using mysql. Recently I changed the character set from Latin1 to UTF-8. I met an issue when I inserted a new record. It showed up some illegal characters. Per my test, I thought it converted the value f…

---

## [Building CUDA with GNUradio issues](https://www.ruby-forum.com/t/building-cuda-with-gnuradio-issues/170948)

<div class="topic-metadata">

**Author:** [@Yu-Hua\_Y](https://www.ruby-forum.com/u/Yu-Hua_Y)\
**Replies:** 1\
**Last updated:** [June 25, 2009, 9:07am UTC](https://www.ruby-forum.com/t/building-cuda-with-gnuradio-issues/170948 "2009-06-25T09:07:05Z")

</div>

Hi I am having alot of problems building CUDA with the current CUDA-enable GUNRadio branch. I am using Fedora 10. I followed the http://www.smallwhitecube.com/php/dokuwiki/doku.php?id=howto:gnuradio-with-cudawiki an…

---

## [.htaccess mod\_rewrite woes](https://www.ruby-forum.com/t/htaccess-mod-rewrite-woes/143196)

<div class="topic-metadata">

**Author:** [@rubella](https://www.ruby-forum.com/u/rubella)\
**Replies:** 1\
**Last updated:** [July 16, 2008, 7:53pm UTC](https://www.ruby-forum.com/t/htaccess-mod-rewrite-woes/143196 "2008-07-16T19:53:44Z")

</div>

Hi All, I just cane$B!Ge(Bt seem to get redirects going in Radiante$B!Ge(Bs .htaccess. Can someone enlighten me? In the default .htaccess file after RewriteEngine On (shich should be after the Options at the top btw)…

---

## [Ruby 1.9 - equivalent of ruby\_run()?](https://www.ruby-forum.com/t/ruby-1-9-equivalent-of-ruby-run/130751)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 1\
**Last updated:** [March 3, 2008, 6:26am UTC](https://www.ruby-forum.com/t/ruby-1-9-equivalent-of-ruby-run/130751 "2008-03-03T06:26:49Z")

</div>

Hello, In Ruby 1.8, I was able to start the Ruby interpreter using ruby\_run(): char\* file = “foobar.rb”; ruby\_script(file); rb\_load\_file(file); ruby\_run(); // start the interpreter In Ruby 1.9, there is a ruby\_run\_…

---

## [OG \[PATCH\]: Alphabetize the setting listing - should help finding our way around?](https://www.ruby-forum.com/t/og-patch-alphabetize-the-setting-listing-should-help-finding-our-way-around/117022)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 1\
**Last updated:** [October 12, 2007, 10:22am UTC](https://www.ruby-forum.com/t/og-patch-alphabetize-the-setting-listing-should-help-finding-our-way-around/117022 "2007-10-12T10:22:21Z")

</div>

Alphabetize the setting listing - should help finding our way around?

---

## [How to UNDO ruby script/generate model table and migration](https://www.ruby-forum.com/t/how-to-undo-ruby-script-generate-model-table-and-migration/114600)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/how-to-undo-ruby-script-generate-model-table-and-migration/114600 "2007-09-17T17:31:48Z")

</div>

Let’s say I did the C:\\rails\\depot\> ruby script/generate model line\_item and then forgot to modify the 007\_create\_line\_items.rb to add the table fields, but have done the C:\\rails\\depot\> rake db:migrate so in this …

---

## [Ruby2CExtension 0.2.0 -- Now with optimizations](https://www.ruby-forum.com/t/ruby2cextension-0-2-0-now-with-optimizations/106836)

<div class="topic-metadata">

**Author:** [@Dominik\_B](https://www.ruby-forum.com/u/Dominik_B)\
**Replies:** 1\
**Last updated:** [June 14, 2007, 3:32pm UTC](https://www.ruby-forum.com/t/ruby2cextension-0-2-0-now-with-optimizations/106836 "2007-06-14T15:32:35Z")

</div>

I am happy to announce the release of Ruby2CExtension 0.2.0. Ruby2CExtension is a Ruby to C extension translator/compiler. It takes any Ruby source file, parses it using Ruby’s builtin parser and then translates the a…

---

## [\[noob\] params vs query string](https://www.ruby-forum.com/t/noob-params-vs-query-string/55211)

<div class="topic-metadata">

**Author:** [@kevin\_finn](https://www.ruby-forum.com/u/kevin_finn)\
**Replies:** 1\
**Last updated:** [March 30, 2006, 2:08pm UTC](https://www.ruby-forum.com/t/noob-params-vs-query-string/55211 "2006-03-30T14:08:06Z")

</div>

We’ve got a lot of existing legacy systems, and as a simple proof-of-concept I’m trying to get rails to work as an extension for these systems in a relatively transparent way. I’ve got rails running on another server…

---

## [GNU Radio presentation at Virginia Tech, Monday](https://www.ruby-forum.com/t/gnu-radio-presentation-at-virginia-tech-monday/245459)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [May 31, 2013, 2:42pm UTC](https://www.ruby-forum.com/t/gnu-radio-presentation-at-virginia-tech-monday/245459 "2013-05-31T14:42:38Z")

</div>

Hi everyone, We’ve been holding GNU Radio Hackfests every now and then in the past. These are meant for the main, core developers to get together and develop new material and features, fix bugs, and figure out where w…

---

## [Problem passing id of parent model to child](https://www.ruby-forum.com/t/problem-passing-id-of-parent-model-to-child/224175)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [November 2, 2012, 9:40am UTC](https://www.ruby-forum.com/t/problem-passing-id-of-parent-model-to-child/224175 "2012-11-02T09:40:20Z")

</div>

Hey fellas, I have an Organization model with many projects. I have a link to a new project from the organization’s show view, like so: new\_organization\_project\_path (@organization). I was hoping Rails would get the…

---

## [Does it really achieve the productivity advantages it claims?](https://www.ruby-forum.com/t/does-it-really-achieve-the-productivity-advantages-it-claims/219595)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [May 9, 2012, 11:48am UTC](https://www.ruby-forum.com/t/does-it-really-achieve-the-productivity-advantages-it-claims/219595 "2012-05-09T11:48:59Z")

</div>

Does it really achieve the productivity advantages it claims?

---

## [Join this code reading study group - already 20+ members](https://www.ruby-forum.com/t/join-this-code-reading-study-group-already-20-members/219199)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 25, 2012, 7:19am UTC](https://www.ruby-forum.com/t/join-this-code-reading-study-group-already-20-members/219199 "2012-04-25T07:19:41Z")

</div>

If you’re like me you want to get into the habit of reading source code but everytime you do you just end up stumped and give up. If that sounds familiar then you will probably want to join the study group im setting …

---

## [Why doesn't "puts(4 or 5)" work?](https://www.ruby-forum.com/t/why-doesnt-puts-4-or-5-work/217841)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 14, 2012, 8:03pm UTC](https://www.ruby-forum.com/t/why-doesnt-puts-4-or-5-work/217841 "2012-03-14T20:03:48Z")

</div>

The following code works: puts(4 || 5) It prints “4”, as expected. But when I write… puts(4 or 5) …Ruby complains about some syntax error. Why? I thought the only difference between “||” and “or” is their precedenc…

---

## [Each returns just last array](https://www.ruby-forum.com/t/each-returns-just-last-array/216821)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 15, 2012, 11:51am UTC](https://www.ruby-forum.com/t/each-returns-just-last-array/216821 "2012-02-15T11:51:10Z")

</div>

Hello, I was testing a only string, and split it to get a array, I make a .each, but when I put to insert, it just insert the last index. emails\_controller.rb emails = params\[ :email \]\[ :email \].split( “;” ) @e = ema…

---

## [Ruby programming problem](https://www.ruby-forum.com/t/ruby-programming-problem/215632)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 11, 2012, 10:47pm UTC](https://www.ruby-forum.com/t/ruby-programming-problem/215632 "2012-01-11T22:47:27Z")

</div>

I just started to teach myself ruby as a first language from Chris Pines’s book. There is a exercise to write a program that will translate arabic numbers to old style roman numbers. I have completed the exercise and …

---

## [Counter gem out there?](https://www.ruby-forum.com/t/counter-gem-out-there/210533)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 10, 2011, 8:53pm UTC](https://www.ruby-forum.com/t/counter-gem-out-there/210533 "2011-08-10T20:53:45Z")

</div>

Hi, My application is gradually being refined and it is becoming necessary to provide some statistics. I don’t really want to add all of these into the main application logic since it is not critical. I would like …

---

## [Wrong time in application](https://www.ruby-forum.com/t/wrong-time-in-application/205723)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 14, 2011, 11:44am UTC](https://www.ruby-forum.com/t/wrong-time-in-application/205723 "2011-04-14T11:44:52Z")

</div>

hey guys, i’ve got a problem and i really don’t know how to solve it. when i’m creating a new dataset in my application, the created\_at and updated\_at time will be saved in UTF Time (+000). in my environment.rb i set…

---

## [Quick question about try\_files](https://www.ruby-forum.com/t/quick-question-about-try-files/201461)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 8, 2011, 2:18am UTC](https://www.ruby-forum.com/t/quick-question-about-try-files/201461 "2011-01-08T02:18:26Z")

</div>

Hello, all. nginx version: nginx/0.7.67 This works great to look first in fast local storage, and then fall back to slower storage for older archives: location ^~ /providers/ { error\_page 404 = @archives; log\_no…

---

## [Re: Newbie question on USRP2, synchronization done by the FPGA?,](https://www.ruby-forum.com/t/re-newbie-question-on-usrp2-synchronization-done-by-the-fpga/194294)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 4\
**Last updated:** [September 2, 2010, 3:35am UTC](https://www.ruby-forum.com/t/re-newbie-question-on-usrp2-synchronization-done-by-the-fpga/194294 "2010-09-02T03:35:12Z")

</div>

Hi, Thanks for the reply. I guess I am just trying to better understand this diagram: I understand what the decimating filters are doing, but I’m a little unclear about the NCO. D…

---

## [Re: interfacing a DSP array card to USRP2](https://www.ruby-forum.com/t/re-interfacing-a-dsp-array-card-to-usrp2/186085)

<div class="topic-metadata">

**Author:** [@fmalem](https://www.ruby-forum.com/u/fmalem)\
**Replies:** 4\
**Last updated:** [April 1, 2010, 8:11am UTC](https://www.ruby-forum.com/t/re-interfacing-a-dsp-array-card-to-usrp2/186085 "2010-04-01T08:11:00Z")

</div>

Hi, From: Jeff B. removed\_email\_address@domain.invalid Matt- We’re working on a project at Signalogic to interface one of our DSP array PCIe cards to the USRP2. This would ?\>provide a way for one or more TI DSP…

---

## [Rails error](https://www.ruby-forum.com/t/rails-error/183677)

<div class="topic-metadata">

**Author:** [@sseung](https://www.ruby-forum.com/u/sseung)\
**Replies:** 4\
**Last updated:** [February 18, 2010, 6:15pm UTC](https://www.ruby-forum.com/t/rails-error/183677 "2010-02-18T18:15:53Z")

</div>

I was following a tutorial on ruby on rails and i get this error whenever i try to setup a rails project. Any idea whats wrong? C:\\Ruby19\> rails library C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-1.3.1/lib/acti…

---

## [Follow TCP Stream in Ruby](https://www.ruby-forum.com/t/follow-tcp-stream-in-ruby/181990)

<div class="topic-metadata">

**Author:** [@THAKUR\_PRASHANT\_SIN](https://www.ruby-forum.com/u/THAKUR_PRASHANT_SIN)\
**Replies:** 4\
**Last updated:** [January 21, 2010, 11:01am UTC](https://www.ruby-forum.com/t/follow-tcp-stream-in-ruby/181990 "2010-01-21T11:01:46Z")

</div>

Hi, I am looking for implementing “Follow TCP stream” functionality of Wireshark in Ruby. Any idea are welcome ? Thanks & Regards, Prashant

---

## [Where is usrp2\_make\_source\_32fc actually defined?](https://www.ruby-forum.com/t/where-is-usrp2-make-source-32fc-actually-defined/181816)

<div class="topic-metadata">

**Author:** [@virgin](https://www.ruby-forum.com/u/virgin)\
**Replies:** 4\
**Last updated:** [January 18, 2010, 10:17pm UTC](https://www.ruby-forum.com/t/where-is-usrp2-make-source-32fc-actually-defined/181816 "2010-01-18T22:17:33Z")

</div>

I’ve been trying to create a usrp2 dual source class for a number of weeks now, and I’ve come to realize there is something fundamental about this development environment that I don’t understand. Basically i’ve been i…

---

## [Compile architecture-specific, portable ruby](https://www.ruby-forum.com/t/compile-architecture-specific-portable-ruby/178238)

<div class="topic-metadata">

**Author:** [@Sean\_OSDonnell](https://www.ruby-forum.com/u/Sean_OSDonnell)\
**Replies:** 4\
**Last updated:** [November 1, 2009, 1:56am UTC](https://www.ruby-forum.com/t/compile-architecture-specific-portable-ruby/178238 "2009-11-01T01:56:07Z")

</div>

Hello, I am trying to put together a compiled, standalone version of ruby that I can drop into a user directory from a portable drive. Think: classroom setting with twenty, un-networked OSX 10.4/PPC machines. I want …

---

## [Help with abstracting ActiveRecord models](https://www.ruby-forum.com/t/help-with-abstracting-activerecord-models/174383)

<div class="topic-metadata">

**Author:** [@Jeff\_Larkin](https://www.ruby-forum.com/u/Jeff_Larkin)\
**Replies:** 4\
**Last updated:** [August 27, 2009, 12:33am UTC](https://www.ruby-forum.com/t/help-with-abstracting-activerecord-models/174383 "2009-08-27T00:33:52Z")

</div>

Hi all. I’m looking for suggestions of how other people have implemented a situation like the following. I’d like to create a base activerecord model, let’s call it Widget, from which other classes are based. I’d l…

---

## [\[BBN\_USRP2\] Barker (de)spreading](https://www.ruby-forum.com/t/bbn-usrp2-barker-de-spreading/167974)

<div class="topic-metadata">

**Author:** [@CostantiniS\_Andrea](https://www.ruby-forum.com/u/CostantiniS_Andrea)\
**Replies:** 4\
**Last updated:** [May 20, 2009, 8:56pm UTC](https://www.ruby-forum.com/t/bbn-usrp2-barker-de-spreading/167974 "2009-05-20T20:56:37Z")

</div>

Dear all (especially people working on BBN code with USRP2), I know that some of you are working on simple\_mac, higher modulation rates and so on. From my side I decided to spend some more time in understanding why th…

---

## [Help on Ruby Segmentation Problem](https://www.ruby-forum.com/t/help-on-ruby-segmentation-problem/165961)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 4\
**Last updated:** [April 20, 2009, 2:30pm UTC](https://www.ruby-forum.com/t/help-on-ruby-segmentation-problem/165961 "2009-04-20T14:30:40Z")

</div>

hi all… I extend ruby with C. I m new to these kind of stuffs… I integrate my dll namely prov.all into C program namely prov.c afterthat i call those c functions through ruby . irb(main):001:0\> require ‘prov1’ =\> t…

---

## [Fized size record from a string](https://www.ruby-forum.com/t/fized-size-record-from-a-string/162493)

<div class="topic-metadata">

**Author:** [@lucac81](https://www.ruby-forum.com/u/lucac81)\
**Replies:** 4\
**Last updated:** [March 10, 2009, 3:18pm UTC](https://www.ruby-forum.com/t/fized-size-record-from-a-string/162493 "2009-03-10T15:18:10Z")

</div>

Hello, I’m new to Ruby, and I’m learning it with a project that also involves rails… I’m stuck with an apparently simple problem, I receive from a form a String and I need to extend it to a fixed char number (it must …

---

## [ActiveRecord: Can't store a class derived from AR::Base](https://www.ruby-forum.com/t/activerecord-cant-store-a-class-derived-from-ar-base/157400)

<div class="topic-metadata">

**Author:** [@Daniel\_VSSSSlkerts](https://www.ruby-forum.com/u/Daniel_VSSSSlkerts)\
**Replies:** 4\
**Last updated:** [January 11, 2009, 9:06pm UTC](https://www.ruby-forum.com/t/activerecord-cant-store-a-class-derived-from-ar-base/157400 "2009-01-11T21:06:27Z")

</div>

Hi, try to use ActiveRecord for my little standalone application, without the rails environment. Here is my first try 8\<-------------------------------------------------- Main if FILE == $0 then ActiveRecord::Base.e…

---

## [How to get missing months](https://www.ruby-forum.com/t/how-to-get-missing-months/145145)

<div class="topic-metadata">

**Author:** [@srinathbtech](https://www.ruby-forum.com/u/srinathbtech)\
**Replies:** 4\
**Last updated:** [August 7, 2008, 3:18pm UTC](https://www.ruby-forum.com/t/how-to-get-missing-months/145145 "2008-08-07T15:18:00Z")

</div>

Hi, i am using a Rails count method like this : start\_date = Date.civil(y=2008,m=1) @users\_count = User.count(:all, :conditions =\> \[“last\_updated BETWEEN ? and ?”, start\_date.\>\>(Date.today.month - 8), Date.today\], :g…

---

## [Creating a REST Client](https://www.ruby-forum.com/t/creating-a-rest-client/137341)

<div class="topic-metadata">

**Author:** [@sameera](https://www.ruby-forum.com/u/sameera)\
**Replies:** 4\
**Last updated:** [July 22, 2008, 3:55am UTC](https://www.ruby-forum.com/t/creating-a-rest-client/137341 "2008-07-22T03:55:44Z")

</div>

Hi all, I would like to create a RESTful rails application. My idea is to have 2 web sites. 1 - REST server. This will have all the methods (Ex: getName()) 2 - REST client. This will be another website which will cal…

---

## [Rails - problema prima connessione mysql](https://www.ruby-forum.com/t/rails-problema-prima-connessione-mysql/139862)

<div class="topic-metadata">

**Author:** [@aldoitalo](https://www.ruby-forum.com/u/aldoitalo)\
**Replies:** 4\
**Last updated:** [June 8, 2008, 5:55pm UTC](https://www.ruby-forum.com/t/rails-problema-prima-connessione-mysql/139862 "2008-06-08T17:55:49Z")

</div>

sto imparando rails su osX 10.5, volevo testare la mia prima connessione mysql, quindi ho creato il db e configurato database.yml della mia applicazione in questo modo: development: adapter: mysql database: depot\_deve…

---

## [Sobre HABTM Checkboxes](https://www.ruby-forum.com/t/sobre-habtm-checkboxes/138314)

<div class="topic-metadata">

**Author:** [@inquba](https://www.ruby-forum.com/u/inquba)\
**Replies:** 4\
**Last updated:** [May 22, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/sobre-habtm-checkboxes/138314 "2008-05-22T17:20:16Z")

</div>

Saludos a todos los miembros de este foro y lista. He seguido al pie de la letra el video tutorial para realizar una lista con HABTM ubicado en #17 HABTM Checkboxes - RailsCasts Pude realizar los checkboxes sin proble…

---

## [Principle of le,err i mean biggest surprise!?](https://www.ruby-forum.com/t/principle-of-le-err-i-mean-biggest-surprise/137116)

<div class="topic-metadata">

**Author:** [@globalrev](https://www.ruby-forum.com/u/globalrev)\
**Replies:** 4\
**Last updated:** [May 10, 2008, 2:12pm UTC](https://www.ruby-forum.com/t/principle-of-le-err-i-mean-biggest-surprise/137116 "2008-05-10T14:12:22Z")

</div>

puts “Input sentence:” sentence = gets.split() puts temp = sentence phrase = sentence puts “:”, temp, sentence, phrase phrase\[0\] = temp\[1\] puts “oink”, phrase, temp when changing phrase\[0\] this will change temp a…

---

## [.htaccess to pass/ignore directory](https://www.ruby-forum.com/t/htaccess-to-pass-ignore-directory/134903)

<div class="topic-metadata">

**Author:** [@karlshea](https://www.ruby-forum.com/u/karlshea)\
**Replies:** 4\
**Last updated:** [April 16, 2008, 10:00am UTC](https://www.ruby-forum.com/t/htaccess-to-pass-ignore-directory/134903 "2008-04-16T10:00:45Z")

</div>

I have a subdomain, blog.mysite.com, that points to /home/myname/ public\_html/blog My rails app sits at /home/myname/myrailsapp I have a symlink from /home/myname/public\_html → /home/myname/ myrailsapp/public And an…

---

## [Annoying find thingy](https://www.ruby-forum.com/t/annoying-find-thingy/134549)

<div class="topic-metadata">

**Author:** [@Col\_W](https://www.ruby-forum.com/u/Col_W)\
**Replies:** 4\
**Last updated:** [April 12, 2008, 2:10am UTC](https://www.ruby-forum.com/t/annoying-find-thingy/134549 "2008-04-12T02:10:02Z")

</div>

I want to know which thingy is centered on a given city. Both thingy and city have a lat and a lng attribute, ad lat and lng are both floats in the mysql database. knowing how clever ActiveRecord::Base is I wanted to…

---

## [Serving files from public](https://www.ruby-forum.com/t/serving-files-from-public/130089)

<div class="topic-metadata">

**Author:** [@addywaddy](https://www.ruby-forum.com/u/addywaddy)\
**Replies:** 4\
**Last updated:** [February 25, 2008, 12:40pm UTC](https://www.ruby-forum.com/t/serving-files-from-public/130089 "2008-02-25T12:40:07Z")

</div>

Hi, I am building a rails app which supports accounts based on subdomain names. I want to serve files in public with respect to the subdomain name. For example: url: foo.myapp.com should deliver public/foo/images/…

---

## [How to get the name of parent object inside child object?](https://www.ruby-forum.com/t/how-to-get-the-name-of-parent-object-inside-child-object/127772)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 4\
**Last updated:** [February 2, 2008, 6:29am UTC](https://www.ruby-forum.com/t/how-to-get-the-name-of-parent-object-inside-child-object/127772 "2008-02-02T06:29:26Z")

</div>

how to get the name of parent object inside child object without passing any arguments to child object(global variable is not allowed) ?

---

## [Looking for a good ruby book](https://www.ruby-forum.com/t/looking-for-a-good-ruby-book/126525)

<div class="topic-metadata">

**Author:** [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Replies:** 4\
**Last updated:** [January 19, 2008, 1:31am UTC](https://www.ruby-forum.com/t/looking-for-a-good-ruby-book/126525 "2008-01-19T01:31:07Z")

</div>

I’m pretty solid on the rails framework, but I would like to focus on the actually ruby language. does anyone know of any good ruby books? Preferably for the rails developer?

---

## [Needing help using Rake from within a Ruby program](https://www.ruby-forum.com/t/needing-help-using-rake-from-within-a-ruby-program/126425)

<div class="topic-metadata">

**Author:** [@roxah](https://www.ruby-forum.com/u/roxah)\
**Replies:** 4\
**Last updated:** [January 18, 2008, 1:40pm UTC](https://www.ruby-forum.com/t/needing-help-using-rake-from-within-a-ruby-program/126425 "2008-01-18T13:40:30Z")

</div>

Hello all, I’m trying to invoke rake from within one of my Unit Test files to setup a test database before running tests and I’m having some trouble doing so. I try the following code in a file that is located in th…

---

## [TextMate Sidebar](https://www.ruby-forum.com/t/textmate-sidebar/122392)

<div class="topic-metadata">

**Author:** [@meekish](https://www.ruby-forum.com/u/meekish)\
**Replies:** 4\
**Last updated:** [December 7, 2007, 10:22pm UTC](https://www.ruby-forum.com/t/textmate-sidebar/122392 "2007-12-07T22:22:23Z")

</div>

Hey David, I just watched the RubyConf recording of your RSpec session and noticed that you’re using a modified version of TextMate that uses a sidebar instead of a project drawer. Where did you find that mod?

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

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