# Rails

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

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

---

## [\[ANN\] Streamlined 0.9 goes final!](https://www.ruby-forum.com/t/ann-streamlined-0-9-goes-final/114444)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 7:18pm UTC](https://www.ruby-forum.com/t/ann-streamlined-0-9-goes-final/114444 "2007-09-12T19:18:40Z")

</div>

The Streamlined team is pleased to announce the release of Streamlined version 0.9 final. Streamlined is a plugin for Ruby on Rails that provides an instant, production-ready UI for your ActiveRecord models. Some of…

---

## [Assigning roles and menu items at signup](https://www.ruby-forum.com/t/assigning-roles-and-menu-items-at-signup/114175)

<div class="topic-metadata">

**Author:** [@sunny\_beach](https://www.ruby-forum.com/u/sunny_beach)\
**Replies:** 3\
**Last updated:** [September 12, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/assigning-roles-and-menu-items-at-signup/114175 "2007-09-12T18:58:32Z")

</div>

My problem is similar to the thread from the rails forum: Creating Two Models in One Form http://railsforum.com/viewtopic.php?id=717 I am using acts\_as\_authenticated and role\_requirement and a model called “menu” al…

---

## [Parsing text files](https://www.ruby-forum.com/t/parsing-text-files/114397)

<div class="topic-metadata">

**Author:** [@Christian\_WattengSS](https://www.ruby-forum.com/u/Christian_WattengSS)\
**Replies:** 3\
**Last updated:** [September 12, 2007, 6:48pm UTC](https://www.ruby-forum.com/t/parsing-text-files/114397 "2007-09-12T18:48:29Z")

</div>

I have some textfiles with about the following format Lorem ipsum|And so on|And on|And on 5|3|4|77|2|3|5 More lorem|And more ipsum|And so forth Just several more lines :slight\_smile: What would be the easiest way to p…

---

## [Best place to initialize a database column value](https://www.ruby-forum.com/t/best-place-to-initialize-a-database-column-value/114369)

<div class="topic-metadata">

**Author:** [@JodyB](https://www.ruby-forum.com/u/JodyB)\
**Replies:** 5\
**Last updated:** [September 12, 2007, 6:46pm UTC](https://www.ruby-forum.com/t/best-place-to-initialize-a-database-column-value/114369 "2007-09-12T18:46:29Z")

</div>

I have a database column named ‘status’ in my ‘orders’ table. When an order placed, I’d like to initialize this column value to be ‘in progress’. Is it best to do this in: A) the database migration B) the database i…

---

## [Install ruby/ldap](https://www.ruby-forum.com/t/install-ruby-ldap/114440)

<div class="topic-metadata">

**Author:** [@bloc](https://www.ruby-forum.com/u/bloc)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/install-ruby-ldap/114440 "2007-09-12T18:40:20Z")

</div>

Hey guys, How do I install ruby/ldap (http://raa.ruby-lang.org/project/ruby-ldap) on ubuntu 6.06? Is it installed through gem? Thanks.

---

## [Link\_to?](https://www.ruby-forum.com/t/link-to/114382)

<div class="topic-metadata">

**Author:** [@ccherlet](https://www.ruby-forum.com/u/ccherlet)\
**Replies:** 3\
**Last updated:** [September 12, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/link-to/114382 "2007-09-12T18:40:04Z")

</div>

How do I create a hyper link from the restaurant.name value below. When this list is returned, I want each restaurant name to link to the show action. Any help would be appreciated. Thanks \<% for restaurant in @res…

---

## [Image size validation](https://www.ruby-forum.com/t/image-size-validation/114436)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 5:59pm UTC](https://www.ruby-forum.com/t/image-size-validation/114436 "2007-09-12T17:59:15Z")

</div>

Hi, I’m wondering if there is a way to add validation so that an image being uploaded is not larger than a certain height and width (in pixels, preferably). Thanks, Simon

---

## [Ajax: Updating multiple elements?](https://www.ruby-forum.com/t/ajax-updating-multiple-elements/114434)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 1\
**Last updated:** [September 12, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/ajax-updating-multiple-elements/114434 "2007-09-12T17:54:13Z")

</div>

How can i update multiple elements (lists, actually) with a single Ajax call? thanks in advance

---

## [Cannot type on the commandline (cmd) following chars for ex](https://www.ruby-forum.com/t/cannot-type-on-the-commandline-cmd-following-chars-for-ex/114414)

<div class="topic-metadata">

**Author:** [@pel](https://www.ruby-forum.com/u/pel)\
**Replies:** 1\
**Last updated:** [September 12, 2007, 5:40pm UTC](https://www.ruby-forum.com/t/cannot-type-on-the-commandline-cmd-following-chars-for-ex/114414 "2007-09-12T17:40:12Z")

</div>

Hello, I am total new to ruby so i need a bit help :slight\_smile: I have installed the instantrails package. After i set the environment variable to INPUTRC = C:\\Programme\\InstantRails\\ruby\\bin\\inputrc.euro after i …

---

## [Creating objects in application.rb](https://www.ruby-forum.com/t/creating-objects-in-application-rb/114388)

<div class="topic-metadata">

**Author:** [@vanik](https://www.ruby-forum.com/u/vanik)\
**Replies:** 2\
**Last updated:** [September 12, 2007, 5:33pm UTC](https://www.ruby-forum.com/t/creating-objects-in-application-rb/114388 "2007-09-12T17:33:10Z")

</div>

I’m trying to generate a simple navigation pane to include in my application.rhtml. The nav pane consists of dynamic link\_to tags that are generated from data in a model. I’m now used to doing trivial MVC operations…

---

## [Rendering a partial (through Ajax) and it's 'hanging'](https://www.ruby-forum.com/t/rendering-a-partial-through-ajax-and-its-hanging/114376)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 6\
**Last updated:** [September 12, 2007, 5:17pm UTC](https://www.ruby-forum.com/t/rendering-a-partial-through-ajax-and-its-hanging/114376 "2007-09-12T17:17:59Z")

</div>

Hi I have some HTML code for form that submits a name and I find that name in the database and ‘preview’ the info. In the console and from tailling the logs the player is being returned. When it start to render my pa…

---

## [Validate\_format\_of except=\>?](https://www.ruby-forum.com/t/validate-format-of-except/114428)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 1\
**Last updated:** [September 12, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/validate-format-of-except/114428 "2007-09-12T17:15:58Z")

</div>

Hi all, I do a save on some user information in controller called my\_controller. In my model for User I have a validation for the password: validates\_format\_of :password, :with =\> /^\\w+$/, :message =\> ‘Password must b…

---

## [How to test database table manipulation methods?](https://www.ruby-forum.com/t/how-to-test-database-table-manipulation-methods/114399)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 1\
**Last updated:** [September 12, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/how-to-test-database-table-manipulation-methods/114399 "2007-09-12T16:47:47Z")

</div>

I have written methods to create/drop tables and add/remove columns of these tables. This methods will return true/nil depending whether an error is raised. I’d like to test these methods, however, when the first time…

---

## [Getting messages from Model](https://www.ruby-forum.com/t/getting-messages-from-model/114348)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 2\
**Last updated:** [September 12, 2007, 4:33pm UTC](https://www.ruby-forum.com/t/getting-messages-from-model/114348 "2007-09-12T16:33:46Z")

</div>

In my view I am trying to change my password. When I hit the change password button, a method in my controller gets called which calls a method in my model to set the password. On entering that Model, however, a valid…

---

## [When to Create Classes? Do Java Programmers Over Use Classes](https://www.ruby-forum.com/t/when-to-create-classes-do-java-programmers-over-use-classes/114406)

<div class="topic-metadata">

**Author:** [@SBSBSB](https://www.ruby-forum.com/u/SBSBSB)\
**Replies:** 1\
**Last updated:** [September 12, 2007, 4:24pm UTC](https://www.ruby-forum.com/t/when-to-create-classes-do-java-programmers-over-use-classes/114406 "2007-09-12T16:24:07Z")

</div>

Some people said “there goes the neighborhood” when rails came on the scene since it attracted everyone from former Java programmers, PHP programmers and even designers. Not to mention total newbs like myself weaned …

---

## [Uninitialized constant CreateDb when using rake db:migrate](https://www.ruby-forum.com/t/uninitialized-constant-createdb-when-using-rake-db-migrate/114328)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 2\
**Last updated:** [September 12, 2007, 4:13pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-createdb-when-using-rake-db-migrate/114328 "2007-09-12T16:13:41Z")

</div>

Does anyone have any idea why I might be getting this error? I’m using sqlite3 with Rails 1.2.3 and ruby 1.8.5 (2006-08-25) \[i486-linux\] rake db:migrate --trace (in /home/robhu/incremental) \*\* Invoke db:migrate (firs…

---

## [Help installing simplelog](https://www.ruby-forum.com/t/help-installing-simplelog/114422)

<div class="topic-metadata">

**Author:** [@jimlast](https://www.ruby-forum.com/u/jimlast)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 3:27pm UTC](https://www.ruby-forum.com/t/help-installing-simplelog/114422 "2007-09-12T15:27:32Z")

</div>

Hi, I’m looking for someone to do a “simple” install of simplelog.net to my MediaTemple GS. I’m not comfortable with rails but I want to use this. Can anyone help me out? Email removed\_email\_address@domain.invalid T…

---

## [Help installing simplelog on MediaTemple GS](https://www.ruby-forum.com/t/help-installing-simplelog-on-mediatemple-gs/114421)

<div class="topic-metadata">

**Author:** [@jimlast](https://www.ruby-forum.com/u/jimlast)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/help-installing-simplelog-on-mediatemple-gs/114421 "2007-09-12T15:17:10Z")

</div>

Hi, I’m looking for someone to do a “simple” install of simplelog.net to my MediaTemple GS. I’m not comfortable with rails but I want to use this. Can anyone help me out? Email removed\_email\_address@domain.invalid Th…

---

## [Multi Step Registration](https://www.ruby-forum.com/t/multi-step-registration/114059)

<div class="topic-metadata">

**Author:** [@Anand\_duhan](https://www.ruby-forum.com/u/Anand_duhan)\
**Replies:** 8\
**Last updated:** [September 12, 2007, 2:50pm UTC](https://www.ruby-forum.com/t/multi-step-registration/114059 "2007-09-12T14:50:04Z")

</div>

Hi There Can any one tell how to use multi form code available at below URL:- http://snippets.dzone.com/posts/show/277 Any help will be appreciated Thanks Andy

---

## [Strange mails with action mailer](https://www.ruby-forum.com/t/strange-mails-with-action-mailer/114415)

<div class="topic-metadata">

**Author:** [@nyxx](https://www.ruby-forum.com/u/nyxx)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 2:35pm UTC](https://www.ruby-forum.com/t/strange-mails-with-action-mailer/114415 "2007-09-12T14:35:23Z")

</div>

Hey people, I am sending email through my rails applications, using templates that exists in the database. I have both a html and a text version of the mail which I send both. The thing is, that for some of my users t…

---

## [Apache2+mongrel\_cluster](https://www.ruby-forum.com/t/apache2-mongrel-cluster/114403)

<div class="topic-metadata">

**Author:** [@Bogdan\_Gusev](https://www.ruby-forum.com/u/Bogdan_Gusev)\
**Replies:** 1\
**Last updated:** [September 12, 2007, 1:28pm UTC](https://www.ruby-forum.com/t/apache2-mongrel-cluster/114403 "2007-09-12T13:28:50Z")

</div>

Please help me to configure apache with mongrel\_cluster. I have followed all the instructions but I can’t access any page except index.html. My httpd.conf: NameVirtualHost \* \<VirtualHost \*\> #ServerName 127.0.1.1 D…

---

## [Upload images in batch/bulk](https://www.ruby-forum.com/t/upload-images-in-batch-bulk/112097)

<div class="topic-metadata">

**Author:** [@raj](https://www.ruby-forum.com/u/raj)\
**Replies:** 5\
**Last updated:** [September 12, 2007, 11:06am UTC](https://www.ruby-forum.com/t/upload-images-in-batch-bulk/112097 "2007-09-12T11:06:37Z")

</div>

Hi, I’m new to ruby and rails and have implemented a multiple image upload using the attachment\_fu plugin with great struggle :slight\_smile: I need a feature that enables me to upload images in bulk/batch e.g. hundred…

---

## [Multiple upload using attachement fu](https://www.ruby-forum.com/t/multiple-upload-using-attachement-fu/114404)

<div class="topic-metadata">

**Author:** [@rajgerman](https://www.ruby-forum.com/u/rajgerman)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 10:58am UTC](https://www.ruby-forum.com/t/multiple-upload-using-attachement-fu/114404 "2007-09-12T10:58:28Z")

</div>

Hey, I have managed to successfully implement image upload using the attachment\_fu plugin. I require to upload multiple images, possibly each with a different title and category. I have provided my code below. I have…

---

## [Help with :conditions argument using find method](https://www.ruby-forum.com/t/help-with-conditions-argument-using-find-method/114322)

<div class="topic-metadata">

**Author:** [@rajgerman](https://www.ruby-forum.com/u/rajgerman)\
**Replies:** 2\
**Last updated:** [September 12, 2007, 10:54am UTC](https://www.ruby-forum.com/t/help-with-conditions-argument-using-find-method/114322 "2007-09-12T10:54:48Z")

</div>

Hey guys, I have got a simple statement below which will retrieve a users details where a session has been set using their id. I want to know how I can change the statement to say instead of find everything where the …

---

## [Image\_submit\_tag, :get method and x&y issue](https://www.ruby-forum.com/t/image-submit-tag-get-method-and-x-y-issue/114402)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 10:43am UTC](https://www.ruby-forum.com/t/image-submit-tag-get-method-and-x-y-issue/114402 "2007-09-12T10:43:42Z")

</div>

For search functionality I am using :get method to post the form. I am also using image\_submit\_tag. \<%= form\_tag({:action =\> 'search'},{:method =\> :get}) %\> \<label\>Search:\</label\> \<%= …

---

## [How to retrieve data from Amazon AWS:S3 programmatically](https://www.ruby-forum.com/t/how-to-retrieve-data-from-amazon-aws-s3-programmatically/114199)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 2\
**Last updated:** [September 12, 2007, 10:39am UTC](https://www.ruby-forum.com/t/how-to-retrieve-data-from-amazon-aws-s3-programmatically/114199 "2007-09-12T10:39:41Z")

</div>

I store all uploaded images at file system. Once a week I backup all the data to aws:s3 . Let’s say that the url where the data is stored is http://s3.amazonaws.com/foo/images.tar.gz On my staging server I want to r…

---

## [Recommended rails performance tuning](https://www.ruby-forum.com/t/recommended-rails-performance-tuning/114324)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 7\
**Last updated:** [September 12, 2007, 9:16am UTC](https://www.ruby-forum.com/t/recommended-rails-performance-tuning/114324 "2007-09-12T09:16:24Z")

</div>

just tell me some recommended rails performance tuning if anyone knows

---

## [Querying objects in order](https://www.ruby-forum.com/t/querying-objects-in-order/114386)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 2\
**Last updated:** [September 12, 2007, 7:35am UTC](https://www.ruby-forum.com/t/querying-objects-in-order/114386 "2007-09-12T07:35:26Z")

</div>

I know how do find the first object that matches a set of conditions: Model.find(:first, :conditions =\> \[“id = ?”, id\]) How could I find the second and third object and so on? Thanks in advance, Peter

---

## [Copy file](https://www.ruby-forum.com/t/copy-file/114393)

<div class="topic-metadata">

**Author:** [@luu\_trung\_hieu](https://www.ruby-forum.com/u/luu_trung_hieu)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 6:47am UTC](https://www.ruby-forum.com/t/copy-file/114393 "2007-09-12T06:47:44Z")

</div>

I want copy a file to my project when upload this file. Example: copy file .swf or .mp3… help me? Or help my read a file .mp3 from MySQL and run?

---

## [Rails & gems 0..9.2 problem](https://www.ruby-forum.com/t/rails-gems-0-9-2-problem/114391)

<div class="topic-metadata">

**Author:** [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 6:05am UTC](https://www.ruby-forum.com/t/rails-gems-0-9-2-problem/114391 "2007-09-12T06:05:15Z")

</div>

Got a slight issue with a rails plugin I wrote. when I updated to gems 0.9.2, there is some combination of what is happening in rails and gems that is slightly changing what my array#pack(‘c’) it returning. I haven’t …

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

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