# Rails

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

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

---

## [Rails generators documentation](https://www.ruby-forum.com/t/rails-generators-documentation/103956)

<div class="topic-metadata">

**Author:** [@mrnice](https://www.ruby-forum.com/u/mrnice)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 10:55pm UTC](https://www.ruby-forum.com/t/rails-generators-documentation/103956 "2007-05-11T22:55:29Z")

</div>

People, I have just spent too much time looking for documentation on the scripts in the script folder in a rails application. I am looking for the documentation on the meaning of the prompt \[Ynaqd\] in the generate sc…

---

## [Current page URL](https://www.ruby-forum.com/t/current-page-url/103954)

<div class="topic-metadata">

**Author:** [@yannimac](https://www.ruby-forum.com/u/yannimac)\
**Replies:** 1\
**Last updated:** [May 11, 2007, 10:55pm UTC](https://www.ruby-forum.com/t/current-page-url/103954 "2007-05-11T22:55:24Z")

</div>

How do you get the current page URL? example from php: $currentURL .= $\_SERVER\[“SERVER\_NAME”\].$\_SERVER\[“REQUEST\_URI”\];

---

## [Strange problem with flash videos](https://www.ruby-forum.com/t/strange-problem-with-flash-videos/103911)

<div class="topic-metadata">

**Author:** [@PaP](https://www.ruby-forum.com/u/PaP)\
**Replies:** 1\
**Last updated:** [May 11, 2007, 10:39pm UTC](https://www.ruby-forum.com/t/strange-problem-with-flash-videos/103911 "2007-05-11T22:39:27Z")

</div>

Hi everyone i am making a RoR application that contains flv videos like youtube. It has worked ok when i embedded the flv videos in moodle but now i have a very strange problem First of all I use the FLASH PLAYER 3.3 …

---

## [Is\_active?](https://www.ruby-forum.com/t/is-active/103945)

<div class="topic-metadata">

**Author:** [@roofjump](https://www.ruby-forum.com/u/roofjump)\
**Replies:** 3\
**Last updated:** [May 11, 2007, 9:54pm UTC](https://www.ruby-forum.com/t/is-active/103945 "2007-05-11T21:54:48Z")

</div>

Hey all, i’m rather new to rails and was curious if ActiveRecord implemented anything like is\_active where the delete functions would just mark records as inactive, vs deleting rows. (similar to created\_at, etc). I ne…

---

## [Text\_field\_with\_auto\_complete onselect](https://www.ruby-forum.com/t/text-field-with-auto-complete-onselect/103949)

<div class="topic-metadata">

**Author:** [@cfingerh](https://www.ruby-forum.com/u/cfingerh)\
**Replies:** 1\
**Last updated:** [May 11, 2007, 9:51pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-onselect/103949 "2007-05-11T21:51:23Z")

</div>

I’m trying to use a autocomplete text field like the one showed in scriptaculous http://demo.script.aculo.us/ajax/autocompleter\_customized It works. But I want to call a javascript function just afterwards the users …

---

## [Architecture question: reusing code across controllers?](https://www.ruby-forum.com/t/architecture-question-reusing-code-across-controllers/103937)

<div class="topic-metadata">

**Author:** [@jacob](https://www.ruby-forum.com/u/jacob)\
**Replies:** 1\
**Last updated:** [May 11, 2007, 9:45pm UTC](https://www.ruby-forum.com/t/architecture-question-reusing-code-across-controllers/103937 "2007-05-11T21:45:22Z")

</div>

Hi all, I’m building my first Rails app and looking for some advice about how to architect my controllers. I’m essentially building a sales tracker. Sellers log in and post their sales; buyers log in and see a list of …

---

## [\[ANN\] Madame Figaro turns to Ruby on Rails](https://www.ruby-forum.com/t/ann-madame-figaro-turns-to-ruby-on-rails/77650)

<div class="topic-metadata">

**Author:** [@mmaher](https://www.ruby-forum.com/u/mmaher)\
**Replies:** 2\
**Last updated:** [May 11, 2007, 9:29pm UTC](https://www.ruby-forum.com/t/ann-madame-figaro-turns-to-ruby-on-rails/77650 "2007-05-11T21:29:39Z")

</div>

I’m pleased to announce that Madame Figaro \[1\], one of the leading fashion magazines in Europe has just launched it’s brand new website developed with Ruby on Rails. It might be the first big publication in France to …

---

## [Anybody working through "Beginning Ruby on Rails E-Commerce"](https://www.ruby-forum.com/t/anybody-working-through-beginning-ruby-on-rails-e-commerce/103929)

<div class="topic-metadata">

**Author:** [@stevepoll](https://www.ruby-forum.com/u/stevepoll)\
**Replies:** 1\
**Last updated:** [May 11, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/anybody-working-through-beginning-ruby-on-rails-e-commerce/103929 "2007-05-11T21:22:18Z")

</div>

Hi. I’m an experienced Java developer making the jump to Rails, so please forgive the newbieness of this post. I picked up two books initially: the “Agile” book by Dave T. and the “E-Commerce” book by Hellsten and Lai…

---

## [Select manual](https://www.ruby-forum.com/t/select-manual/103946)

<div class="topic-metadata">

**Author:** [@IsmaileSS](https://www.ruby-forum.com/u/IsmaileSS)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 9:10pm UTC](https://www.ruby-forum.com/t/select-manual/103946 "2007-05-11T21:10:16Z")

</div>

I have one web service developed in rails. Necessary to execute to mount datasets dinamycs in software customer. Use connection SOAP with XML. FORMER Customer sends: “select cod\_client, name, adress from clients”. Se…

---

## [Url\_for and capitalization](https://www.ruby-forum.com/t/url-for-and-capitalization/103943)

<div class="topic-metadata">

**Author:** [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 8:31pm UTC](https://www.ruby-forum.com/t/url-for-and-capitalization/103943 "2007-05-11T20:31:12Z")

</div>

okay, i am definitely seeing a real live problem here… when i run url\_for, it absolutely drops everything to lower case… does anyone have any ideas? app.url\_for(:controller =\> “audio/NS/FiLeNaMe.txt”) =\> “http://ww…

---

## [How do we '](https://www.ruby-forum.com/t/how-do-we/118204)

<div class="topic-metadata">

**Author:** [@bravedave](https://www.ruby-forum.com/u/bravedave)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 8:24pm UTC](https://www.ruby-forum.com/t/how-do-we/118204 "2007-05-11T20:24:12Z")

</div>

Dear RubyReportist’s I’ve been beating up the Rails web forums for the last week trying to understand how ‘mature’ Rails web developers’ elect to allow their users to ‘mince’ the data. We all know that a normal INDEX…

---

## [\[ANN\] Zioko.com - built with Rails](https://www.ruby-forum.com/t/ann-zioko-com-built-with-rails/103942)

<div class="topic-metadata">

**Author:** [@elliterate](https://www.ruby-forum.com/u/elliterate)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 8:18pm UTC](https://www.ruby-forum.com/t/ann-zioko-com-built-with-rails/103942 "2007-05-11T20:18:11Z")

</div>

Hey list, I’ve been working on a website, http://www.zioko.com for a while now (too long!) and it’s finally time to get this thing out the door, or it might never happen! Zioko is a place for people to create groups…

---

## [Ajax, buttons, and firefox](https://www.ruby-forum.com/t/ajax-buttons-and-firefox/103915)

<div class="topic-metadata">

**Author:** [@thekernel](https://www.ruby-forum.com/u/thekernel)\
**Replies:** 2\
**Last updated:** [May 11, 2007, 8:08pm UTC](https://www.ruby-forum.com/t/ajax-buttons-and-firefox/103915 "2007-05-11T20:08:11Z")

</div>

I created a button\_to\_remote function that I use to call :toggle\_blind visual\_effect :toggle\_blind, ‘div\_id’ It works great on Safari, Opera, IE, but in firefox the button does nothing. Is there a problem with firefo…

---

## [One app, two subdomains](https://www.ruby-forum.com/t/one-app-two-subdomains/103899)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 3\
**Last updated:** [May 11, 2007, 7:49pm UTC](https://www.ruby-forum.com/t/one-app-two-subdomains/103899 "2007-05-11T19:49:09Z")

</div>

Hi all, I would like to point two subdomains to the same app, using the same database, with logic in the app showing different content based on the subdomain. Right now I am on Dreamhost, and I have no idea how to go …

---

## [\[ANN\] The Soup - new rails community resource](https://www.ruby-forum.com/t/ann-the-soup-new-rails-community-resource/103934)

<div class="topic-metadata">

**Author:** [@jshow](https://www.ruby-forum.com/u/jshow)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 7:29pm UTC](https://www.ruby-forum.com/t/ann-the-soup-new-rails-community-resource/103934 "2007-05-11T19:29:07Z")

</div>

Greetings all, I am pleased to announced The Soup - http://the-soup.net/ - a tasty new resource for the Rails Community. About Are you a Talented person that is looking for new and interesting projects to work on? A…

---

## ["validates\_presence\_of" not working](https://www.ruby-forum.com/t/validates-presence-of-not-working/103874)

<div class="topic-metadata">

**Author:** [@diogobaeder.com.br](https://www.ruby-forum.com/u/diogobaeder.com.br)\
**Replies:** 4\
**Last updated:** [May 11, 2007, 7:20pm UTC](https://www.ruby-forum.com/t/validates-presence-of-not-working/103874 "2007-05-11T19:20:05Z")

</div>

Hi, guys, I’m learning to use Rails, and, while reading the “Rails: Up And Running” book, I tried to make an insertion validation, using the following code: class Photo \< ActiveRecord::Base validates\_presence\_of :fi…

---

## [Conditional value in xml node](https://www.ruby-forum.com/t/conditional-value-in-xml-node/103933)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 7:19pm UTC](https://www.ruby-forum.com/t/conditional-value-in-xml-node/103933 "2007-05-11T19:19:40Z")

</div>

in my rxml file , I wrote : xml.Person(:id =\> "u-"removed\_email\_address@domain.invalid\_s, :name =\> @user.pseudo, :email =\> @user.email\_address, :full\_name =\> full\_name, :hops =\> “0”, :imageURL =\> “#{photo\_path(@use…

---

## [Best way to add new items to a select?](https://www.ruby-forum.com/t/best-way-to-add-new-items-to-a-select/103931)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 7:16pm UTC](https://www.ruby-forum.com/t/best-way-to-add-new-items-to-a-select/103931 "2007-05-11T19:16:03Z")

</div>

hey all, I have a select tag like this: \<%= select ‘movie’,‘director\_id’,Director.find(:all).collect {|x| \[x.name, x.id\]} %\> I would like to add a new director in case it’s missing from the select. I would like to …

---

## [Flash and RoR Shop](https://www.ruby-forum.com/t/flash-and-ror-shop/103926)

<div class="topic-metadata">

**Author:** [@moesian](https://www.ruby-forum.com/u/moesian)\
**Replies:** 1\
**Last updated:** [May 11, 2007, 7:14pm UTC](https://www.ruby-forum.com/t/flash-and-ror-shop/103926 "2007-05-11T19:14:30Z")

</div>

Hi, Ive just recently started trying to get to grips with Ruby on Rails. Someone I’m putting a Flash site together for has asked for a shop. Will it be possible for me to use a Flash front end with a Ruby on Rails ba…

---

## [\[ANN\] acts\_as\_solr v.0.8 has been released](https://www.ruby-forum.com/t/ann-acts-as-solr-v-0-8-has-been-released/103928)

<div class="topic-metadata">

**Author:** [@Thiago\_J](https://www.ruby-forum.com/u/Thiago_J)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 7:04pm UTC](https://www.ruby-forum.com/t/ann-acts-as-solr-v-0-8-has-been-released/103928 "2007-05-11T19:04:55Z")

</div>

The new release v.0.8 of acts\_as\_solr is out and includes: NEW - New video tutorial NEW - Faceted search has been implemented and its possible to ‘drill- down’ on the facets NEW - New rake tasks you can use to start/…

---

## [Passing results of a select via URL](https://www.ruby-forum.com/t/passing-results-of-a-select-via-url/103927)

<div class="topic-metadata">

**Author:** [@pingu](https://www.ruby-forum.com/u/pingu)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 7:03pm UTC](https://www.ruby-forum.com/t/passing-results-of-a-select-via-url/103927 "2007-05-11T19:03:27Z")

</div>

Hi, is it possible to pass the results of “select box” selection back to the controller via the url, in the form controller/action/selected option Many Thanks

---

## [Question about ActiveRecord](https://www.ruby-forum.com/t/question-about-activerecord/103786)

<div class="topic-metadata">

**Author:** [@laurent](https://www.ruby-forum.com/u/laurent)\
**Replies:** 6\
**Last updated:** [May 11, 2007, 6:36pm UTC](https://www.ruby-forum.com/t/question-about-activerecord/103786 "2007-05-11T18:36:52Z")

</div>

Hi I have a quick creation form (in a form) : the displayed fields correspond only to some of the attributes of the corresponding model. In my controller , create action : esaily, i would like to use the : @user = U…

---

## [Better File\_Column version garbage collecting?](https://www.ruby-forum.com/t/better-file-column-version-garbage-collecting/103855)

<div class="topic-metadata">

**Author:** [@mrpunkin](https://www.ruby-forum.com/u/mrpunkin)\
**Replies:** 2\
**Last updated:** [May 11, 2007, 6:36pm UTC](https://www.ruby-forum.com/t/better-file-column-version-garbage-collecting/103855 "2007-05-11T18:36:50Z")

</div>

Hello all. I was curious if anyone has patched file-column so that when you do multiple versions of a photo it doesn’t need to use so much memory. A 7.8 megabyte file on my server is quickly eating 350 megs of ram. If…

---

## [Ajax - fade out a image on :complete](https://www.ruby-forum.com/t/ajax-fade-out-a-image-on-complete/103905)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 3\
**Last updated:** [May 11, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/ajax-fade-out-a-image-on-complete/103905 "2007-05-11T18:35:06Z")

</div>

Hi, Does anyone know of a reference with all the possible Ajax commands available within rails when using prototype. or does anyone know of a command that will let me fade one image into another or to greyscale an im…

---

## [Jhsagdja](https://www.ruby-forum.com/t/jhsagdja/103897)

<div class="topic-metadata">

**Author:** [@chandoo](https://www.ruby-forum.com/u/chandoo)\
**Replies:** 3\
**Last updated:** [May 11, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/jhsagdja/103897 "2007-05-11T18:27:51Z")

</div>

sdfakjshfkads

---

## [Searching RESTful style](https://www.ruby-forum.com/t/searching-restful-style/103832)

<div class="topic-metadata">

**Author:** [@rlwinter](https://www.ruby-forum.com/u/rlwinter)\
**Replies:** 3\
**Last updated:** [May 11, 2007, 6:20pm UTC](https://www.ruby-forum.com/t/searching-restful-style/103832 "2007-05-11T18:20:51Z")

</div>

Hello list, Ok, first I would like to say I’m starting to get the hang of thinking the RESTful way. But, one thing that is still perplexing my conditioned brain is how to incorporate searching into the RESTful Rails…

---

## [Pound for Rails Apps breaks stylesheets and images, any sugg](https://www.ruby-forum.com/t/pound-for-rails-apps-breaks-stylesheets-and-images-any-sugg/103879)

<div class="topic-metadata">

**Author:** [@cephas](https://www.ruby-forum.com/u/cephas)\
**Replies:** 1\
**Last updated:** [May 11, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/pound-for-rails-apps-breaks-stylesheets-and-images-any-sugg/103879 "2007-05-11T17:47:48Z")

</div>

I’d like to setup the following using pound. www.department.state.edu/myapp1/ www.department.state.edu/myapp2/ www.department.state.edu/nonrailsapp1/ www.department.state.edu/nonrailsapp2/ I can get it to work for t…

---

## [Passing a hash to a GET request](https://www.ruby-forum.com/t/passing-a-hash-to-a-get-request/103920)

<div class="topic-metadata">

**Author:** [@nuno](https://www.ruby-forum.com/u/nuno)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 5:44pm UTC](https://www.ruby-forum.com/t/passing-a-hash-to-a-get-request/103920 "2007-05-11T17:44:15Z")

</div>

Hello, I’m trying to link\_to(‘Edit’, :action =\> ‘edit’, :topic =\> {:parent\_id =\> topic.id}) But unfortunately, :topic =\> {:parent\_id =\> topic.id} produces ‘/edit?topic=parent\_id2’ Is there a solution of have GET para…

---

## [Combo box problem](https://www.ruby-forum.com/t/combo-box-problem/103823)

<div class="topic-metadata">

**Author:** [@Cezar](https://www.ruby-forum.com/u/Cezar)\
**Replies:** 2\
**Last updated:** [May 11, 2007, 5:40pm UTC](https://www.ruby-forum.com/t/combo-box-problem/103823 "2007-05-11T17:40:44Z")

</div>

Hi, 1st of all, my english is bad, and i’m new to RoR, so accept my apologies from start. I need two combo-boxes populated from two tables that will act as filters for a product list. I’ve already read some examples …

---

## [Data retrieval with :conditions](https://www.ruby-forum.com/t/data-retrieval-with-conditions/103894)

<div class="topic-metadata">

**Author:** [@elmy-liddiard](https://www.ruby-forum.com/u/elmy-liddiard)\
**Replies:** 2\
**Last updated:** [May 11, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/data-retrieval-with-conditions/103894 "2007-05-11T17:26:57Z")

</div>

Relatively new to Ruby but sticking with it, however I really need some help on passing parameters. I have a table of risks with a status field (values = Open Closed or Parked.) I have a view where user can enter the…

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

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