# Rails

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

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

---

## [ActiveScaffold simple example please!](https://www.ruby-forum.com/t/activescaffold-simple-example-please/89301)

<div class="topic-metadata">

**Author:** [@sandeepcampbell](https://www.ruby-forum.com/u/sandeepcampbell)\
**Replies:** 1\
**Last updated:** [March 19, 2007, 4:09pm UTC](https://www.ruby-forum.com/t/activescaffold-simple-example-please/89301 "2007-03-19T16:09:44Z")

</div>

Hi Could someone please point me to a simple ActiveScaffold example that I can copy and see if this thing works. The example given on their site does not work for me. I am trying to learn this stuff (Rails) but every …

---

## [Params & Class Methods](https://www.ruby-forum.com/t/params-class-methods/89315)

<div class="topic-metadata">

**Author:** [@rimas.silkaitis](https://www.ruby-forum.com/u/rimas.silkaitis)\
**Replies:** 2\
**Last updated:** [March 19, 2007, 3:58pm UTC](https://www.ruby-forum.com/t/params-class-methods/89315 "2007-03-19T15:58:39Z")

</div>

Hello all! This is my first time posting to the list, so be gentle. :wink: Here’s my setup… I’ve created a controller class method for performing some access control actions during a before\_filter callback. What I…

---

## [Recommended restful application examples?](https://www.ruby-forum.com/t/recommended-restful-application-examples/89317)

<div class="topic-metadata">

**Author:** [@jgrosjean](https://www.ruby-forum.com/u/jgrosjean)\
**Replies:** 2\
**Last updated:** [March 19, 2007, 3:43pm UTC](https://www.ruby-forum.com/t/recommended-restful-application-examples/89317 "2007-03-19T15:43:56Z")

</div>

I’m relatively new to rails. I’ve read some books, but still have 't done much actual rails programming. So at this point I feel like I can pretty much make rails do what I want, but most of the time I’m not really su…

---

## [HOWTO: Multiple file upload with file\_column](https://www.ruby-forum.com/t/howto-multiple-file-upload-with-file-column/89257)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 1\
**Last updated:** [March 19, 2007, 3:42pm UTC](https://www.ruby-forum.com/t/howto-multiple-file-upload-with-file-column/89257 "2007-03-19T15:42:25Z")

</div>

Lots of requests but not many answers on this topic. Here is how you do it: FORM: \<% for i in 1..6 %\> Title " name="\<%= "picture\[#{i}\]\[title\]" %\>" size="30" type="text" /\> Image " name="\<%= …

---

## [Apache - Rails - Plesk Stats](https://www.ruby-forum.com/t/apache-rails-plesk-stats/89316)

<div class="topic-metadata">

**Author:** [@Peter\_De\_Berdt](https://www.ruby-forum.com/u/Peter_De_Berdt)\
**Replies:** 0\
**Last updated:** [March 19, 2007, 3:06pm UTC](https://www.ruby-forum.com/t/apache-rails-plesk-stats/89316 "2007-03-19T15:06:12Z")

</div>

Hi I’m using plesk for my domain management and by default, plesk-stats should be accessible from http://www.mydomain.com/plesk-stat/. I’m using a wildcard domain for my rails app (because user accounts are determine…

---

## [RMagick PNG issue](https://www.ruby-forum.com/t/rmagick-png-issue/89265)

<div class="topic-metadata">

**Author:** [@Serdar\_KSSSSlSSSSSS](https://www.ruby-forum.com/u/Serdar_KSSSSlSSSSSS)\
**Replies:** 1\
**Last updated:** [March 19, 2007, 1:32pm UTC](https://www.ruby-forum.com/t/rmagick-png-issue/89265 "2007-03-19T13:32:25Z")

</div>

Hello all, I have a small routine to upload images from a browser and save them on the server utilising RMagick (v1.15.3). Things are working well as long as the image format is JPG, if I try using a PNG image it barf…

---

## ["acts\_as\_field" behaviour for model function](https://www.ruby-forum.com/t/acts-as-field-behaviour-for-model-function/89309)

<div class="topic-metadata">

**Author:** [@apie](https://www.ruby-forum.com/u/apie)\
**Replies:** 3\
**Last updated:** [March 19, 2007, 1:28pm UTC](https://www.ruby-forum.com/t/acts-as-field-behaviour-for-model-function/89309 "2007-03-19T13:28:58Z")

</div>

Hi I want to create a model attribute that looks exactly like a db field but is infact the result of a model function. Example I have a user with name and surname. I want to be able to do @user.fullname which will …

---

## [Simply Helpful - Is it being used?](https://www.ruby-forum.com/t/simply-helpful-is-it-being-used/88476)

<div class="topic-metadata">

**Author:** [@yitzhakbg](https://www.ruby-forum.com/u/yitzhakbg)\
**Replies:** 24\
**Last updated:** [March 19, 2007, 12:59pm UTC](https://www.ruby-forum.com/t/simply-helpful-is-it-being-used/88476 "2007-03-19T12:59:38Z")

</div>

There is a reference in “Agile Web D. with Rails”, 2nd edition (footnote on page 483) to the effect that “Simply Helpful”, which is to facilitate integration of models, REST and form\_for, will likely end up in core Ra…

---

## [Handling validation failures on hasmany through records](https://www.ruby-forum.com/t/handling-validation-failures-on-hasmany-through-records/89050)

<div class="topic-metadata">

**Author:** [@Will\_Merrell](https://www.ruby-forum.com/u/Will_Merrell)\
**Replies:** 7\
**Last updated:** [March 19, 2007, 12:12pm UTC](https://www.ruby-forum.com/t/handling-validation-failures-on-hasmany-through-records/89050 "2007-03-19T12:12:11Z")

</div>

Hi all, I am fairly new to Ruby and RoR but am making pretty good progress. But this has me stumped and I wonder if anyone can point me in the right direction. I haven’t been able to find any examples on the web that …

---

## [Collections and hardcoded options](https://www.ruby-forum.com/t/collections-and-hardcoded-options/89271)

<div class="topic-metadata">

**Author:** [@RJRJRJ](https://www.ruby-forum.com/u/RJRJRJ)\
**Replies:** 4\
**Last updated:** [March 19, 2007, 11:39am UTC](https://www.ruby-forum.com/t/collections-and-hardcoded-options/89271 "2007-03-19T11:39:33Z")

</div>

Hello all. I am having a bit of a mind blank and was wondering if anyone could give me a hand. I am planning on grouping users. These groups will be hardcoded somewhere. When I create a user I will assign them to a g…

---

## [Upload File](https://www.ruby-forum.com/t/upload-file/89281)

<div class="topic-metadata">

**Author:** [@hasana](https://www.ruby-forum.com/u/hasana)\
**Replies:** 1\
**Last updated:** [March 19, 2007, 11:27am UTC](https://www.ruby-forum.com/t/upload-file/89281 "2007-03-19T11:27:32Z")

</div>

How to upload file to database for example file jpeg.

---

## [Introducing myself](https://www.ruby-forum.com/t/introducing-myself/89276)

<div class="topic-metadata">

**Author:** [@jfricci](https://www.ruby-forum.com/u/jfricci)\
**Replies:** 1\
**Last updated:** [March 19, 2007, 11:10am UTC](https://www.ruby-forum.com/t/introducing-myself/89276 "2007-03-19T11:10:29Z")

</div>

I am new to this group and would like to introduce myself. I am the President of US AngelInvestors,an angel investor group in Silicon Valley,and also founder of Bay Area Startup Network a networking group in the Bay A…

---

## [Deployment Help for a Newbie](https://www.ruby-forum.com/t/deployment-help-for-a-newbie/89272)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 19, 2007, 11:08am UTC](https://www.ruby-forum.com/t/deployment-help-for-a-newbie/89272 "2007-03-19T11:08:28Z")

</div>

Could someone please tell me how to deploy my app to Planet Argon. I need step-by-step instructions. TIA.

---

## [File\_column validation ignored](https://www.ruby-forum.com/t/file-column-validation-ignored/88040)

<div class="topic-metadata">

**Author:** [@robert](https://www.ruby-forum.com/u/robert)\
**Replies:** 3\
**Last updated:** [March 19, 2007, 10:58am UTC](https://www.ruby-forum.com/t/file-column-validation-ignored/88040 "2007-03-19T10:58:27Z")

</div>

I’m using the file\_column plugin to upload a small avatar, but when I do this: @user.update\_attribute(“picture”, params\[:user\]\[:picture\]) … it completely ignores the validations I’ve set for the element before: vali…

---

## [Site Map solution](https://www.ruby-forum.com/t/site-map-solution/89296)

<div class="topic-metadata">

**Author:** [@eizesus](https://www.ruby-forum.com/u/eizesus)\
**Replies:** 0\
**Last updated:** [March 19, 2007, 10:55am UTC](https://www.ruby-forum.com/t/site-map-solution/89296 "2007-03-19T10:55:53Z")

</div>

hopefully this will help some of you

---

## [Model method missing](https://www.ruby-forum.com/t/model-method-missing/89277)

<div class="topic-metadata">

**Author:** [@filipk](https://www.ruby-forum.com/u/filipk)\
**Replies:** 2\
**Last updated:** [March 19, 2007, 10:31am UTC](https://www.ruby-forum.com/t/model-method-missing/89277 "2007-03-19T10:31:04Z")

</div>

I extended one of my model classes with a method, like this: class Poll \< ActiveRecord::Base has\_many :poll\_answers def find\_active\_for # \[…\] method body end end However, when I tried this in the controller class: …

---

## [Help with find in activerecord](https://www.ruby-forum.com/t/help-with-find-in-activerecord/89263)

<div class="topic-metadata">

**Author:** [@jack.tang](https://www.ruby-forum.com/u/jack.tang)\
**Replies:** 2\
**Last updated:** [March 19, 2007, 8:08am UTC](https://www.ruby-forum.com/t/help-with-find-in-activerecord/89263 "2007-03-19T08:08:03Z")

</div>

Hi How can I translate this sql using find(\*args) in activerecord? select x., y., count(distinct y.name) as name\_count from x,y where x.id1 = y.id2 group by y.name order by name\_count X.find(:all, :select =\> “x.,…

---

## [Radrails](https://www.ruby-forum.com/t/radrails/89266)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 19, 2007, 7:04am UTC](https://www.ruby-forum.com/t/radrails/89266 "2007-03-19T07:04:00Z")

</div>

seems radrails.org is down. i’m new to ruby so i don’t know how long it has been. i did a bit of research and found that aptana.com has taken it over. hope this helps anyone who didn’t know that. maybe we can update t…

---

## [Looking for Technical Partner in Houston area Startup](https://www.ruby-forum.com/t/looking-for-technical-partner-in-houston-area-startup/89273)

<div class="topic-metadata">

**Author:** [@horatioB](https://www.ruby-forum.com/u/horatioB)\
**Replies:** 0\
**Last updated:** [March 19, 2007, 6:39am UTC](https://www.ruby-forum.com/t/looking-for-technical-partner-in-houston-area-startup/89273 "2007-03-19T06:39:58Z")

</div>

I am searching for someone in the Houston area who has experience in RoR and general web application development. The idea is loosley based on social networking in a B2B setting. The market is already proven to be l…

---

## [Problem with MyOpenID.com Simple Registration Extension](https://www.ruby-forum.com/t/problem-with-myopenid-com-simple-registration-extension/89260)

<div class="topic-metadata">

**Author:** [@dondi](https://www.ruby-forum.com/u/dondi)\
**Replies:** 2\
**Last updated:** [March 19, 2007, 5:46am UTC](https://www.ruby-forum.com/t/problem-with-myopenid-com-simple-registration-extension/89260 "2007-03-19T05:46:55Z")

</div>

I’m having problems with Simple Registration Extension with the Ruby OpenID Login Generator. The code executes without error; but the provider apparently returns only the sreg.email field, and none of the others (e.g.…

---

## [Issues with Tests](https://www.ruby-forum.com/t/issues-with-tests/89258)

<div class="topic-metadata">

**Author:** [@keynan](https://www.ruby-forum.com/u/keynan)\
**Replies:** 4\
**Last updated:** [March 19, 2007, 5:07am UTC](https://www.ruby-forum.com/t/issues-with-tests/89258 "2007-03-19T05:07:09Z")

</div>

Test Code: def setup @controller = SettingsController.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new @request.session\[:user\_id\] = User.find(1) @request.session\[…

---

## [PGError "unknown column" on polymorphic association column](https://www.ruby-forum.com/t/pgerror-unknown-column-on-polymorphic-association-column/89264)

<div class="topic-metadata">

**Author:** [@fbeausoleil](https://www.ruby-forum.com/u/fbeausoleil)\
**Replies:** 0\
**Last updated:** [March 19, 2007, 4:48am UTC](https://www.ruby-forum.com/t/pgerror-unknown-column-on-polymorphic-association-column/89264 "2007-03-19T04:48:51Z")

</div>

Hi all ! This is very strange. I am attempting to get my application running on PostgreSQL (from MySQL), and I get this error: ActiveRecord::StatementInvalid: PGError: ERREUR: la colonne «Party» n’existe pas : SEL…

---

## [Spider site script?](https://www.ruby-forum.com/t/spider-site-script/89211)

<div class="topic-metadata">

**Author:** [@scot](https://www.ruby-forum.com/u/scot)\
**Replies:** 1\
**Last updated:** [March 19, 2007, 3:57am UTC](https://www.ruby-forum.com/t/spider-site-script/89211 "2007-03-19T03:57:49Z")

</div>

Hi, Is anyone aware of any scripts that have all ready ben written that will spider a given site? Thanks Scot

---

## [Defining custom functions to use in views](https://www.ruby-forum.com/t/defining-custom-functions-to-use-in-views/89255)

<div class="topic-metadata">

**Author:** [@and80](https://www.ruby-forum.com/u/and80)\
**Replies:** 2\
**Last updated:** [March 19, 2007, 3:29am UTC](https://www.ruby-forum.com/t/defining-custom-functions-to-use-in-views/89255 "2007-03-19T03:29:45Z")

</div>

Hi all, I am new to rails, so please forget this newbie question… I would like to add a function for calculating the elapsed time from the date of a post and the moment when the page is retrieved (Yes, I am sure 1mil…

---

## [Ruby development](https://www.ruby-forum.com/t/ruby-development/89256)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [March 19, 2007, 3:27am UTC](https://www.ruby-forum.com/t/ruby-development/89256 "2007-03-19T03:27:45Z")

</div>

I haven’t begun learning ruby yet, soon though. I currently develop web apps using eclipse on linux. I’m looking for a new platform to develop in that will support ruby on rails along with other web languages (ajax et…

---

## [Periodically\_call\_remote eating up lots of CPU](https://www.ruby-forum.com/t/periodically-call-remote-eating-up-lots-of-cpu/89094)

<div class="topic-metadata">

**Author:** [@Diego](https://www.ruby-forum.com/u/Diego)\
**Replies:** 4\
**Last updated:** [March 19, 2007, 2:59am UTC](https://www.ruby-forum.com/t/periodically-call-remote-eating-up-lots-of-cpu/89094 "2007-03-19T02:59:42Z")

</div>

Hi all, I am having a problem where when I call periodically\_call\_remote the CPU usage goes really high and I have to kill the browser to return the system to normal. I have the following remote call: \<%= periodicall…

---

## [Development roadmap & agility](https://www.ruby-forum.com/t/development-roadmap-agility/89252)

<div class="topic-metadata">

**Author:** [@Pierre-Alexandre\_M](https://www.ruby-forum.com/u/Pierre-Alexandre_M)\
**Replies:** 3\
**Last updated:** [March 19, 2007, 2:36am UTC](https://www.ruby-forum.com/t/development-roadmap-agility/89252 "2007-03-19T02:36:41Z")

</div>

Hi, I have a question about general development methods in the context of agile development. I’m currently reading ‘practices of an agile developer’ and it’s said that feedback and interaction with customers are real…

---

## [Query\_string examples?](https://www.ruby-forum.com/t/query-string-examples/89225)

<div class="topic-metadata">

**Author:** [@dankitania](https://www.ruby-forum.com/u/dankitania)\
**Replies:** 2\
**Last updated:** [March 19, 2007, 1:32am UTC](https://www.ruby-forum.com/t/query-string-examples/89225 "2007-03-19T01:32:02Z")

</div>

I’m listing something (people, say) in a column at the left of my page, and in a column to the right, I’d like to have some links that would let the site reader choose the listing order (by age, by name, etc.) In PHP …

---

## [Looking for Outsourced RoR](https://www.ruby-forum.com/t/looking-for-outsourced-ror/89250)

<div class="topic-metadata">

**Author:** [@mesattack](https://www.ruby-forum.com/u/mesattack)\
**Replies:** 0\
**Last updated:** [March 19, 2007, 12:23am UTC](https://www.ruby-forum.com/t/looking-for-outsourced-ror/89250 "2007-03-19T00:23:33Z")

</div>

I am looking to outsource an extensive project to India. Can anyone recommend a firm to work with there? We are using RoR and ajax (skills needed) connecting to net kernel with a mulgara db. Please email me at mark.…

---

## [Help with tests/rake issues](https://www.ruby-forum.com/t/help-with-tests-rake-issues/89251)

<div class="topic-metadata">

**Author:** [@maunzinha](https://www.ruby-forum.com/u/maunzinha)\
**Replies:** 0\
**Last updated:** [March 19, 2007, 12:10am UTC](https://www.ruby-forum.com/t/help-with-tests-rake-issues/89251 "2007-03-19T00:10:32Z")

</div>

Hi All, I have run into an odd issue in rails/tests (it might actually be a bug). Unlike most rails apps, I have changed the id column in my tables to be char(32). There are many reasons for this, so don’t ask :wink: …

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

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