# Rails

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

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

---

## [Need some help with controlers](https://www.ruby-forum.com/t/need-some-help-with-controlers/105247)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 3\
**Last updated:** [May 28, 2007, 3:03am UTC](https://www.ruby-forum.com/t/need-some-help-with-controlers/105247 "2007-05-28T03:03:35Z")

</div>

I am tring to set up a my directory structure for the pages. Right now i have /admin/news.rhtml and admin and news are controlers. Now i need to make the news section to be the place where i add all the news articals …

---

## [Help with MySQL Select, Update and Ajax.Request/Updater](https://www.ruby-forum.com/t/help-with-mysql-select-update-and-ajax-request-updater/105248)

<div class="topic-metadata">

**Author:** [@tazsingh](https://www.ruby-forum.com/u/tazsingh)\
**Replies:** 1\
**Last updated:** [May 28, 2007, 2:49am UTC](https://www.ruby-forum.com/t/help-with-mysql-select-update-and-ajax-request-updater/105248 "2007-05-28T02:49:17Z")

</div>

Hi I am fairly new to Rails but I have done a lot of stuff in PHP. I’m not sure why this isn’t working, but I have tried a lot of ways to do the same thing. Please let me know what you think. What I’m trying to do is…

---

## [Integration with Flash](https://www.ruby-forum.com/t/integration-with-flash/105092)

<div class="topic-metadata">

**Author:** [@pk16](https://www.ruby-forum.com/u/pk16)\
**Replies:** 13\
**Last updated:** [May 28, 2007, 2:48am UTC](https://www.ruby-forum.com/t/integration-with-flash/105092 "2007-05-28T02:48:17Z")

</div>

Hi, I have a requirement to integrate a rails app with flash content, in particular a flash banner with scrolling pictures. Can anyone provide some links to doc’s or advice on how to do this. The user also likes the …

---

## [Faking it... import local files into attachment\_fu](https://www.ruby-forum.com/t/faking-it-import-local-files-into-attachment-fu/88484)

<div class="topic-metadata">

**Author:** [@mcginniwa](https://www.ruby-forum.com/u/mcginniwa)\
**Replies:** 4\
**Last updated:** [May 28, 2007, 1:18am UTC](https://www.ruby-forum.com/t/faking-it-import-local-files-into-attachment-fu/88484 "2007-05-28T01:18:12Z")

</div>

Hello, I’m working on an import utility that will match the functionality of uploading an object of a model that uses attachment\_fu for thumbnailing, etc. Rather than uploading the file via a form, I want to populate…

---

## [Select i a partial](https://www.ruby-forum.com/t/select-i-a-partial/105207)

<div class="topic-metadata">

**Author:** [@eagoweb](https://www.ruby-forum.com/u/eagoweb)\
**Replies:** 3\
**Last updated:** [May 27, 2007, 11:59pm UTC](https://www.ruby-forum.com/t/select-i-a-partial/105207 "2007-05-27T23:59:50Z")

</div>

Hello i got this partial \_form \<%= error\_messages\_for :product %\> Name \<%= text\_field 'product', 'name' %\> Description \<%= text\_area 'product', 'description' %\> Category \<%= select(:id,'category',@categories) …

---

## [Firebird Character Set](https://www.ruby-forum.com/t/firebird-character-set/105245)

<div class="topic-metadata">

**Author:** [@Anderson\_Farias](https://www.ruby-forum.com/u/Anderson_Farias)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 11:15pm UTC](https://www.ruby-forum.com/t/firebird-character-set/105245 "2007-05-27T23:15:58Z")

</div>

I´m trying to configure iso8859\_1 character set for my fireruby connection with no luck. my database.yml looks like:: development: adapter: firebird database: rails\_app host: localhost charset: ISO8859\_1 but it…

---

## [Implementing Web Services with Ruby on Rails](https://www.ruby-forum.com/t/implementing-web-services-with-ruby-on-rails/105140)

<div class="topic-metadata">

**Author:** [@SR123](https://www.ruby-forum.com/u/SR123)\
**Replies:** 3\
**Last updated:** [May 27, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/implementing-web-services-with-ruby-on-rails/105140 "2007-05-27T20:13:45Z")

</div>

Are you implementing web services (SOA) with Ruby on Rails today? What are you using and how is it working for you. Thanks! SR123

---

## [Mailer Setup Problems](https://www.ruby-forum.com/t/mailer-setup-problems/105194)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 7\
**Last updated:** [May 27, 2007, 7:22pm UTC](https://www.ruby-forum.com/t/mailer-setup-problems/105194 "2007-05-27T19:22:38Z")

</div>

I’m having trouble configuring a mailer. Prudence would dictate that I should upload at least portions of the relevant files, etc. If it comes to that, I’ll certainly do it. However, before I go that route I would re…

---

## [Helping needy children and Promoting yourself/company/produc](https://www.ruby-forum.com/t/helping-needy-children-and-promoting-yourself-company-produc/105229)

<div class="topic-metadata">

**Author:** [@A.MrBonus](https://www.ruby-forum.com/u/A.MrBonus)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 6:03pm UTC](https://www.ruby-forum.com/t/helping-needy-children-and-promoting-yourself-company-produc/105229 "2007-05-27T18:03:32Z")

</div>

Helping needy children and Promoting yourself/company/products meanwhile Dear Friends, Would you like to promote yourself/your company/products through a very significant and innovative way? Half of the world’s poor…

---

## [How to fix this?](https://www.ruby-forum.com/t/how-to-fix-this/105222)

<div class="topic-metadata">

**Author:** [@Datou](https://www.ruby-forum.com/u/Datou)\
**Replies:** 1\
**Last updated:** [May 27, 2007, 5:35pm UTC](https://www.ruby-forum.com/t/how-to-fix-this/105222 "2007-05-27T17:35:07Z")

</div>

Rails generates code like this: This code do not work properly in IE6. I want to change the code like this: How? Thanks.

---

## [Any way to store instance of ActiveRecord as a string in dat](https://www.ruby-forum.com/t/any-way-to-store-instance-of-activerecord-as-a-string-in-dat/105206)

<div class="topic-metadata">

**Author:** [@David\_Badawi](https://www.ruby-forum.com/u/David_Badawi)\
**Replies:** 2\
**Last updated:** [May 27, 2007, 5:25pm UTC](https://www.ruby-forum.com/t/any-way-to-store-instance-of-activerecord-as-a-string-in-dat/105206 "2007-05-27T17:25:29Z")

</div>

Greetings, I was wondering if any one had a suggestion for how I should approach a problem: I am interested in storing an instance of ActiveRecord as a string in a database and reconstituting or converting it back in…

---

## [Scaffold and foreign keys](https://www.ruby-forum.com/t/scaffold-and-foreign-keys/105221)

<div class="topic-metadata">

**Author:** [@phirefly](https://www.ruby-forum.com/u/phirefly)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 4:13pm UTC](https://www.ruby-forum.com/t/scaffold-and-foreign-keys/105221 "2007-05-27T16:13:22Z")

</div>

Hello, I create a migration to add a foreign key ‘page\_id’ to a table ‘main\_sections’. After running the migration and adding the column, the scaffol that I have on the main\_setions table does not add the foreign key…

---

## [Rails adoption questions](https://www.ruby-forum.com/t/rails-adoption-questions/105066)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [May 27, 2007, 3:42pm UTC](https://www.ruby-forum.com/t/rails-adoption-questions/105066 "2007-05-27T15:42:19Z")

</div>

For my thesis I’m constructing a questionnaire and I would like to know your opinion about it and perhaps additional questions. The research will focus on the adoption factors and demographic characteristics of compan…

---

## [Rails developer required](https://www.ruby-forum.com/t/rails-developer-required/105216)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 2:50pm UTC](https://www.ruby-forum.com/t/rails-developer-required/105216 "2007-05-27T14:50:59Z")

</div>

Hi, I am looking for a developer to work on a freelance basis to speed up a development of a new app. You will need to have past experience along with a good knowledge of Edge Rails. To start with, please provide 1 e…

---

## [Passing several instant variables to a rjs file](https://www.ruby-forum.com/t/passing-several-instant-variables-to-a-rjs-file/105177)

<div class="topic-metadata">

**Author:** [@jochen\_kaechelin](https://www.ruby-forum.com/u/jochen_kaechelin)\
**Replies:** 1\
**Last updated:** [May 27, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/passing-several-instant-variables-to-a-rjs-file/105177 "2007-05-27T13:24:00Z")

</div>

I have controller: def liste @tags\_pages, @tags = paginate(:tags, :order =\> “tags desc”) end and a RJS-file (liste.rjs): page\[:main\].replace\_html :partial =\> “liste”, :object =\> @tags ??? and a RHTML-file (\_liste.…

---

## [Forms filled at initialization?](https://www.ruby-forum.com/t/forms-filled-at-initialization/105182)

<div class="topic-metadata">

**Author:** [@hpacheco](https://www.ruby-forum.com/u/hpacheco)\
**Replies:** 2\
**Last updated:** [May 27, 2007, 10:06am UTC](https://www.ruby-forum.com/t/forms-filled-at-initialization/105182 "2007-05-27T10:06:38Z")

</div>

Hi, I’ve created some a form for filling some signup information for an user. Now i need to reuse the same code to create an ‘edit information’ form, what means that the forms needs to be initialized with the values…

---

## [Question about inherit models and view](https://www.ruby-forum.com/t/question-about-inherit-models-and-view/105203)

<div class="topic-metadata">

**Author:** [@Magicloud](https://www.ruby-forum.com/u/Magicloud)\
**Replies:** 1\
**Last updated:** [May 27, 2007, 9:27am UTC](https://www.ruby-forum.com/t/question-about-inherit-models-and-view/105203 "2007-05-27T09:27:33Z")

</div>

I have some models like this: class A \< ActiveRecord; end class B \< A; end Now I want to use an action ‘list’ to list out both As and Bs, and I hope every item shows depending on it model. Like this: A1: name=xx, age=y…

---

## [Rake error](https://www.ruby-forum.com/t/rake-error/105200)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 2\
**Last updated:** [May 27, 2007, 6:37am UTC](https://www.ruby-forum.com/t/rake-error/105200 "2007-05-27T06:37:24Z")

</div>

I posted this on Ruby T. but then I realized I probably should of posted it here instead… I receive this error when running a rake command: $ rake db:migrate (in /Users/jeremy/rails/depot) dyld: NSLinkModule() error …

---

## [Why are files in publyic done differently?](https://www.ruby-forum.com/t/why-are-files-in-publyic-done-differently/105208)

<div class="topic-metadata">

**Author:** [@arjackson](https://www.ruby-forum.com/u/arjackson)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 6:27am UTC](https://www.ruby-forum.com/t/why-are-files-in-publyic-done-differently/105208 "2007-05-27T06:27:32Z")

</div>

Hi all, With engines, the general use case is to create your own local methods to override any classes the engine creates. Why then are assets (ie stylesheets/javascripts etc) treated differently? They’re copied to …

---

## [Background tasks race conditions](https://www.ruby-forum.com/t/background-tasks-race-conditions/105145)

<div class="topic-metadata">

**Author:** [@rpm13](https://www.ruby-forum.com/u/rpm13)\
**Replies:** 1\
**Last updated:** [May 27, 2007, 6:11am UTC](https://www.ruby-forum.com/t/background-tasks-race-conditions/105145 "2007-05-27T06:11:22Z")

</div>

I need to run some cron jobs that clean up a table T which is used and created by the foreground rails controller. This could naturally lead to synchronization issues/race conditions etc eg. Let RC = rails controller…

---

## [Engines And Controller Modules](https://www.ruby-forum.com/t/engines-and-controller-modules/104022)

<div class="topic-metadata">

**Author:** [@Eric\_Jensen](https://www.ruby-forum.com/u/Eric_Jensen)\
**Replies:** 1\
**Last updated:** [May 27, 2007, 6:09am UTC](https://www.ruby-forum.com/t/engines-and-controller-modules/104022 "2007-05-27T06:09:56Z")

</div>

I’ve been using engines over the weekend and have been very pleased with my smaller test apps. But I’m now trying a more complex app and running into some issues. This app uses the controller modules, I.E. class Adm…

---

## [Rake aborted! Object is not missing constant LoginEngine!](https://www.ruby-forum.com/t/rake-aborted-object-is-not-missing-constant-loginengine/104646)

<div class="topic-metadata">

**Author:** [@javier\_barcena](https://www.ruby-forum.com/u/javier_barcena)\
**Replies:** 1\
**Last updated:** [May 27, 2007, 5:58am UTC](https://www.ruby-forum.com/t/rake-aborted-object-is-not-missing-constant-loginengine/104646 "2007-05-27T05:58:23Z")

</div>

Hello James. a question. because I have east error. stick the code therefore you help me. thanks. dummies javier@dummies:~/rails\_app/martina$ script/generate plugin\_migration create db/migrate create db/migrate/001…

---

## [Rais generated HTML](https://www.ruby-forum.com/t/rais-generated-html/105201)

<div class="topic-metadata">

**Author:** [@hpacheco](https://www.ruby-forum.com/u/hpacheco)\
**Replies:** 3\
**Last updated:** [May 27, 2007, 5:42am UTC](https://www.ruby-forum.com/t/rais-generated-html/105201 "2007-05-27T05:42:20Z")

</div>

A very very very lamme question: how can I see rails generated html?? really sory for the “spam” hugo

---

## [Is engine for me or how do i solve this with engine?](https://www.ruby-forum.com/t/is-engine-for-me-or-how-do-i-solve-this-with-engine/93208)

<div class="topic-metadata">

**Author:** [@Linn\_Hutchinson](https://www.ruby-forum.com/u/Linn_Hutchinson)\
**Replies:** 1\
**Last updated:** [May 27, 2007, 5:08am UTC](https://www.ruby-forum.com/t/is-engine-for-me-or-how-do-i-solve-this-with-engine/93208 "2007-05-27T05:08:36Z")

</div>

Hi: I have many small rails app under i.e app1, app2, app3 these are all independent applications except they all uses “same database”. Now I was thinking I would make a “common app” which can become an engine. Which …

---

## [Migration not working on sqlite3, works on MySQL](https://www.ruby-forum.com/t/migration-not-working-on-sqlite3-works-on-mysql/105129)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [May 27, 2007, 2:20am UTC](https://www.ruby-forum.com/t/migration-not-working-on-sqlite3-works-on-mysql/105129 "2007-05-27T02:20:05Z")

</div>

I’m working through AWDwRoRv2 and have run into a snag on page 80. The code is a migration: http://pastie.textmate.org/64674 The error I get occurs when I run “rake db:migrate” using sqlite3 as my database: SQLite3:…

---

## [Tree view](https://www.ruby-forum.com/t/tree-view/105120)

<div class="topic-metadata">

**Author:** [@damaris](https://www.ruby-forum.com/u/damaris)\
**Replies:** 1\
**Last updated:** [May 27, 2007, 1:30am UTC](https://www.ruby-forum.com/t/tree-view/105120 "2007-05-27T01:30:06Z")

</div>

Hi you all, I’m searching for a happy plugin or generator to create a tree view for data which don’t come from ActiveRecord, but from a file. I’ve seen TreeView \[1\] can save me :smiley: Have you use it? Do you have …

---

## [Netbeans IDE 'support for rails' Update - "Ruby Screenshot o](https://www.ruby-forum.com/t/netbeans-ide-support-for-rails-update-ruby-screenshot-o/105189)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 2\
**Last updated:** [May 26, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/netbeans-ide-support-for-rails-update-ruby-screenshot-o/105189 "2007-05-26T23:50:53Z")

</div>

FYI - Latest post from Sun showing the latest Ruby/Rails support for Netbeans IDE. http://blogs.sun.com/tor/entry/ruby\_screenshot\_of\_the\_week11 http://blogs.sun.com/tor/entry/ruby\_screenshot\_of\_the\_week11 The Netbean…

---

## [Counting the page views](https://www.ruby-forum.com/t/counting-the-page-views/105180)

<div class="topic-metadata">

**Author:** [@gorter9](https://www.ruby-forum.com/u/gorter9)\
**Replies:** 4\
**Last updated:** [May 26, 2007, 10:13pm UTC](https://www.ruby-forum.com/t/counting-the-page-views/105180 "2007-05-26T22:13:14Z")

</div>

I try to find a way to count the pageviews in the database In my show page i have \<%= @advert.views %\> In the model i have this def views self.views =+ 1 end For now i only get number 1 when I view the page and th…

---

## [Incompatible marshal file format](https://www.ruby-forum.com/t/incompatible-marshal-file-format/105179)

<div class="topic-metadata">

**Author:** [@Tom\_Wadlow](https://www.ruby-forum.com/u/Tom_Wadlow)\
**Replies:** 0\
**Last updated:** [May 26, 2007, 7:57pm UTC](https://www.ruby-forum.com/t/incompatible-marshal-file-format/105179 "2007-05-26T19:57:29Z")

</div>

Hi, I’ve written a RoR application that I would like to be able to deploy more widely, but I’m running into a rather peculiar problem with it. First, some context. Here’s what I’ve got installed: actionmailer (1.3.3…

---

## [List articles by category](https://www.ruby-forum.com/t/list-articles-by-category/104978)

<div class="topic-metadata">

**Author:** [@james-calivar](https://www.ruby-forum.com/u/james-calivar)\
**Replies:** 1\
**Last updated:** [May 26, 2007, 6:15pm UTC](https://www.ruby-forum.com/t/list-articles-by-category/104978 "2007-05-26T18:15:18Z")

</div>

I am new at Rails, I have a number of articles excerpts etc that I want to organise in a blog like format. I am nearly finished, but now I want to have a list of categories (dynamically created from a MySQL table) whi…

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

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