# Top

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

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

---

## [Rubygems local install?](https://www.ruby-forum.com/t/rubygems-local-install/69355)

<div class="topic-metadata">

**Author:** [@fletch](https://www.ruby-forum.com/u/fletch)\
**Replies:** 2\
**Last updated:** [September 20, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/rubygems-local-install/69355 "2006-09-20T20:15:09Z")

</div>

Hi, I’m trying to use a .gem on a machine that I do not have root permissions on. I’ve been following http://wiki.rubyonrails.org/rails/pages/HowToUseMultipleGemRepositories to install gem locally, but no matter what …

---

## [Validates\_associated bug?](https://www.ruby-forum.com/t/validates-associated-bug/225915)

<div class="topic-metadata">

**Author:** [@jemminger](https://www.ruby-forum.com/u/jemminger)\
**Replies:** 2\
**Last updated:** [August 19, 2006, 7:08am UTC](https://www.ruby-forum.com/t/validates-associated-bug/225915 "2006-08-19T07:08:17Z")

</div>

i seem to be experiencing a bug where rails tells me that my organization object’s associated credit card is invalid (activerecord validation-wise invalid), when i know it to be valid. this happens only if i tell the…

---

## [Installing fastercsv into vendor directory](https://www.ruby-forum.com/t/installing-fastercsv-into-vendor-directory/65103)

<div class="topic-metadata">

**Author:** [@resgraph](https://www.ruby-forum.com/u/resgraph)\
**Replies:** 2\
**Last updated:** [August 16, 2006, 7:24am UTC](https://www.ruby-forum.com/t/installing-fastercsv-into-vendor-directory/65103 "2006-08-16T07:24:01Z")

</div>

I am using fastercsv to process input files. I want to install it into my app/vendor directory as a gem (I guess). I used ‘rake rails:freeze:gems’ to get rails into the vender dir. But I cannot find any doc on how to …

---

## [Windows build with Visual Studio 2005 - some success](https://www.ruby-forum.com/t/windows-build-with-visual-studio-2005-some-success/64955)

<div class="topic-metadata">

**Author:** [@fangheuschrecke](https://www.ruby-forum.com/u/fangheuschrecke)\
**Replies:** 2\
**Last updated:** [August 15, 2006, 2:21pm UTC](https://www.ruby-forum.com/t/windows-build-with-visual-studio-2005-some-success/64955 "2006-08-15T14:21:01Z")

</div>

Hi all, first up, big thanks to Dave for doing the hard work of porting Lucene. I have come to love Lucene through my Java work and was extremely pleased to find the Ferret project for Ruby. Now, I am tinkering with …

---

## [Turn element hidden by default (ajax question)](https://www.ruby-forum.com/t/turn-element-hidden-by-default-ajax-question/98858)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 2\
**Last updated:** [July 18, 2006, 7:53pm UTC](https://www.ruby-forum.com/t/turn-element-hidden-by-default-ajax-question/98858 "2006-07-18T19:53:51Z")

</div>

(this is my first post on the ruby forum. If this is not the right place for this type of question please let me know). Ajax question I have a checkbox that toggles the visibility of another element (a text field) wi…

---

## [Ruby Net::LDAP version 0.0.2](https://www.ruby-forum.com/t/ruby-net-ldap-version-0-0-2/98070)

<div class="topic-metadata">

**Author:** [@blackhedd](https://www.ruby-forum.com/u/blackhedd)\
**Replies:** 2\
**Last updated:** [July 13, 2006, 2:28am UTC](https://www.ruby-forum.com/t/ruby-net-ldap-version-0-0-2/98070 "2006-07-13T02:28:05Z")

</div>

We’re pleased to announce version 0.0.2 of Net::LDAP, the first pure-Ruby LDAP library. Net::LDAP intends to be a feature-complete LDAP client which can access as much as possible of the functionality of the most-used…

---

## [How to create directory in file system](https://www.ruby-forum.com/t/how-to-create-directory-in-file-system/97445)

<div class="topic-metadata">

**Author:** [@jeffl](https://www.ruby-forum.com/u/jeffl)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 3:42am UTC](https://www.ruby-forum.com/t/how-to-create-directory-in-file-system/97445 "2006-07-07T03:42:27Z")

</div>

This seems like it should be an easy thing to figure out, but I’ve been Googling for a half hour, plus looked in the Pickaxe book, but can’t seem to find an answer, so please forgive a really newbie-ish question, but… …

---

## [Clear all sessions keys](https://www.ruby-forum.com/t/clear-all-sessions-keys/97038)

<div class="topic-metadata">

**Author:** [@Arnaud\_G](https://www.ruby-forum.com/u/Arnaud_G)\
**Replies:** 2\
**Last updated:** [July 4, 2006, 1:36pm UTC](https://www.ruby-forum.com/t/clear-all-sessions-keys/97038 "2006-07-04T13:36:46Z")

</div>

hi list, how to iterate over the Session object to reset all session keys (after a logout for example) session\[‘something’\]=nil session\[‘another\_key’\]=nil … is there something like session.keys{|aSessionKey| sessi…

---

## [Agile WebDev 2nd Edition: PDF free for 1st edition owners?](https://www.ruby-forum.com/t/agile-webdev-2nd-edition-pdf-free-for-1st-edition-owners/94741)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [May 12, 2006, 5:13pm UTC](https://www.ruby-forum.com/t/agile-webdev-2nd-edition-pdf-free-for-1st-edition-owners/94741 "2006-05-12T17:13:29Z")

</div>

Hi all I’m just wondering if I get the 2nd version of “Agile Web D. with Ruby on Rails” for free if I already own the 1st edition paperback/PDF combo? And anyway: I wanted to update my first edition, but I can’t find…

---

## [Restrict specific model columns per user](https://www.ruby-forum.com/t/restrict-specific-model-columns-per-user/58497)

<div class="topic-metadata">

**Author:** [@jjrussell](https://www.ruby-forum.com/u/jjrussell)\
**Replies:** 2\
**Last updated:** [April 23, 2006, 4:15pm UTC](https://www.ruby-forum.com/t/restrict-specific-model-columns-per-user/58497 "2006-04-23T16:15:56Z")

</div>

Does anyone know a way to restrict access to specific columns in the model to specific users? My plan was to use the session hash to check the permissions of the logged in user in an overridden method of the same nam…

---

## [Problems with STI in has\_many/belongs\_to in Rails 1.1](https://www.ruby-forum.com/t/problems-with-sti-in-has-many-belongs-to-in-rails-1-1/56708)

<div class="topic-metadata">

**Author:** [@lori](https://www.ruby-forum.com/u/lori)\
**Replies:** 2\
**Last updated:** [April 4, 2006, 12:54am UTC](https://www.ruby-forum.com/t/problems-with-sti-in-has-many-belongs-to-in-rails-1-1/56708 "2006-04-04T00:54:04Z")

</div>

I have a problem that surfaced in my attempt to upgrade my application to Rails 1.1. We have a STI model on the “belongs\_to” side of a has\_many/belongs\_to relationship. All my unit tests for this model pass, and the …

---

## [Re: Rails 1.1?](https://www.ruby-forum.com/t/re-rails-1-1/89626)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [March 29, 2006, 4:56am UTC](https://www.ruby-forum.com/t/re-rails-1-1/89626 "2006-03-29T04:56:32Z")

</div>

But isn’t it recommended to use a frozen version of Rails, at least when using shared hosting. If most Typo users use frozen Rails the size of the Typo distribution wouldn’t matter that much. But if there’s not that…

---

## [Routes and url\_for](https://www.ruby-forum.com/t/routes-and-url-for/74394)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [December 22, 2005, 11:54pm UTC](https://www.ruby-forum.com/t/routes-and-url-for/74394 "2005-12-22T23:54:41Z")

</div>

Hi, All. I try to relocate controllers. Admin space controlers moved to /app/controllers/admin and user space controllers to /app/controllers/user In routes.rb I use map.connect ‘search’, :controller =\> ‘user/search…

---

## [ANN: attr\_immutable plugin](https://www.ruby-forum.com/t/ann-attr-immutable-plugin/48988)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 2\
**Last updated:** [November 28, 2005, 1:43pm UTC](https://www.ruby-forum.com/t/ann-attr-immutable-plugin/48988 "2005-11-28T13:43:51Z")

</div>

Hiho, Thought this might of some use to someone out there. John DESCRIPTION: attr\_immutable is simple plugin for Rails 0.14.3+ which will cause attributes flagged as immutable to be just that: immutable. The att…

---

## [Rails Job Openings in Phoenix, AZ](https://www.ruby-forum.com/t/rails-job-openings-in-phoenix-az/48310)

<div class="topic-metadata">

**Author:** [@jade.meskill](https://www.ruby-forum.com/u/jade.meskill)\
**Replies:** 2\
**Last updated:** [November 18, 2005, 8:02pm UTC](https://www.ruby-forum.com/t/rails-job-openings-in-phoenix-az/48310 "2005-11-18T20:02:37Z")

</div>

Description We are currently seeking experienced programmers / web developers. Initial focus will be on new projects utilizing Ruby On Rails. Benefits Salaried position, $30-40k/year (DOE) Medical and dental insuran…

---

## [Compilation under Windows](https://www.ruby-forum.com/t/compilation-under-windows/225345)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [January 1, 2013, 7:14pm UTC](https://www.ruby-forum.com/t/compilation-under-windows/225345 "2013-01-01T19:14:39Z")

</div>

Hi, I’m trying to compile gnuradio under Win7 64 bit. boost-chrono seems to be missing from the Cmake requirements, so I added it. But there is a further glitch when \_gnuradio\_core\_filter is executed during compilati…

---

## [\[URGENT\] Need someone to do assessment - will pay $10!](https://www.ruby-forum.com/t/urgent-need-someone-to-do-assessment-will-pay-10/224178)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [November 2, 2012, 2:13am UTC](https://www.ruby-forum.com/t/urgent-need-someone-to-do-assessment-will-pay-10/224178 "2012-11-02T02:13:59Z")

</div>

Hi, I’ve got an assessment/assignment for tomorrow. It’s just basic Ruby coding which I have yet to get a good grasp on. It’s basic stuff, I promise! Not asking for anything to be coded up from ground up. Most of it …

---

## [Routing error for stylesheets in rails 3.0](https://www.ruby-forum.com/t/routing-error-for-stylesheets-in-rails-3-0/221210)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [July 5, 2012, 8:01pm UTC](https://www.ruby-forum.com/t/routing-error-for-stylesheets-in-rails-3-0/221210 "2012-07-05T20:01:47Z")

</div>

Hi, I added a css file in public/stylesheets folder (I use Rails 3.0 so no asset pipeline) and included it in my views by “\<%= stylesheet\_link\_tag ‘ss’, :media =\> :all %\>” But I get a routing error on loading my page…

---

## [Ruby Code help](https://www.ruby-forum.com/t/ruby-code-help/214330)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 29, 2011, 6:44am UTC](https://www.ruby-forum.com/t/ruby-code-help/214330 "2011-11-29T06:44:27Z")

</div>

I am trying to print out the Garbage Collection behavior. I tried the following code:– include ObjectSpace puts ObjectSpace.statistics but its giving me an error like this:– runtest.rb:6: undefined method \`statistic…

---

## [Multi dimension array](https://www.ruby-forum.com/t/multi-dimension-array/213181)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [October 26, 2011, 9:15am UTC](https://www.ruby-forum.com/t/multi-dimension-array/213181 "2011-10-26T09:15:55Z")

</div>

a=\[\[“doc1”,\[“hi”,“bye”,“guy”\],\[\],\[\],\[\]\],\[“doc2”,\[“bye”,“now”,“is”,“hi”,“hi”,“hi”\],\[\],\[\],\[\]\],\[“doc3”,\[“bye”,“now”,“is”,“hi”,“hi”,“hi”,“why”,“go”,“guy”\],\[\],\[\],\[\]\]\] i have this array i’d like to multiply the 2nd inner arra…

---

## [OS X 10.6, x86-64 built from GIT fails at 'make check'](https://www.ruby-forum.com/t/os-x-10-6-x86-64-built-from-git-fails-at-make-check/198186)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 29, 2010, 6:21pm UTC](https://www.ruby-forum.com/t/os-x-10-6-x86-64-built-from-git-fails-at-make-check/198186 "2010-10-29T18:21:19Z")

</div>

Hi, I am trying to build and install gnuradio from GIT repository on my OS X 10.6. After issuing the standard git pull, ./bootstrap, ./configure, and make, I run ‘make check’, but it fails early on without providing …

---

## [Combining filters](https://www.ruby-forum.com/t/combining-filters/193297)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 4\
**Last updated:** [August 16, 2010, 2:03am UTC](https://www.ruby-forum.com/t/combining-filters/193297 "2010-08-16T02:03:46Z")

</div>

I have an application that’s running on some fairly “spartan” hardware, so I’m trying to find ways to make the flow-graph more computationally efficient, so that I have more headroom for inevitable feature creep. Par…

---

## [Web service client code layout -- standard practice](https://www.ruby-forum.com/t/web-service-client-code-layout-standard-practice/184305)

<div class="topic-metadata">

**Author:** [@smarter](https://www.ruby-forum.com/u/smarter)\
**Replies:** 4\
**Last updated:** [March 1, 2010, 2:45pm UTC](https://www.ruby-forum.com/t/web-service-client-code-layout-standard-practice/184305 "2010-03-01T14:45:44Z")

</div>

Hi: Where do you all think the web service client code (for a REST service) access fit in a Rails App? Models are what Controllers call and should probably do so now also even though its Non-Active Record. However, …

---

## [Route not generated, what have I missed?](https://www.ruby-forum.com/t/route-not-generated-what-have-i-missed/175253)

<div class="topic-metadata">

**Author:** [@brianp](https://www.ruby-forum.com/u/brianp)\
**Replies:** 4\
**Last updated:** [September 10, 2009, 6:33pm UTC](https://www.ruby-forum.com/t/route-not-generated-what-have-i-missed/175253 "2009-09-10T18:33:37Z")

</div>

Hey Guys, I’m basing this off of the book Simply Rails 2 by Patrick Lenz. I’ve got my word model: word.rb has\_many :votes my vote mode; vote.rb belongs\_to :word, :counter\_cache =\> true my routes routes.rb map.reso…

---

## [Stuck on silly nil issue](https://www.ruby-forum.com/t/stuck-on-silly-nil-issue/174331)

<div class="topic-metadata">

**Author:** [@jegsjegs](https://www.ruby-forum.com/u/jegsjegs)\
**Replies:** 4\
**Last updated:** [August 25, 2009, 9:42am UTC](https://www.ruby-forum.com/t/stuck-on-silly-nil-issue/174331 "2009-08-25T09:42:04Z")

</div>

Banging my head on the desk over this… I’ll try to generalize my issue down to this scenario. Since I remember always using cars back in programming classes here it goes… cars\[“yugo”\].status\[“available”\] = 2 Some thi…

---

## [Process Leak after using Session module](https://www.ruby-forum.com/t/process-leak-after-using-session-module/168976)

<div class="topic-metadata">

**Author:** [@pbhandar](https://www.ruby-forum.com/u/pbhandar)\
**Replies:** 4\
**Last updated:** [May 28, 2009, 10:02pm UTC](https://www.ruby-forum.com/t/process-leak-after-using-session-module/168976 "2009-05-28T22:02:34Z")

</div>

Hi, This script has a process leak with a bash session being left open every time I run it. I can’t find a way to close the bash object after I am done. Docs don’t explicitly don’t cover this… or I am missing somethi…

---

## [Socket issue in ruby 1.8.6 in freebsd?](https://www.ruby-forum.com/t/socket-issue-in-ruby-1-8-6-in-freebsd/159857)

<div class="topic-metadata">

**Author:** [@Saku\_Y](https://www.ruby-forum.com/u/Saku_Y)\
**Replies:** 4\
**Last updated:** [February 23, 2009, 8:25pm UTC](https://www.ruby-forum.com/t/socket-issue-in-ruby-1-8-6-in-freebsd/159857 "2009-02-23T20:25:08Z")

</div>

WORKING: (telnet 62.95.30.77 echo) getuid(0x2,0x1,0x6,0xff,0x0,0x0) = 0 (0x0) setuid(0x0,0x1,0x6,0xff,0x0,0x0) = 0 (0x0) setsockopt(0x3,0x0,0x3,0x8062020,0x4,0x0) = 0 (0x0) connect(3,{ AF\_INET 62.95.30.77:7 },16) ERR…

---

## [Is it possible to determine a page request from a refresh](https://www.ruby-forum.com/t/is-it-possible-to-determine-a-page-request-from-a-refresh/148066)

<div class="topic-metadata">

**Author:** [@PeteSalty](https://www.ruby-forum.com/u/PeteSalty)\
**Replies:** 4\
**Last updated:** [September 10, 2008, 3:45am UTC](https://www.ruby-forum.com/t/is-it-possible-to-determine-a-page-request-from-a-refresh/148066 "2008-09-10T03:45:20Z")

</div>

we’re trying to add a feature where we log a view each time a user looks at a particular item (it’s being logged as a database record against the item id). Problem is, if that user refreshes the page we don’t want it …

---

## [On ubuntu, ruby can't find the gems](https://www.ruby-forum.com/t/on-ubuntu-ruby-cant-find-the-gems/146042)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 4\
**Last updated:** [August 17, 2008, 5:21am UTC](https://www.ruby-forum.com/t/on-ubuntu-ruby-cant-find-the-gems/146042 "2008-08-17T05:21:37Z")

</div>

I’m working on Ubuntu 7.10, which presumably does things the Debian way. I have loaded several gems without apparent problem, and I see them sitting there in /var/lib/gems/1.8, which I understand is the Debian place f…

---

## [Getting parameters from the request object](https://www.ruby-forum.com/t/getting-parameters-from-the-request-object/145596)

<div class="topic-metadata">

**Author:** [@fernando](https://www.ruby-forum.com/u/fernando)\
**Replies:** 4\
**Last updated:** [August 13, 2008, 5:00pm UTC](https://www.ruby-forum.com/t/getting-parameters-from-the-request-object/145596 "2008-08-13T17:00:26Z")

</div>

Hi guy’s, I am having trouble getting parameters back from a POST request. I am using GWT on the front end so I do not have any params\[:name\]. request.raw\_post returns: name=hello&date=12&month=07&year=2008&administ…

---

## [Upcase](https://www.ruby-forum.com/t/upcase/144501)

<div class="topic-metadata">

**Author:** [@srijith](https://www.ruby-forum.com/u/srijith)\
**Replies:** 4\
**Last updated:** [July 30, 2008, 1:20pm UTC](https://www.ruby-forum.com/t/upcase/144501 "2008-07-30T13:20:27Z")

</div>

Hi I am having one form there around 30 text field is there.after submitting the form the details should be save in database in capital letter. i tried with CSS text-transform:uppercase; but in frontend it showing c…

---

## [Attachment\_fu: loading objects w/ attachments in batch?](https://www.ruby-forum.com/t/attachment-fu-loading-objects-w-attachments-in-batch/136685)

<div class="topic-metadata">

**Author:** [@dwhsix](https://www.ruby-forum.com/u/dwhsix)\
**Replies:** 4\
**Last updated:** [May 11, 2008, 4:10am UTC](https://www.ruby-forum.com/t/attachment-fu-loading-objects-w-attachments-in-batch/136685 "2008-05-11T04:10:23Z")

</div>

Using the (very nifty) attachment\_fu plugin. It would be very convenient if I could batch-load a lot of my model objects that have attachments, instead of having to load them interactively via a web page. Experiment…

---

## [Delegation question, where I want prototype style delegation](https://www.ruby-forum.com/t/delegation-question-where-i-want-prototype-style-delegation/136768)

<div class="topic-metadata">

**Author:** [@samrus](https://www.ruby-forum.com/u/samrus)\
**Replies:** 4\
**Last updated:** [May 7, 2008, 7:49am UTC](https://www.ruby-forum.com/t/delegation-question-where-i-want-prototype-style-delegation/136768 "2008-05-07T07:49:13Z")

</div>

I want to make an object that behaves like another object would, if that object had had it’s #each method redefined. I can do this with extend(), but that permanently damages the object. I can do it with delegate/meth…

---

## [Help: odd results from many-to-many self-referential relationship with attribute in join table](https://www.ruby-forum.com/t/help-odd-results-from-many-to-many-self-referential-relationship-with-attribute-in-join-table/134037)

<div class="topic-metadata">

**Author:** [@MaddyTheGoose](https://www.ruby-forum.com/u/MaddyTheGoose)\
**Replies:** 4\
**Last updated:** [April 7, 2008, 6:16pm UTC](https://www.ruby-forum.com/t/help-odd-results-from-many-to-many-self-referential-relationship-with-attribute-in-join-table/134037 "2008-04-07T18:16:06Z")

</div>

I’m having an issue with the data returning from a self-referential many-to-many relationship with an attribute in the join table that’s being used to limit the query. I’ll explain what I’m doing below which will then…

---

## [N-levels of nested resources in REST?](https://www.ruby-forum.com/t/n-levels-of-nested-resources-in-rest/131301)

<div class="topic-metadata">

**Author:** [@Fredrik\_K](https://www.ruby-forum.com/u/Fredrik_K)\
**Replies:** 4\
**Last updated:** [March 8, 2008, 11:50am UTC](https://www.ruby-forum.com/t/n-levels-of-nested-resources-in-rest/131301 "2008-03-08T11:50:35Z")

</div>

Hi, I find it would be very convenient to nest resources in two levels, so a member is only sensible as a part of a club, and a fee pament is only sensible in the context of a club and a member. Is it possible to nes…

---

## [Help needed using a regex .sub](https://www.ruby-forum.com/t/help-needed-using-a-regex-sub/120996)

<div class="topic-metadata">

**Author:** [@wpvanpaassen](https://www.ruby-forum.com/u/wpvanpaassen)\
**Replies:** 4\
**Last updated:** [November 23, 2007, 8:04pm UTC](https://www.ruby-forum.com/t/help-needed-using-a-regex-sub/120996 "2007-11-23T20:04:48Z")

</div>

I’m trying to insert a NULL between the first pair of commas in the line below if it’s not already there. Before: PWCLLP-243-00000002,Images\\1\\pwcllp\_243\_00000002.tif, After: PWCLLP-243-00000002,NULL,Images\\1\\pwcllp\_…

---

## [Layouts y Partials](https://www.ruby-forum.com/t/layouts-y-partials/120258)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [November 19, 2007, 5:04pm UTC](https://www.ruby-forum.com/t/layouts-y-partials/120258 "2007-11-19T17:04:31Z")

</div>

Buenos dÃ­as lista, existe la posibilidad de utilizar en un layout una variable? o serÃ­a necesario utilizar un partial? Como es el uso de los partials? No se muy bien como funciona. Gracias y saludos, Melisa

---

## [Hashes](https://www.ruby-forum.com/t/hashes/116140)

<div class="topic-metadata">

**Author:** [@jarvo88](https://www.ruby-forum.com/u/jarvo88)\
**Replies:** 4\
**Last updated:** [October 2, 2007, 9:54pm UTC](https://www.ruby-forum.com/t/hashes/116140 "2007-10-02T21:54:45Z")

</div>

I want to create a large hash kind of information field… basically i have a room (with a specific name, topic, nicknames and id) it might look like this name = room1 topic = room1 topic nicks = \[nick1, nick2, nick3 …

---

## [Date and Time validator, updater](https://www.ruby-forum.com/t/date-and-time-validator-updater/111878)

<div class="topic-metadata">

**Author:** [@Scott\_Parks](https://www.ruby-forum.com/u/Scott_Parks)\
**Replies:** 4\
**Last updated:** [August 13, 2007, 12:50pm UTC](https://www.ruby-forum.com/t/date-and-time-validator-updater/111878 "2007-08-13T12:50:37Z")

</div>

Can someone point me to a date/time validator or updater. I have an event start datetime and an event end datetime. I want to validate that the end datetime is after the start datetime. Figure there is some code or l…

---

## [Newbie: assign values/array to variables](https://www.ruby-forum.com/t/newbie-assign-values-array-to-variables/103695)

<div class="topic-metadata">

**Author:** [@Mark\_V](https://www.ruby-forum.com/u/Mark_V)\
**Replies:** 4\
**Last updated:** [May 9, 2007, 1:14pm UTC](https://www.ruby-forum.com/t/newbie-assign-values-array-to-variables/103695 "2007-05-09T13:14:17Z")

</div>

Hi, Thanks for all the fantastic work that has gone into ruby. Even though I am new it has proved to be very impressive. To my question. I’ve seen the following code: @vara, @varb = “ab,ac,ad,ae”.split(",") the wa…

---

## [Redcloth](https://www.ruby-forum.com/t/redcloth/93070)

<div class="topic-metadata">

**Author:** [@jney](https://www.ruby-forum.com/u/jney)\
**Replies:** 4\
**Last updated:** [April 27, 2007, 7:03am UTC](https://www.ruby-forum.com/t/redcloth/93070 "2007-04-27T07:03:09Z")

</div>

how to format an html string to redcloth format, the opposite function to to\_html ?

---

## [Help with fastercsv](https://www.ruby-forum.com/t/help-with-fastercsv/83822)

<div class="topic-metadata">

**Author:** [@franee](https://www.ruby-forum.com/u/franee)\
**Replies:** 4\
**Last updated:** [February 12, 2007, 12:29pm UTC](https://www.ruby-forum.com/t/help-with-fastercsv/83822 "2007-02-12T12:29:36Z")

</div>

Hi, I have this line in a csv file ==\> RÃ¼ti,CH and Fastercsv takes them as one and not as separate strings. Other entries are ok except for this. Any help would be appreciated. Thanks, franee

---

## [OO way of local variable passing](https://www.ruby-forum.com/t/oo-way-of-local-variable-passing/81359)

<div class="topic-metadata">

**Author:** [@Krekna\_M](https://www.ruby-forum.com/u/Krekna_M)\
**Replies:** 4\
**Last updated:** [January 8, 2007, 7:27pm UTC](https://www.ruby-forum.com/t/oo-way-of-local-variable-passing/81359 "2007-01-08T19:27:29Z")

</div>

Hi, What is the OO way to do this? I’ve got a front-end script: front.rb which calls site.rb in site.rb there is a method1 and method2. method1 creates a directory (the name is based on some other info) and this di…

---

## [Problem with setting up database](https://www.ruby-forum.com/t/problem-with-setting-up-database/80227)

<div class="topic-metadata">

**Author:** [@Prithvi\_Krishna\_Man](https://www.ruby-forum.com/u/Prithvi_Krishna_Man)\
**Replies:** 4\
**Last updated:** [December 26, 2006, 11:50pm UTC](https://www.ruby-forum.com/t/problem-with-setting-up-database/80227 "2006-12-26T23:50:48Z")

</div>

Hey, I’m new to Rails and Ruby. I’m using the book “Agile Web D. with Rails, 1st Edition”. As per the instructions, I created a file called create.sql in db folder of my app, following is the sql: drop table if exi…

---

## [Building own module](https://www.ruby-forum.com/t/building-own-module/78345)

<div class="topic-metadata">

**Author:** [@dang](https://www.ruby-forum.com/u/dang)\
**Replies:** 4\
**Last updated:** [December 5, 2006, 4:09pm UTC](https://www.ruby-forum.com/t/building-own-module/78345 "2006-12-05T16:09:27Z")

</div>

I am trying to make my own module. I used gr-how-to-write-a-block as a skeleton for my module. The module compiles and passes a simple test in the python test directory. I then do “make install” and it installs the mo…

---

## [Weird thing with sockets](https://www.ruby-forum.com/t/weird-thing-with-sockets/78170)

<div class="topic-metadata">

**Author:** [@gemberkoekje](https://www.ruby-forum.com/u/gemberkoekje)\
**Replies:** 4\
**Last updated:** [December 3, 2006, 2:36pm UTC](https://www.ruby-forum.com/t/weird-thing-with-sockets/78170 "2006-12-03T14:36:40Z")

</div>

First off - i’m a n00b at ruby. This doesn’t mean i’m a noob at programming, but in case i’m about to ask a really stupid question, sorry in advance :stuck\_out\_tongue: With that out of the way, i’m trying to connect t…

---

## [How do I model self-referential entities?](https://www.ruby-forum.com/t/how-do-i-model-self-referential-entities/77645)

<div class="topic-metadata">

**Author:** [@lkfken](https://www.ruby-forum.com/u/lkfken)\
**Replies:** 4\
**Last updated:** [November 30, 2006, 12:11am UTC](https://www.ruby-forum.com/t/how-do-i-model-self-referential-entities/77645 "2006-11-30T00:11:43Z")

</div>

Hi all - I am having some trouble figuring out how to model self-referential entities in Rails. I have a “group” model, which can have 0 or more “group” objects or 0 or more “user” objects. I tried creating a subgro…

---

## [Still Having Problems With :through When Going To Same Table](https://www.ruby-forum.com/t/still-having-problems-with-through-when-going-to-same-table/74722)

<div class="topic-metadata">

**Author:** [@johnk](https://www.ruby-forum.com/u/johnk)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 10:56am UTC](https://www.ruby-forum.com/t/still-having-problems-with-through-when-going-to-same-table/74722 "2006-11-07T10:56:08Z")

</div>

I am having a problem with doing a :through that goes back to the same table. The following are my two classes: class User \< ActiveRecord::Base has\_many :spanks has\_many :spanked, :through =\> :spanks, :sour…

---

## [RubyConf ticket for sale](https://www.ruby-forum.com/t/rubyconf-ticket-for-sale/72517)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 4\
**Last updated:** [October 20, 2006, 1:32am UTC](https://www.ruby-forum.com/t/rubyconf-ticket-for-sale/72517 "2006-10-20T01:32:06Z")

</div>

I have a RubyConf ticket, food included, for sale. $200 (what I paid) Note: the food plan is vegetarian, so you may have to eat healthy. :slight\_smile: (Experience tells me that there are usually extras of whatever is…

---

## [Trouble with gr\_costas\_loop\_cc](https://www.ruby-forum.com/t/trouble-with-gr-costas-loop-cc/65037)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [September 7, 2006, 11:26pm UTC](https://www.ruby-forum.com/t/trouble-with-gr-costas-loop-cc/65037 "2006-09-07T23:26:12Z")

</div>

Hello, I am working on demodulating a BPSK signal (a manchester coded stream of pseudorandom bits.) I’d like to use a gr\_costas\_loop\_cc block to recover the carrier. However, when I try to create the block with all …

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

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