# Rails

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1512

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

---

## [How to get rid of escaped characters](https://www.ruby-forum.com/t/how-to-get-rid-of-escaped-characters/127632)

<div class="topic-metadata">

**Author:** [@liquidrails](https://www.ruby-forum.com/u/liquidrails)\
**Replies:** 4\
**Last updated:** [January 31, 2008, 1:08am UTC](https://www.ruby-forum.com/t/how-to-get-rid-of-escaped-characters/127632 "2008-01-31T01:08:22Z")

</div>

How do you get rid of unwanted escape characters that rails adds to a user inputted string (e.g. like the forward slash in front of quotes, etc.?" Thanks, Cheri

---

## [Come join me on Deal Trackerâ€¦](https://www.ruby-forum.com/t/come-join-me-on-deal-trackera/127641)

<div class="topic-metadata">

**Author:** [@Vivian\_Aranha](https://www.ruby-forum.com/u/Vivian_Aranha)\
**Replies:** 0\
**Last updated:** [January 31, 2008, 1:07am UTC](https://www.ruby-forum.com/t/come-join-me-on-deal-trackera/127641 "2008-01-31T01:07:46Z")

</div>

Come join me on Deal Tracker. Hey Check Out this site Click here to join: http://dealtracker.ning.com/?xgi=1CFNSh6 Thanks, Vivian Aranha

---

## [Freezing gems other than Rails](https://www.ruby-forum.com/t/freezing-gems-other-than-rails/127633)

<div class="topic-metadata">

**Author:** [@bparanj](https://www.ruby-forum.com/u/bparanj)\
**Replies:** 1\
**Last updated:** [January 31, 2008, 12:34am UTC](https://www.ruby-forum.com/t/freezing-gems-other-than-rails/127633 "2008-01-31T00:34:19Z")

</div>

I came across Topfunky’s rake task that can be used to freeze gems that is not related to Rails. But it seems to be outdated, so I read this How do I get the gems that is used by the Rails app to the vendor gems dir…

---

## [Prob linking to static page in public folder](https://www.ruby-forum.com/t/prob-linking-to-static-page-in-public-folder/127634)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 0\
**Last updated:** [January 31, 2008, 12:23am UTC](https://www.ruby-forum.com/t/prob-linking-to-static-page-in-public-folder/127634 "2008-01-31T00:23:10Z")

</div>

For the first time, I’m trying to link to a static page and running into a problem… Here’s the link\_to code: \<%= link\_to “Terms of Service”, ‘/terms\_of\_service.pdf’, :popup =\> true %\> And here’s the error I’m gettin…

---

## [Re: Paypal and subscriptions](https://www.ruby-forum.com/t/re-paypal-and-subscriptions/127635)

<div class="topic-metadata">

**Author:** [@ECSronc](https://www.ruby-forum.com/u/ECSronc)\
**Replies:** 0\
**Last updated:** [January 31, 2008, 12:20am UTC](https://www.ruby-forum.com/t/re-paypal-and-subscriptions/127635 "2008-01-31T00:20:49Z")

</div>

Richard, My name is Ron Coleman, a business development manager at EC Suite. We specialize in on-line transaction processing and provide an an inclusive e-commerce toolset designed to reduce the cost of processing and …

---

## [Ruby on Rails Opportunity!](https://www.ruby-forum.com/t/ruby-on-rails-opportunity/127521)

<div class="topic-metadata">

**Author:** [@Portia](https://www.ruby-forum.com/u/Portia)\
**Replies:** 8\
**Last updated:** [January 31, 2008, 12:12am UTC](https://www.ruby-forum.com/t/ruby-on-rails-opportunity/127521 "2008-01-31T00:12:35Z")

</div>

I am currently hiring for a Ruby on Rails Software Engineer! Please review job description and let me know if you are interested! You can contact me @ 425-278-0083 or removed\_email\_address@domain.invalid! 6-12 month…

---

## [Token\_tag in Flash?](https://www.ruby-forum.com/t/token-tag-in-flash/127626)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 1\
**Last updated:** [January 30, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/token-tag-in-flash/127626 "2008-01-30T23:54:21Z")

</div>

Yo, I’ve got this data POSTing from a Flash App and I need to figure out how this little \<%= token\_tag %\> works so I can give the Flash the proper validation. See, I get this ActionController::InvalidAuthenticityToke…

---

## [A new way to think about presenters and what they offer](https://www.ruby-forum.com/t/a-new-way-to-think-about-presenters-and-what-they-offer/127631)

<div class="topic-metadata">

**Author:** [@zdennis](https://www.ruby-forum.com/u/zdennis)\
**Replies:** 0\
**Last updated:** [January 30, 2008, 11:47pm UTC](https://www.ruby-forum.com/t/a-new-way-to-think-about-presenters-and-what-they-offer/127631 "2008-01-30T23:47:18Z")

</div>

Presenters are good when used properly, here’s a good article walking through one particular implementation: Zach D. http://www.continuousthinking.com

---

## [MacBook Pro Purchase](https://www.ruby-forum.com/t/macbook-pro-purchase/127624)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [January 30, 2008, 11:44pm UTC](https://www.ruby-forum.com/t/macbook-pro-purchase/127624 "2008-01-30T23:44:21Z")

</div>

I’m not entirely sure this is the right forum for this and if it isn’t I sincerely apologize for the noise. I’m looking to purchase my first Mac to do my Rails work in and rather than going to purchase a shiny new one…

---

## [Need some Module help](https://www.ruby-forum.com/t/need-some-module-help/127629)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 0\
**Last updated:** [January 30, 2008, 11:43pm UTC](https://www.ruby-forum.com/t/need-some-module-help/127629 "2008-01-30T23:43:11Z")

</div>

I am trying to use a gem called icalendar. It seems to work well enough. I am trying to import an ical file from horde/kronolith and apparently it uses an attribute called aalarm which apparently isn’t in the standard…

---

## [\[Provocation\] YAGNI, 37S, Rails, and AOL](https://www.ruby-forum.com/t/provocation-yagni-37s-rails-and-aol/124895)

<div class="topic-metadata">

**Author:** [@jay-levitt](https://www.ruby-forum.com/u/jay-levitt)\
**Replies:** 16\
**Last updated:** [January 30, 2008, 11:40pm UTC](https://www.ruby-forum.com/t/provocation-yagni-37s-rails-and-aol/124895 "2008-01-30T23:40:14Z")

</div>

I just had a thought that’s so obvious, in retrospect, I can’t believe it took me three years to think of it. I don’t have time to properly defend the premise right now, but I’d like people to attack it anyway, so wh…

---

## [Need help about how rails interact with SNMP](https://www.ruby-forum.com/t/need-help-about-how-rails-interact-with-snmp/127571)

<div class="topic-metadata">

**Author:** [@Sardar](https://www.ruby-forum.com/u/Sardar)\
**Replies:** 1\
**Last updated:** [January 30, 2008, 10:10pm UTC](https://www.ruby-forum.com/t/need-help-about-how-rails-interact-with-snmp/127571 "2008-01-30T22:10:19Z")

</div>

hi i am going to build a network probing application, i am little confuse about rails support for network application development. please guide me if rails support well to interrect with SNMP v3 Protocol. currently …

---

## [Require statements?](https://www.ruby-forum.com/t/require-statements/127616)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 2\
**Last updated:** [January 30, 2008, 9:59pm UTC](https://www.ruby-forum.com/t/require-statements/127616 "2008-01-30T21:59:08Z")

</div>

Hi- Where do you put your ‘require’ statements in a rails app? For example, if I want to include a different gem, where do I place this? require ‘lib’ Thanks!

---

## [+1 == +3](https://www.ruby-forum.com/t/1-3/127615)

<div class="topic-metadata">

**Author:** [@Glen](https://www.ruby-forum.com/u/Glen)\
**Replies:** 4\
**Last updated:** [January 30, 2008, 9:58pm UTC](https://www.ruby-forum.com/t/1-3/127615 "2008-01-30T21:58:32Z")

</div>

I have the following code (relevant section offset with dashes): def create @post = Post.new(params\[:post\]) @post.user\_id = session\[:user\].id @post.conversation\_id = params\[:conversation\_id\] @conversation = Conversa…

---

## [URL aliasing in RoR](https://www.ruby-forum.com/t/url-aliasing-in-ror/127567)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 3\
**Last updated:** [January 30, 2008, 9:33pm UTC](https://www.ruby-forum.com/t/url-aliasing-in-ror/127567 "2008-01-30T21:33:42Z")

</div>

Hi all I want to implement url aliasing on my site…say suppose my url is domain/blog/1 instead of that i want domain/blog/title-of-that-blog Is there any method how i can remove Id and put the title instead Thanks a …

---

## [Validation question](https://www.ruby-forum.com/t/validation-question/196585)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 4\
**Last updated:** [January 30, 2008, 8:43pm UTC](https://www.ruby-forum.com/t/validation-question/196585 "2008-01-30T20:43:27Z")

</div>

I have a courses model that has two fields: courses(title, members\_count) Is it possible to have a validation that only lets the user update the title if members\_count == 0? def validate errors.add(:title, “cannot b…

---

## [Evaluating nil in an autocomplete? :o(](https://www.ruby-forum.com/t/evaluating-nil-in-an-autocomplete-o/127519)

<div class="topic-metadata">

**Author:** [@revanche](https://www.ruby-forum.com/u/revanche)\
**Replies:** 1\
**Last updated:** [January 30, 2008, 8:39pm UTC](https://www.ruby-forum.com/t/evaluating-nil-in-an-autocomplete-o/127519 "2008-01-30T20:39:49Z")

</div>

Can anyone help with the following? I’ve been trying to follow along with the tutorial for making a real-time search box with Ajax (http://wiki.rubyonrails.org/rails/pages/How+to+make+a+real-time+search+box+with+the+Aj…

---

## [Caching a has\_many child's parent](https://www.ruby-forum.com/t/caching-a-has-many-childs-parent/127600)

<div class="topic-metadata">

**Author:** [@patnakajima](https://www.ruby-forum.com/u/patnakajima)\
**Replies:** 2\
**Last updated:** [January 30, 2008, 7:55pm UTC](https://www.ruby-forum.com/t/caching-a-has-many-childs-parent/127600 "2008-01-30T19:55:30Z")

</div>

Let’s say we have two models with a plain has\_many/belongs\_to relationship. class Driver has\_one :car end class Car belongs\_to :driver end The question is this: Why isn’t the car’s parent driver cached when we e…

---

## [Various RoR properties question for ActiveRecords Models](https://www.ruby-forum.com/t/various-ror-properties-question-for-activerecords-models/127608)

<div class="topic-metadata">

**Author:** [@kopf1988](https://www.ruby-forum.com/u/kopf1988)\
**Replies:** 0\
**Last updated:** [January 30, 2008, 7:50pm UTC](https://www.ruby-forum.com/t/various-ror-properties-question-for-activerecords-models/127608 "2008-01-30T19:50:12Z")

</div>

Okay, I’m working on a program to record registrations for an anime convention. Right now I have a model for Attendees, a model for Events, and a model for Payments. Okay, now I want to have one super event called “An…

---

## [Relationships question](https://www.ruby-forum.com/t/relationships-question/127498)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 2\
**Last updated:** [January 30, 2008, 7:37pm UTC](https://www.ruby-forum.com/t/relationships-question/127498 "2008-01-30T19:37:41Z")

</div>

Hi, I have the following type of situation: three different models (X, Y, Z). There is no relationship between X and Y, but Y should have\_many of Z (although I’m not convinced Z should belong\_to Y, and it may even b…

---

## [Restful updating from link... without a form? How?](https://www.ruby-forum.com/t/restful-updating-from-link-without-a-form-how/127517)

<div class="topic-metadata">

**Author:** [@melvinram](https://www.ruby-forum.com/u/melvinram)\
**Replies:** 11\
**Last updated:** [January 30, 2008, 7:36pm UTC](https://www.ruby-forum.com/t/restful-updating-from-link-without-a-form-how/127517 "2008-01-30T19:36:30Z")

</div>

On the Products show page, I display all the Images (has\_many) that are associated w/ that product. My Images model has a boolean field called default, which is used to signify that which image is the default image fo…

---

## [Use of guid values and foreign key constraints](https://www.ruby-forum.com/t/use-of-guid-values-and-foreign-key-constraints/127604)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 0\
**Last updated:** [January 30, 2008, 7:25pm UTC](https://www.ruby-forum.com/t/use-of-guid-values-and-foreign-key-constraints/127604 "2008-01-30T19:25:16Z")

</div>

It is pretty easy to make primary keys a guid value by: class CreateAccounts \< ActiveRecord::Migration def self.up create\_table(:accounts, :primary\_key =\> :guid) do |t| … But I am unsure how to create the foreign ke…

---

## [Question about symbols](https://www.ruby-forum.com/t/question-about-symbols/127606)

<div class="topic-metadata">

**Author:** [@nekto](https://www.ruby-forum.com/u/nekto)\
**Replies:** 0\
**Last updated:** [January 30, 2008, 6:44pm UTC](https://www.ruby-forum.com/t/question-about-symbols/127606 "2008-01-30T18:44:20Z")

</div>

Hi! I want to organize model-classes into subdirectories. I’ve create new model Security::User (with script/generate model security/User). Class and directory has been created successfully. Then I want to create a co…

---

## [Making an object the same as is returned by file\_field\_tag](https://www.ruby-forum.com/t/making-an-object-the-same-as-is-returned-by-file-field-tag/127607)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 0\
**Last updated:** [January 30, 2008, 6:43pm UTC](https://www.ruby-forum.com/t/making-an-object-the-same-as-is-returned-by-file-field-tag/127607 "2008-01-30T18:43:56Z")

</div>

I’m using attachment\_fu, and can make an attachment object (a Logo, which is basically an image file) fine using the tempfile that is returned from the file\_field\_tag on a form. However, i also need to make some from …

---

## [How to delete a controller in instant rails](https://www.ruby-forum.com/t/how-to-delete-a-controller-in-instant-rails/127584)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 30, 2008, 6:01pm UTC](https://www.ruby-forum.com/t/how-to-delete-a-controller-in-instant-rails/127584 "2008-01-30T18:01:17Z")

</div>

hi folk i’ve just mistakingly created a crontoller in instant rails does anyone know how the delete commands/

---

## [Goog RoR 2.0 Book](https://www.ruby-forum.com/t/goog-ror-2-0-book/126256)

<div class="topic-metadata">

**Author:** [@nazagorifau](https://www.ruby-forum.com/u/nazagorifau)\
**Replies:** 27\
**Last updated:** [January 30, 2008, 5:45pm UTC](https://www.ruby-forum.com/t/goog-ror-2-0-book/126256 "2008-01-30T17:45:13Z")

</div>

I am new to learning RoR, and am finding it difficult to read the documentation, which I feel seems fairly inadequate in regards to the current version. Additionally, I can’t find any published or to be published boo…

---

## [Import XML in mysql](https://www.ruby-forum.com/t/import-xml-in-mysql/127590)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 1\
**Last updated:** [January 30, 2008, 5:35pm UTC](https://www.ruby-forum.com/t/import-xml-in-mysql/127590 "2008-01-30T17:35:48Z")

</div>

Hi, I am using scrubyt for scraping a webpage. The output is xml: Example: \<item\_name\>Canon Vertical Battery Grip BG-E3 For EOS Digital Rebel XT\</item\_name\> $179.00 \<item\_name\>Canon Vertical Battery Grip BG…

---

## [Rails 2.x books](https://www.ruby-forum.com/t/rails-2-x-books/127576)

<div class="topic-metadata">

**Author:** [@crazybass](https://www.ruby-forum.com/u/crazybass)\
**Replies:** 6\
**Last updated:** [January 30, 2008, 5:19pm UTC](https://www.ruby-forum.com/t/rails-2-x-books/127576 "2008-01-30T17:19:41Z")

</div>

Hi, I’m newbie in Rails development and I would like to know which books cover Rails 2.0. Cheers, Paulo CASSIANO.

---

## [Using form\_remote\_tag in an helper](https://www.ruby-forum.com/t/using-form-remote-tag-in-an-helper/116433)

<div class="topic-metadata">

**Author:** [@esox\_ch](https://www.ruby-forum.com/u/esox_ch)\
**Replies:** 4\
**Last updated:** [January 30, 2008, 5:18pm UTC](https://www.ruby-forum.com/t/using-form-remote-tag-in-an-helper/116433 "2008-01-30T17:18:35Z")

</div>

Hello, On one of my pages I’ve got a button which should do various stuff based on some params passed to the page (and some retrieved from the session). I was doing it fine using an helper : def action\_button product …

---

## [Rails 2.0 Engines Plugin: belongs\_to Methods Not Working](https://www.ruby-forum.com/t/rails-2-0-engines-plugin-belongs-to-methods-not-working/127536)

<div class="topic-metadata">

**Author:** [@ratkins](https://www.ruby-forum.com/u/ratkins)\
**Replies:** 1\
**Last updated:** [January 30, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/rails-2-0-engines-plugin-belongs-to-methods-not-working/127536 "2008-01-30T17:14:55Z")

</div>

Engine-Users mailing list removed\_email\_address@domain.invalid http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1511)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1513)
