# Rails

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

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

---

## [Picolena, a lightweight ferret-powered search engine written in Rails](https://www.ruby-forum.com/t/picolena-a-lightweight-ferret-powered-search-engine-written-in-rails/130030)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [February 24, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/picolena-a-lightweight-ferret-powered-search-engine-written-in-rails/130030 "2008-02-24T17:13:53Z")

</div>

Hi everybody! I am proud to present you a small project I have been working on for a while: Picolena, a lightweight ferret-powered search engine written in Rails. ( http://picolena.devjavu.com/ ) I wrote it for our …

---

## [3rdrail run rake task error: no Ruby script found in input (LoadError) (Windows)](https://www.ruby-forum.com/t/3rdrail-run-rake-task-error-no-ruby-script-found-in-input-loaderror-windows/124689)

<div class="topic-metadata">

**Author:** [@Issac](https://www.ruby-forum.com/u/Issac)\
**Replies:** 3\
**Last updated:** [February 24, 2008, 2:25pm UTC](https://www.ruby-forum.com/t/3rdrail-run-rake-task-error-no-ruby-script-found-in-input-loaderror-windows/124689 "2008-02-24T14:25:24Z")

</div>

Hi, dudes I got a question here. When I run “rake db:migrate” in 3rdrail, it throws an error: D:\\ruby\\bin\\ruby.exe: no Ruby script found in input (LoadError). I have set the ruby interpreter paths, And can’t find the …

---

## [Creating Tabular FormBuilder - Form/Table Tag Order](https://www.ruby-forum.com/t/creating-tabular-formbuilder-form-table-tag-order/130022)

<div class="topic-metadata">

**Author:** [@reynar](https://www.ruby-forum.com/u/reynar)\
**Replies:** 1\
**Last updated:** [February 24, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/creating-tabular-formbuilder-form-table-tag-order/130022 "2008-02-24T13:05:40Z")

</div>

Hi, I am using a FormBuilder to help with DRY-out my views where forms are displayed in tables. However most examples of this seem to use the same approach of using a view helper to combine the call to the remote\_for…

---

## [Validates\_format\_of no dots allowed](https://www.ruby-forum.com/t/validates-format-of-no-dots-allowed/130015)

<div class="topic-metadata">

**Author:** [@gorter9](https://www.ruby-forum.com/u/gorter9)\
**Replies:** 1\
**Last updated:** [February 24, 2008, 11:32am UTC](https://www.ruby-forum.com/t/validates-format-of-no-dots-allowed/130015 "2008-02-24T11:32:19Z")

</div>

I need a validates\_format\_of that disallow dots. In the api there is nothing to find about how validates\_format\_of exatly works. Is there a better documentation or is there something that can tell me howto disallow d…

---

## [Scaffolding Without Migration? - Porting CakePHP App To RoR](https://www.ruby-forum.com/t/scaffolding-without-migration-porting-cakephp-app-to-ror/129975)

<div class="topic-metadata">

**Author:** [@Baz\_L](https://www.ruby-forum.com/u/Baz_L)\
**Replies:** 8\
**Last updated:** [February 24, 2008, 11:01am UTC](https://www.ruby-forum.com/t/scaffolding-without-migration-porting-cakephp-app-to-ror/129975 "2008-02-24T11:01:02Z")

</div>

Good day all. I’m posed with a roadblock on my way to learning and using Ruby on Rails. From what I’ve been reading, this has started with version 2.0. The scaffold generation no longer pulls schema from the databas…

---

## [See my 17,228 new photos this week?](https://www.ruby-forum.com/t/see-my-17-228-new-photos-this-week/130014)

<div class="topic-metadata">

**Author:** [@Verona\_dsm](https://www.ruby-forum.com/u/Verona_dsm)\
**Replies:** 0\
**Last updated:** [February 24, 2008, 10:35am UTC](https://www.ruby-forum.com/t/see-my-17-228-new-photos-this-week/130014 "2008-02-24T10:35:43Z")

</div>

http://arealtgp.servik.com/viewcam.htm

---

## [Problems with request.remote\_ip](https://www.ruby-forum.com/t/problems-with-request-remote-ip/130009)

<div class="topic-metadata">

**Author:** [@roybotnik](https://www.ruby-forum.com/u/roybotnik)\
**Replies:** 1\
**Last updated:** [February 24, 2008, 9:41am UTC](https://www.ruby-forum.com/t/problems-with-request-remote-ip/130009 "2008-02-24T09:41:02Z")

</div>

Hello everyone, I am trying to use request.remote\_ip in my application to log a user’s IP address because I have been having a lot of abuse issues. basically when a user logs I simply call user.update\_attribute(:last…

---

## [Params checking in controller before real action](https://www.ruby-forum.com/t/params-checking-in-controller-before-real-action/130000)

<div class="topic-metadata">

**Author:** [@beginner](https://www.ruby-forum.com/u/beginner)\
**Replies:** 3\
**Last updated:** [February 24, 2008, 9:07am UTC](https://www.ruby-forum.com/t/params-checking-in-controller-before-real-action/130000 "2008-02-24T09:07:51Z")

</div>

I want to perform certain action in controller based on request parameters. Is there some way to access params in controller before a real action? Like in following code: class UsersController \< ApplicationController …

---

## [Webmaster\_verification: New rails plugin that manages search engine webmaster verification files](https://www.ruby-forum.com/t/webmaster-verification-new-rails-plugin-that-manages-search-engine-webmaster-verification-files/130011)

<div class="topic-metadata">

**Author:** [@zilkey](https://www.ruby-forum.com/u/zilkey)\
**Replies:** 0\
**Last updated:** [February 24, 2008, 9:06am UTC](https://www.ruby-forum.com/t/webmaster-verification-new-rails-plugin-that-manages-search-engine-webmaster-verification-files/130011 "2008-02-24T09:06:26Z")

</div>

Google, Yahoo! and MSN (Live) all have webmaster tools that require users to verify that they control the site, either by uploading files, or by adding meta-tags. I never liked adding meta tags, and I found it hard to…

---

## [URL Helper methods in ActionWebService](https://www.ruby-forum.com/t/url-helper-methods-in-actionwebservice/130010)

<div class="topic-metadata">

**Author:** [@Kip](https://www.ruby-forum.com/u/Kip)\
**Replies:** 0\
**Last updated:** [February 24, 2008, 6:04am UTC](https://www.ruby-forum.com/t/url-helper-methods-in-actionwebservice/130010 "2008-02-24T06:04:53Z")

</div>

It seems that URL Helpers (the ones created by RESTful resource routes) are not in scope in ActionWebService. Despite the irony of supporting a xml-rpc client in this otherwise RESTful app, does anyone know how to ge…

---

## [Help with forms and joined tables?](https://www.ruby-forum.com/t/help-with-forms-and-joined-tables/129979)

<div class="topic-metadata">

**Author:** [@djknorr75](https://www.ruby-forum.com/u/djknorr75)\
**Replies:** 6\
**Last updated:** [February 24, 2008, 4:20am UTC](https://www.ruby-forum.com/t/help-with-forms-and-joined-tables/129979 "2008-02-24T04:20:44Z")

</div>

Hello all, I know this is something that should be almost ridiculously easy (I am new with RoR, so please be gentle). I am trying to create a comment on a simple forum posting, but am having problems setting up my fo…

---

## [Scaling Best Practices](https://www.ruby-forum.com/t/scaling-best-practices/129932)

<div class="topic-metadata">

**Author:** [@marc](https://www.ruby-forum.com/u/marc)\
**Replies:** 30\
**Last updated:** [February 24, 2008, 4:17am UTC](https://www.ruby-forum.com/t/scaling-best-practices/129932 "2008-02-24T04:17:04Z")

</div>

Can anyone recommend some good reading material on scaling a Rails app? we receive around 5k-7k visitors per day and are running postgres and rails with fastcgi - we have not implemented caching yet and are pondering…

---

## [Acts\_as\_list with scope of current\_user? possible?](https://www.ruby-forum.com/t/acts-as-list-with-scope-of-current-user-possible/129998)

<div class="topic-metadata">

**Author:** [@newbee-robert](https://www.ruby-forum.com/u/newbee-robert)\
**Replies:** 1\
**Last updated:** [February 24, 2008, 1:31am UTC](https://www.ruby-forum.com/t/acts-as-list-with-scope-of-current-user-possible/129998 "2008-02-24T01:31:01Z")

</div>

Subject says it all. Is it possible to user the current\_user variable from the acts as authenticated and restful authentication plugin in the scope call of an acts as list on the model?

---

## [Escaping characters in a String](https://www.ruby-forum.com/t/escaping-characters-in-a-string/129996)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 1\
**Last updated:** [February 24, 2008, 12:26am UTC](https://www.ruby-forum.com/t/escaping-characters-in-a-string/129996 "2008-02-24T00:26:06Z")

</div>

Hello, Part of my app is inputting stuff into a database, but I keep getting kicked errors because some entries have single quotes (’)… How can I escape these? Is there a string method that is similar to PHP’s ‘addsl…

---

## [Setting up my own logger for Rails](https://www.ruby-forum.com/t/setting-up-my-own-logger-for-rails/129963)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 2\
**Last updated:** [February 23, 2008, 11:13pm UTC](https://www.ruby-forum.com/t/setting-up-my-own-logger-for-rails/129963 "2008-02-23T23:13:46Z")

</div>

Hey Guys, I’m running a script that accesses Rails models via script/runner. I want to accumulate the log message in a different logfile to avoid polluting the development/test/production.log files. I’ve tried both …

---

## [Attachment\_fu: how to remove images?](https://www.ruby-forum.com/t/attachment-fu-how-to-remove-images/129982)

<div class="topic-metadata">

**Author:** [@peter](https://www.ruby-forum.com/u/peter)\
**Replies:** 3\
**Last updated:** [February 23, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/attachment-fu-how-to-remove-images/129982 "2008-02-23T21:09:49Z")

</div>

I just used attachment\_fu for the first time, and it works quite well. I have a user-model, and each of them has\_one :image (and the images belongs\_to :user). I have a question on this though: how can i remove images?…

---

## [Routing An Old URL For A File To A Controller / Action](https://www.ruby-forum.com/t/routing-an-old-url-for-a-file-to-a-controller-action/129990)

<div class="topic-metadata">

**Author:** [@digitalpardoe](https://www.ruby-forum.com/u/digitalpardoe)\
**Replies:** 0\
**Last updated:** [February 23, 2008, 9:07pm UTC](https://www.ruby-forum.com/t/routing-an-old-url-for-a-file-to-a-controller-action/129990 "2008-02-23T21:07:36Z")

</div>

Hi, Currently users to my website download files from the following structure of URL: http://thewebsitefortest.com/downloads/folder/filename.dmg I would like to make it so that when the user navigates to the above UR…

---

## [World's Largest Bondage, BDSM!](https://www.ruby-forum.com/t/worlds-largest-bondage-bdsm/129968)

<div class="topic-metadata">

**Author:** [@Verona\_dsm](https://www.ruby-forum.com/u/Verona_dsm)\
**Replies:** 1\
**Last updated:** [February 23, 2008, 8:56pm UTC](https://www.ruby-forum.com/t/worlds-largest-bondage-bdsm/129968 "2008-02-23T20:56:28Z")

</div>

http://golddating.servik.com/Largest-Bondage-BDSM-Alternative-Lifestyle.htm

---

## [One to many default values](https://www.ruby-forum.com/t/one-to-many-default-values/129970)

<div class="topic-metadata">

**Author:** [@beexk](https://www.ruby-forum.com/u/beexk)\
**Replies:** 1\
**Last updated:** [February 23, 2008, 8:36pm UTC](https://www.ruby-forum.com/t/one-to-many-default-values/129970 "2008-02-23T20:36:57Z")

</div>

Hi. I have two tables: users and pens. the relationship of user and pen is one to many. In controller, the return value is @pens(all pens belong to a specific user), but in view, i want to show out all pens’ value as…

---

## [Uneasy conditionals in views?](https://www.ruby-forum.com/t/uneasy-conditionals-in-views/129981)

<div class="topic-metadata">

**Author:** [@cujigar](https://www.ruby-forum.com/u/cujigar)\
**Replies:** 2\
**Last updated:** [February 23, 2008, 7:54pm UTC](https://www.ruby-forum.com/t/uneasy-conditionals-in-views/129981 "2008-02-23T19:54:18Z")

</div>

I have many such conditionals in my views: … ... \> ... I am specifically referring to the conditionals in the above code. They don’t look very bad. But still, Something is definitely off, this can look better. But h…

---

## [DRY - in controller or model?](https://www.ruby-forum.com/t/dry-in-controller-or-model/129941)

<div class="topic-metadata">

**Author:** [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Replies:** 12\
**Last updated:** [February 23, 2008, 6:18pm UTC](https://www.ruby-forum.com/t/dry-in-controller-or-model/129941 "2008-02-23T18:18:18Z")

</div>

Hello. I’m trying to make clean efficient code and would like to find out if there is a “BEST” way to write code. I want this to run quickly and efficiently for my app. I’ve got a form that needs a select list creat…

---

## [Where do Twitter API calls live in the framework?](https://www.ruby-forum.com/t/where-do-twitter-api-calls-live-in-the-framework/129983)

<div class="topic-metadata">

**Author:** [@ressister](https://www.ruby-forum.com/u/ressister)\
**Replies:** 0\
**Last updated:** [February 23, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/where-do-twitter-api-calls-live-in-the-framework/129983 "2008-02-23T17:46:15Z")

</div>

I have an app that interacts with the Twitter API rather heavily both for retrieving data, and for sending messages through Twitter. Currently all the Twitter interaction lives in the individual models. Where should i…

---

## [Setup IIS for ruby on rails](https://www.ruby-forum.com/t/setup-iis-for-ruby-on-rails/129079)

<div class="topic-metadata">

**Author:** [@jaan](https://www.ruby-forum.com/u/jaan)\
**Replies:** 7\
**Last updated:** [February 23, 2008, 5:35pm UTC](https://www.ruby-forum.com/t/setup-iis-for-ruby-on-rails/129079 "2008-02-23T17:35:41Z")

</div>

Hi All, I am new in learning ruby on rails. And now I’m trying to do set up for ruby on rails in IIS I follow instructions from one of site and then when I try to run the page http://localhost/index.rhtml, it comes a…

---

## [Where should I write my helper's method with domain route?](https://www.ruby-forum.com/t/where-should-i-write-my-helpers-method-with-domain-route/129972)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 1\
**Last updated:** [February 23, 2008, 11:41am UTC](https://www.ruby-forum.com/t/where-should-i-write-my-helpers-method-with-domain-route/129972 "2008-02-23T11:41:16Z")

</div>

I am using a domain route Admin class Admin::MembersController \< ApplicationController so I have my views in app \> views \> admin \> members and my helpers in app \> helpers \> admin \> members (module Admin…

---

## [Ruby with Oracle problem](https://www.ruby-forum.com/t/ruby-with-oracle-problem/128474)

<div class="topic-metadata">

**Author:** [@lxp149](https://www.ruby-forum.com/u/lxp149)\
**Replies:** 4\
**Last updated:** [February 23, 2008, 7:11am UTC](https://www.ruby-forum.com/t/ruby-with-oracle-problem/128474 "2008-02-23T07:11:33Z")

</div>

I installed Ruby with Oracle 10g and ran the ruby …mswin.rb for oracle following the Oracle Ruby FAQ. But then when I try to test the connection using the following command ruby -r oci8 -e “OCI8.new(‘cm’,‘pass’,‘datab…

---

## [Caboose Sample App?](https://www.ruby-forum.com/t/caboose-sample-app/129965)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 0\
**Last updated:** [February 23, 2008, 7:08am UTC](https://www.ruby-forum.com/t/caboose-sample-app/129965 "2008-02-23T07:08:28Z")

</div>

http://blog.caboo.se/articles/2007/4/11/sample-rails-application Any thoughts on using the caboose sample app? It seems like an interesting idea to bundle a number of the most commonly used elements of rails applicat…

---

## [Looking for a ruby on rails programmer](https://www.ruby-forum.com/t/looking-for-a-ruby-on-rails-programmer/129913)

<div class="topic-metadata">

**Author:** [@uomojon](https://www.ruby-forum.com/u/uomojon)\
**Replies:** 2\
**Last updated:** [February 23, 2008, 1:50am UTC](https://www.ruby-forum.com/t/looking-for-a-ruby-on-rails-programmer/129913 "2008-02-23T01:50:29Z")

</div>

Hello, First off I’d like to state that I’m not sure if this is the right group to post a recruiting message in. If it isn’t, I apologize in advance. I operate a small Graphic design studio in Toronto and am looking …

---

## [Script/runner has peculiar trailing messages](https://www.ruby-forum.com/t/script-runner-has-peculiar-trailing-messages/129961)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 0\
**Last updated:** [February 23, 2008, 1:35am UTC](https://www.ruby-forum.com/t/script-runner-has-peculiar-trailing-messages/129961 "2008-02-23T01:35:33Z")

</div>

Hey Guys, I’m using script/runner to execute some scripts that access rails models. It all works fine but at the end of the execution, the following is echo’ed to stdout: Loaded suite script/runner Started Finished…

---

## [Layouts and Views](https://www.ruby-forum.com/t/layouts-and-views/129956)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 2\
**Last updated:** [February 23, 2008, 1:10am UTC](https://www.ruby-forum.com/t/layouts-and-views/129956 "2008-02-23T01:10:38Z")

</div>

Hello, I have a controller which has two actions. For the first, I want to use the standard layout, but for the second, I don’t want any layout. For example: class MyController \< ApplicationController layout ‘standa…

---

## [Modal Box](https://www.ruby-forum.com/t/modal-box/129916)

<div class="topic-metadata">

**Author:** [@johnk](https://www.ruby-forum.com/u/johnk)\
**Replies:** 2\
**Last updated:** [February 23, 2008, 1:02am UTC](https://www.ruby-forum.com/t/modal-box/129916 "2008-02-23T01:02:25Z")

</div>

I am looking for the best way to create modal boxes in my RubyOnRails app. What I am looking for: a box that does not close when you click outside of the box a box that does not darken out everything outside of the b…

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

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