# Rails

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

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

---

## [Open Source CRM | CMS in Ruby on Rails | XLsuite](https://www.ruby-forum.com/t/open-source-crm-cms-in-ruby-on-rails-xlsuite/107231)

<div class="topic-metadata">

**Author:** [@djriel](https://www.ruby-forum.com/u/djriel)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 12:57pm UTC](https://www.ruby-forum.com/t/open-source-crm-cms-in-ruby-on-rails-xlsuite/107231 "2007-06-19T12:57:16Z")

</div>

Hello fellow ruby enthusiasts. We are developing http://xlsuite.org XLsuite.org an open source Ruby on Rails based CRM / CMS system. It is in active development and while it’s still got many rough edges to smooth …

---

## [Queueing page.hide / non effects](https://www.ruby-forum.com/t/queueing-page-hide-non-effects/107186)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 1\
**Last updated:** [June 19, 2007, 12:45pm UTC](https://www.ruby-forum.com/t/queueing-page-hide-non-effects/107186 "2007-06-19T12:45:14Z")

</div>

How do I queue non effects in an effect queue? Example: page.visual\_effect(:fade, “content”, {:queue =\> {:scope =\> “content”, :position =\> “end”}}) page.show(“content”) I want page.show(“content”) to happen after the…

---

## [NoMemoryError ActiveSupportMultibyte - Normalize](https://www.ruby-forum.com/t/nomemoryerror-activesupportmultibyte-normalize/107230)

<div class="topic-metadata">

**Author:** [@mikel](https://www.ruby-forum.com/u/mikel)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 12:44pm UTC](https://www.ruby-forum.com/t/nomemoryerror-activesupportmultibyte-normalize/107230 "2007-06-19T12:44:14Z")

</div>

Hello all, I am importing large word documents. I have a test file which is 30mb in length. I run this through a series of processes to clean it up and extract the data i need to inject bits of it into a database. T…

---

## [Variable conditions in find queries](https://www.ruby-forum.com/t/variable-conditions-in-find-queries/107204)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 19, 2007, 12:10pm UTC](https://www.ruby-forum.com/t/variable-conditions-in-find-queries/107204 "2007-06-19T12:10:11Z")

</div>

What is the correct syntax for using variables in find conditions? I tried this but it doesnt seem to work, I also couldnt find any documentation online @vote = Vote.find(:all, :conditions =\> ‘user\_id = “@user.id”’, :…

---

## [YM4R/GM-Plugin: Events on Markers](https://www.ruby-forum.com/t/ym4r-gm-plugin-events-on-markers/107226)

<div class="topic-metadata">

**Author:** [@Javier\_CH](https://www.ruby-forum.com/u/Javier_CH)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 12:01pm UTC](https://www.ruby-forum.com/t/ym4r-gm-plugin-events-on-markers/107226 "2007-06-19T12:01:07Z")

</div>

I don’t like ('cause I don’t know) Javascript, that’s why I’m trying to figure out how to implement the whole GoogleMaps-part of my application using Ruby/Rails. I’ve a problem registering events on markers: http://p…

---

## [Singular resource paths](https://www.ruby-forum.com/t/singular-resource-paths/107199)

<div class="topic-metadata">

**Author:** [@jdhale](https://www.ruby-forum.com/u/jdhale)\
**Replies:** 1\
**Last updated:** [June 19, 2007, 10:30am UTC](https://www.ruby-forum.com/t/singular-resource-paths/107199 "2007-06-19T10:30:55Z")

</div>

I am working on an application where I have the urls setup like this: http://www.foo.com/jdhale where jdhale is the username for the user. I do this with a plugin called resource\_hacks. Other than some weird errors …

---

## [Ruby On Rails Programmer Needed](https://www.ruby-forum.com/t/ruby-on-rails-programmer-needed/107213)

<div class="topic-metadata">

**Author:** [@Danno](https://www.ruby-forum.com/u/Danno)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 10:09am UTC](https://www.ruby-forum.com/t/ruby-on-rails-programmer-needed/107213 "2007-06-19T10:09:58Z")

</div>

Looking for a highly experienced Ruby on Rails programmer for an upcoming e-commerce project. Pay will be based on experience. Please send a resume, work history and experience along with some examples of your work i…

---

## [Understanding Find Requests & Loops Correctly](https://www.ruby-forum.com/t/understanding-find-requests-loops-correctly/107178)

<div class="topic-metadata">

**Author:** [@revanche](https://www.ruby-forum.com/u/revanche)\
**Replies:** 3\
**Last updated:** [June 19, 2007, 9:58am UTC](https://www.ruby-forum.com/t/understanding-find-requests-loops-correctly/107178 "2007-06-19T09:58:50Z")

</div>

Good afternoon, Everyone here has been incredibly helpful in their past support of my issues, so I’m hoping that I can ask just a few more as I move along in learning RoR. I’m generating two grids in a particular vie…

---

## [Helpers to produce HTML (not XHTML)](https://www.ruby-forum.com/t/helpers-to-produce-html-not-xhtml/107207)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 1\
**Last updated:** [June 19, 2007, 6:56am UTC](https://www.ruby-forum.com/t/helpers-to-produce-html-not-xhtml/107207 "2007-06-19T06:56:30Z")

</div>

Hi, In a form\_for :comment block, Rails turns \<%= f.text\_field :name %\> into How can I get Rails not to add the closing slash so that it is plain HTML and not XHTML? Thanks, Peter

---

## [How to make "virtual ActiveRecord" be short?](https://www.ruby-forum.com/t/how-to-make-virtual-activerecord-be-short/107113)

<div class="topic-metadata">

**Author:** [@gpygood](https://www.ruby-forum.com/u/gpygood)\
**Replies:** 2\
**Last updated:** [June 19, 2007, 3:46am UTC](https://www.ruby-forum.com/t/how-to-make-virtual-activerecord-be-short/107113 "2007-06-19T03:46:58Z")

</div>

use ActiveRecord::ConnectionAdapters::Column can make a “virtual ActiveRecord”,but how to make it short or have it other method? class EmailForm \< ActiveRecord::Base def self.columns() @columns ||= \[\]; end def self.c…

---

## [Disabling transactions](https://www.ruby-forum.com/t/disabling-transactions/107194)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [June 19, 2007, 3:03am UTC](https://www.ruby-forum.com/t/disabling-transactions/107194 "2007-06-19T03:03:14Z")

</div>

I recently switched from MySQL to PostgreSQL. It would appear that every time I save an ActiveRecord object rails begins a database transaction before saving it, then commits after inserting the data into the table. T…

---

## [Simply Rich Association](https://www.ruby-forum.com/t/simply-rich-association/106992)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [June 19, 2007, 1:47am UTC](https://www.ruby-forum.com/t/simply-rich-association/106992 "2007-06-19T01:47:10Z")

</div>

I am excited to make my first plugin available for public. You can checkout the code by doing: svn checkout http://simply-rich-association.googlecode.com/svn/trunk/ simply-rich-association Enjoy!

---

## [Getting and posting info from database?](https://www.ruby-forum.com/t/getting-and-posting-info-from-database/107190)

<div class="topic-metadata">

**Author:** [@jakedgr8](https://www.ruby-forum.com/u/jakedgr8)\
**Replies:** 1\
**Last updated:** [June 19, 2007, 1:36am UTC](https://www.ruby-forum.com/t/getting-and-posting-info-from-database/107190 "2007-06-19T01:36:08Z")

</div>

Ok so I have a profile page on my website. In the database I have all the information about the user, including the username, first and last names, passwords, and descriptions, locations, and any other information. No…

---

## [Form\_remote\_tag doesn't pass any form params](https://www.ruby-forum.com/t/form-remote-tag-doesnt-pass-any-form-params/107172)

<div class="topic-metadata">

**Author:** [@scott](https://www.ruby-forum.com/u/scott)\
**Replies:** 3\
**Last updated:** [June 19, 2007, 1:31am UTC](https://www.ruby-forum.com/t/form-remote-tag-doesnt-pass-any-form-params/107172 "2007-06-19T01:31:07Z")

</div>

I have a simple form\_remote\_tag like so: \<% form\_remote\_tag(:url =\> {:controller =\> :contractor, :action =\> “bid\_on\_project”, :project =\> @project}, :success =\> “javascript:window.opener.location.reload();javascript:…

---

## [Accessing methods](https://www.ruby-forum.com/t/accessing-methods/107183)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 3\
**Last updated:** [June 19, 2007, 1:25am UTC](https://www.ruby-forum.com/t/accessing-methods/107183 "2007-06-19T01:25:24Z")

</div>

I have a method that I want to be able to access from the view and from the controller. Where do I put it? If I put it in a helper it works for the views but not the controller.

---

## [Wadl](https://www.ruby-forum.com/t/wadl/106925)

<div class="topic-metadata">

**Author:** [@jason](https://www.ruby-forum.com/u/jason)\
**Replies:** 1\
**Last updated:** [June 18, 2007, 11:41pm UTC](https://www.ruby-forum.com/t/wadl/106925 "2007-06-18T23:41:30Z")

</div>

Hi Richardson and Ruby mention a Ruby WADL library in their recent REST Web Services book, and call the library with ‘require WADL’ in some of their code snippets. Those snippets don’t work for me because Ruby (1.8.5…

---

## [QUESTION: Insert tags around highlighted text](https://www.ruby-forum.com/t/question-insert-tags-around-highlighted-text/107174)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 2\
**Last updated:** [June 18, 2007, 11:21pm UTC](https://www.ruby-forum.com/t/question-insert-tags-around-highlighted-text/107174 "2007-06-18T23:21:28Z")

</div>

Yello, I have a textarea where the user can write a paragraph. I want to be able to let them highlight some of their text and then hit a “URL” button which will insert “\[LINK\]” before the highlighted text and “\[/LIN…

---

## [UPS Shipping Gem Issues?](https://www.ruby-forum.com/t/ups-shipping-gem-issues/107184)

<div class="topic-metadata">

**Author:** [@hunter\_h](https://www.ruby-forum.com/u/hunter_h)\
**Replies:** 0\
**Last updated:** [June 18, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/ups-shipping-gem-issues/107184 "2007-06-18T23:03:23Z")

</div>

Has anyone here used the Shipping gem for UPS stuff? I’m getting a strange condition where it always returns the same price, even with different inputs for weight and destination. Has anyone seen this? Any ideas? Tha…

---

## [Deployment help](https://www.ruby-forum.com/t/deployment-help/107027)

<div class="topic-metadata">

**Author:** [@kirkR](https://www.ruby-forum.com/u/kirkR)\
**Replies:** 2\
**Last updated:** [June 18, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/deployment-help/107027 "2007-06-18T22:41:21Z")

</div>

Hello all I need some advice. I am having problems deploying rails apps. I have a site5 account. And I was able to get a few really small apps running but it was an awful process. And they ran slow, slow, slow. I …

---

## [Anyone using Flex + Rails?](https://www.ruby-forum.com/t/anyone-using-flex-rails/106892)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 20\
**Last updated:** [June 18, 2007, 10:40pm UTC](https://www.ruby-forum.com/t/anyone-using-flex-rails/106892 "2007-06-18T22:40:21Z")

</div>

Hey all, Is anyone here using Flex with Rails? Robert D.

---

## [Accessing a controller variable?](https://www.ruby-forum.com/t/accessing-a-controller-variable/107086)

<div class="topic-metadata">

**Author:** [@Parama](https://www.ruby-forum.com/u/Parama)\
**Replies:** 3\
**Last updated:** [June 18, 2007, 9:12pm UTC](https://www.ruby-forum.com/t/accessing-a-controller-variable/107086 "2007-06-18T21:12:06Z")

</div>

I’m looking to find a way to access the data inside “@controller”. i.e. when you have @controller.inspect you will see a list of all data in them. Are there anyway to do this? My real aim is to get the name of the a…

---

## [Picture album problem](https://www.ruby-forum.com/t/picture-album-problem/107181)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 18, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/picture-album-problem/107181 "2007-06-18T20:56:02Z")

</div>

Hi all, I am trying me newly created photo album and after uploading one pic I am having a problem with displaying this particular album. ActionView::TemplateError (negative string size (or size too big)) on line #14 …

---

## [Extending Array class with a method](https://www.ruby-forum.com/t/extending-array-class-with-a-method/107175)

<div class="topic-metadata">

**Author:** [@Ben\_Nevile](https://www.ruby-forum.com/u/Ben_Nevile)\
**Replies:** 2\
**Last updated:** [June 18, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/extending-array-class-with-a-method/107175 "2007-06-18T20:35:59Z")

</div>

Hi, Let’s say I have an ActiveRecord::Base class and I want to be able to call a method on an Array of these items. For instance, perhaps there’s a class called Country and another called business, and I’d like to b…

---

## [Images outside the site](https://www.ruby-forum.com/t/images-outside-the-site/107133)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 4\
**Last updated:** [June 18, 2007, 8:23pm UTC](https://www.ruby-forum.com/t/images-outside-the-site/107133 "2007-06-18T20:23:56Z")

</div>

I’m developing a site that will need to display images that will be stored in a location outside the site. What would be the easiest way to do this? The site will be running on a linux machine. Thanks, Will You sno…

---

## [Problem in webservice](https://www.ruby-forum.com/t/problem-in-webservice/107169)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 18, 2007, 7:44pm UTC](https://www.ruby-forum.com/t/problem-in-webservice/107169 "2007-06-18T19:44:48Z")

</div>

I have created a webservice named annonce (there is its code ) class AnnonceApi \< ActionWebService::API::Base api\_method :find\_all\_annonces, :returns =\> \[\[:int\]\] and its controller has been declared in this way: cla…

---

## [Deploying Rails app on existing Apache server](https://www.ruby-forum.com/t/deploying-rails-app-on-existing-apache-server/107168)

<div class="topic-metadata">

**Author:** [@andrewc](https://www.ruby-forum.com/u/andrewc)\
**Replies:** 0\
**Last updated:** [June 18, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/deploying-rails-app-on-existing-apache-server/107168 "2007-06-18T19:43:48Z")

</div>

I have developed a new app using Adobe Flex as the front end and Rails on the Back end (no html). I need to deploy to a Windows 2003 server. I have decided on Apache 2.2.4 and Mongrel clusters. I have setup a test env…

---

## [How to create an email address on a linux box?](https://www.ruby-forum.com/t/how-to-create-an-email-address-on-a-linux-box/107148)

<div class="topic-metadata">

**Author:** [@Human\_D](https://www.ruby-forum.com/u/Human_D)\
**Replies:** 1\
**Last updated:** [June 18, 2007, 7:16pm UTC](https://www.ruby-forum.com/t/how-to-create-an-email-address-on-a-linux-box/107148 "2007-06-18T19:16:44Z")

</div>

Hello folks, How could I create an email account on linux box (sendmail)? Imagine I have a project management application which process email message and add them as a bug to the project. I want to create an email ad…

---

## [Tempfile.new -\> result not unique](https://www.ruby-forum.com/t/tempfile-new-result-not-unique/107164)

<div class="topic-metadata">

**Author:** [@redgar](https://www.ruby-forum.com/u/redgar)\
**Replies:** 0\
**Last updated:** [June 18, 2007, 6:52pm UTC](https://www.ruby-forum.com/t/tempfile-new-result-not-unique/107164 "2007-06-18T18:52:39Z")

</div>

Hi, I am using Tempfile to store temporary data on disk. The documentation I’ve read (The Ruby Way, p353) states: “The new method (Tempfile.new(“seed\_str”)) takes a basename as a seed string, and concatenates onto it…

---

## [Variable in url](https://www.ruby-forum.com/t/variable-in-url/107119)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 5\
**Last updated:** [June 18, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/variable-in-url/107119 "2007-06-18T18:35:37Z")

</div>

Hi all, I want to build a url like this: name.site.com . Can RoR read out the name in the url? If not I supose it’s uo to the webserver. Can webrick or Mongrel use this and pass this to RoR. I need the name in the url …

---

## [Renumber Migration Files](https://www.ruby-forum.com/t/renumber-migration-files/107102)

<div class="topic-metadata">

**Author:** [@Alex\_Le](https://www.ruby-forum.com/u/Alex_Le)\
**Replies:** 1\
**Last updated:** [June 18, 2007, 6:09pm UTC](https://www.ruby-forum.com/t/renumber-migration-files/107102 "2007-06-18T18:09:33Z")

</div>

Hello everyone, I just wrote a little utility called “numergrate” (short for numerate migration files). I think it can be useful for a lot people who are using Rails to move migration files around. You can do ruby…

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

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