# Rails

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

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

---

## [Plugins with controllers](https://www.ruby-forum.com/t/plugins-with-controllers/91862)

<div class="topic-metadata">

**Author:** [@sfwalter](https://www.ruby-forum.com/u/sfwalter)\
**Replies:** 0\
**Last updated:** [April 12, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/plugins-with-controllers/91862 "2007-04-12T22:21:09Z")

</div>

Hi, I am having a heck of a time with controllers with plugins. I am using the “acts\_as\_authenticated” and after a second request I get the following error from one of my controllers inside the plugin: “A copy of Au…

---

## [Mysql native binding gem update issues](https://www.ruby-forum.com/t/mysql-native-binding-gem-update-issues/91861)

<div class="topic-metadata">

**Author:** [@David\_JSOrman](https://www.ruby-forum.com/u/David_JSOrman)\
**Replies:** 0\
**Last updated:** [April 12, 2007, 10:19pm UTC](https://www.ruby-forum.com/t/mysql-native-binding-gem-update-issues/91861 "2007-04-12T22:19:09Z")

</div>

A couple questions concerning the native mysql binding gem. #1 - Why does it not search PATH for mysql\_config so I don’t have to keep specifying it on the command line? #2 - Why does it always prompt me to reinstall w…

---

## [Yajb breaks when i upgrade to rails 1.2](https://www.ruby-forum.com/t/yajb-breaks-when-i-upgrade-to-rails-1-2/91821)

<div class="topic-metadata">

**Author:** [@stewbawka](https://www.ruby-forum.com/u/stewbawka)\
**Replies:** 3\
**Last updated:** [April 12, 2007, 10:15pm UTC](https://www.ruby-forum.com/t/yajb-breaks-when-i-upgrade-to-rails-1-2/91821 "2007-04-12T22:15:09Z")

</div>

My awesome java bridge solution has been rendered useless when i upgrade my rails. i’ve frozen rails to the old version for now, but am in desperate need of a solution. details: worked fine before, but since updating …

---

## [Referring to mp3 files not in a database](https://www.ruby-forum.com/t/referring-to-mp3-files-not-in-a-database/91631)

<div class="topic-metadata">

**Author:** [@steve](https://www.ruby-forum.com/u/steve)\
**Replies:** 4\
**Last updated:** [April 12, 2007, 10:01pm UTC](https://www.ruby-forum.com/t/referring-to-mp3-files-not-in-a-database/91631 "2007-04-12T22:01:07Z")

</div>

Where I can place mp3 files that I would like to have a link to within one of my views? The catch is that I do not want to create a database for these files, I just want to refer to them within the application folders…

---

## [\[ANN\] FlexImage update](https://www.ruby-forum.com/t/ann-fleximage-update/91855)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 0\
**Last updated:** [April 12, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/ann-fleximage-update/91855 "2007-04-12T21:46:05Z")

</div>

FlexiImage, the image processing plugin for Rails, was just updated. Mainly it fixes a huge bug that screwed things up if you had more than one FlexImage::Model class in your app. More details here: http://beautifulp…

---

## [Flex\_image has a bug because of class variables/inheritance](https://www.ruby-forum.com/t/flex-image-has-a-bug-because-of-class-variables-inheritance/87100)

<div class="topic-metadata">

**Author:** [@dcarneiro](https://www.ruby-forum.com/u/dcarneiro)\
**Replies:** 1\
**Last updated:** [April 12, 2007, 9:44pm UTC](https://www.ruby-forum.com/t/flex-image-has-a-bug-because-of-class-variables-inheritance/87100 "2007-04-12T21:44:15Z")

</div>

FlexImage has a serious bug at the moment because, internally, it stores the file\_store value of its file-stored subclasses in a class variable @@file\_store This is what happens as a result: Say I have two Rails mode…

---

## [BSD: Use gems or ports?](https://www.ruby-forum.com/t/bsd-use-gems-or-ports/91840)

<div class="topic-metadata">

**Author:** [@zerohalo](https://www.ruby-forum.com/u/zerohalo)\
**Replies:** 2\
**Last updated:** [April 12, 2007, 8:44pm UTC](https://www.ruby-forum.com/t/bsd-use-gems-or-ports/91840 "2007-04-12T20:44:57Z")

</div>

I’m deploying Rails on a new BSD 6.2 server. I’ve always used gems to install and update Rails and other Ruby libraries on other systems. My IT dept wants us to use ports across the board as much as possible. Yet most…

---

## [ActiveResource](https://www.ruby-forum.com/t/activeresource/91816)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 3\
**Last updated:** [April 12, 2007, 8:44pm UTC](https://www.ruby-forum.com/t/activeresource/91816 "2007-04-12T20:44:57Z")

</div>

Can someone give me a quick rundown on ActiveResource? Is is included in rails 1.2.3? How do I start using it? How does it work with ActiveRecord? Is there a script/generate command for it? Where is the documenta…

---

## [Help on installing SCGI](https://www.ruby-forum.com/t/help-on-installing-scgi/91844)

<div class="topic-metadata">

**Author:** [@ruby\_noob](https://www.ruby-forum.com/u/ruby_noob)\
**Replies:** 0\
**Last updated:** [April 12, 2007, 8:24pm UTC](https://www.ruby-forum.com/t/help-on-installing-scgi/91844 "2007-04-12T20:24:03Z")

</div>

I have a hopeless beginner question. I’m trying to install SCGI on Windows, and I downloaded the gem from zedshaw.com – but I’m not sure where/how to install the gem now that the file is on my hard drive. I will be ea…

---

## [Programming Career](https://www.ruby-forum.com/t/programming-career/91843)

<div class="topic-metadata">

**Author:** [@maria](https://www.ruby-forum.com/u/maria)\
**Replies:** 0\
**Last updated:** [April 12, 2007, 8:18pm UTC](https://www.ruby-forum.com/t/programming-career/91843 "2007-04-12T20:18:54Z")

</div>

Find Your Programming Job Vacancy and resources here → http://www.jobbankdata.com/job-programming.htm

---

## [Using hashes as find conditions](https://www.ruby-forum.com/t/using-hashes-as-find-conditions/91838)

<div class="topic-metadata">

**Author:** [@Saxon](https://www.ruby-forum.com/u/Saxon)\
**Replies:** 3\
**Last updated:** [April 12, 2007, 8:14pm UTC](https://www.ruby-forum.com/t/using-hashes-as-find-conditions/91838 "2007-04-12T20:14:53Z")

</div>

I’ve been having problems using hashes in conjunction with SQL. Here’s an example: Question.count(:all, :conditions =\> { :parent =\> nil }) And here’s the query it runs : SELECT count(\*) AS count\_all FROM questions WH…

---

## [Submit a remote form with a checkbox](https://www.ruby-forum.com/t/submit-a-remote-form-with-a-checkbox/91836)

<div class="topic-metadata">

**Author:** [@mendake](https://www.ruby-forum.com/u/mendake)\
**Replies:** 1\
**Last updated:** [April 12, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/submit-a-remote-form-with-a-checkbox/91836 "2007-04-12T20:13:40Z")

</div>

I’m having a difficult time figuring out how to submit a remote (AJAX) form using the onclick of a checkbox. A normal submit button works fine, but the following statement submits the form normally, seemingly bypassin…

---

## [Latest plugin source for rails?](https://www.ruby-forum.com/t/latest-plugin-source-for-rails/91822)

<div class="topic-metadata">

**Author:** [@mixplate](https://www.ruby-forum.com/u/mixplate)\
**Replies:** 1\
**Last updated:** [April 12, 2007, 8:12pm UTC](https://www.ruby-forum.com/t/latest-plugin-source-for-rails/91822 "2007-04-12T20:12:53Z")

</div>

agilewebdevelopment is the place i go, but is there a place that storre the latest plugin development? thanks

---

## [Anglenia Jolie Topless http://angelina.teenwag.com/sel/4274](https://www.ruby-forum.com/t/anglenia-jolie-topless-http-angelina-teenwag-com-sel-4274/91841)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 0\
**Last updated:** [April 12, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/anglenia-jolie-topless-http-angelina-teenwag-com-sel-4274/91841 "2007-04-12T19:53:51Z")

</div>

Anglenia Jolie Topless TeenWag.com is for sale | HugeDomains

---

## [Activescaffold vs streamlined vs?](https://www.ruby-forum.com/t/activescaffold-vs-streamlined-vs/91774)

<div class="topic-metadata">

**Author:** [@linoj](https://www.ruby-forum.com/u/linoj)\
**Replies:** 5\
**Last updated:** [April 12, 2007, 7:51pm UTC](https://www.ruby-forum.com/t/activescaffold-vs-streamlined-vs/91774 "2007-04-12T19:51:51Z")

</div>

hi, I’m exploring options for a new app we’re developing that requires display of a lot of sortable/searchable tables with content that differs based on who is logged in, their permissions, etc. Some pages will have …

---

## [Many:many relation on a single table](https://www.ruby-forum.com/t/many-many-relation-on-a-single-table/91834)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [April 12, 2007, 7:32pm UTC](https://www.ruby-forum.com/t/many-many-relation-on-a-single-table/91834 "2007-04-12T19:32:49Z")

</div>

Consider a tree. Not a perfect example since every branch only has one parent…but you get the idea. What I want is the following: Branch.children Branch.parents I think the problem is not being able to change the m…

---

## [Prototype/jquery/yui-ext](https://www.ruby-forum.com/t/prototype-jquery-yui-ext/91776)

<div class="topic-metadata">

**Author:** [@Dave\_Olsson](https://www.ruby-forum.com/u/Dave_Olsson)\
**Replies:** 2\
**Last updated:** [April 12, 2007, 7:32pm UTC](https://www.ruby-forum.com/t/prototype-jquery-yui-ext/91776 "2007-04-12T19:32:49Z")

</div>

Hi: First of all I am a bit confused by all the different JS library cos I am completely noob in JS world. However all the cool JS stuff just rocks. Now I am trying to understand the following: Some of the cool stu…

---

## [Useful code](https://www.ruby-forum.com/t/useful-code/91825)

<div class="topic-metadata">

**Author:** [@technodolt](https://www.ruby-forum.com/u/technodolt)\
**Replies:** 1\
**Last updated:** [April 12, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/useful-code/91825 "2007-04-12T19:28:06Z")

</div>

Just wrote this little snippet as I need to occasionally parse over a range of time at given intervals. Thought someone else might find it useful, didn’t know where else to put it. class Time def set\_range\_distance(…

---

## [Web services help / documentation](https://www.ruby-forum.com/t/web-services-help-documentation/91833)

<div class="topic-metadata">

**Author:** [@brianmrowe](https://www.ruby-forum.com/u/brianmrowe)\
**Replies:** 0\
**Last updated:** [April 12, 2007, 7:13pm UTC](https://www.ruby-forum.com/t/web-services-help-documentation/91833 "2007-04-12T19:13:47Z")

</div>

Hello, I’ve been trying for a few days to create a :delegated or :layered web service with no success. I am wondering if I’m just not using the proper URL for the scaffold generator to test with. Using the default …

---

## [UI tool with RoR?](https://www.ruby-forum.com/t/ui-tool-with-ror/91656)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 10\
**Last updated:** [April 12, 2007, 7:05pm UTC](https://www.ruby-forum.com/t/ui-tool-with-ror/91656 "2007-04-12T19:05:47Z")

</div>

Hi, Is there any tool for UI that RoR fraternity suggests? Any open source tool that we can use with Rails nicely? Or do i need to use dream weaver, golive for UI? Regards, Sandeep G

---

## [Watir on firefox](https://www.ruby-forum.com/t/watir-on-firefox/91789)

<div class="topic-metadata">

**Author:** [@prot](https://www.ruby-forum.com/u/prot)\
**Replies:** 2\
**Last updated:** [April 12, 2007, 7:01pm UTC](https://www.ruby-forum.com/t/watir-on-firefox/91789 "2007-04-12T19:01:46Z")

</div>

Hello is there any way through which we can run watir on forfox if so please reply me with example Thanks

---

## [How Should I Fix a NoMethodError?](https://www.ruby-forum.com/t/how-should-i-fix-a-nomethoderror/91829)

<div class="topic-metadata">

**Author:** [@Zkidd](https://www.ruby-forum.com/u/Zkidd)\
**Replies:** 4\
**Last updated:** [April 12, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/how-should-i-fix-a-nomethoderror/91829 "2007-04-12T18:41:42Z")

</div>

I am getting a NoMethodError in the show.rhtml file around an @story.user.login variable. But I checked the controller and the rhtml file and it looks like things are ok. This is the error message: NoMethodError in S…

---

## [BeginnerQ: Combining a form\_for with find() to search mysql](https://www.ruby-forum.com/t/beginnerq-combining-a-form-for-with-find-to-search-mysql/91705)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [April 12, 2007, 6:28pm UTC](https://www.ruby-forum.com/t/beginnerq-combining-a-form-for-with-find-to-search-mysql/91705 "2007-04-12T18:28:39Z")

</div>

I’ve looked over the AgileROR section on forms and the secion on find() but I am still a bit confused. What I want to do it pretty simple: I’ve got my inventory listing working and at the top I want the user to be ab…

---

## [Nil Issue](https://www.ruby-forum.com/t/nil-issue/91733)

<div class="topic-metadata">

**Author:** [@Chad](https://www.ruby-forum.com/u/Chad)\
**Replies:** 5\
**Last updated:** [April 12, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/nil-issue/91733 "2007-04-12T17:11:31Z")

</div>

I am using acts\_as\_attachment to upload multiple files and it works great. My problem is when I go to display the files and images. If one or more files are missing I get an error stating “can’t convert nil into Strin…

---

## [Frozen string error in activerecord](https://www.ruby-forum.com/t/frozen-string-error-in-activerecord/91817)

<div class="topic-metadata">

**Author:** [@gibbons](https://www.ruby-forum.com/u/gibbons)\
**Replies:** 0\
**Last updated:** [April 12, 2007, 4:28pm UTC](https://www.ruby-forum.com/t/frozen-string-error-in-activerecord/91817 "2007-04-12T16:28:20Z")

</div>

Hi everyone - Hope this is an easy catch - I’m using Ruby 1.8.6 on WinXP, rails 1.1.6, in a large existing application I use InstantRails 1.7 (I stripped rails and gems back to older revs, like the rest of my team) w…

---

## [.to\_xml defined for Arrays, but not Strings? What?](https://www.ruby-forum.com/t/to-xml-defined-for-arrays-but-not-strings-what/91800)

<div class="topic-metadata">

**Author:** [@jendaperl](https://www.ruby-forum.com/u/jendaperl)\
**Replies:** 9\
**Last updated:** [April 12, 2007, 4:18pm UTC](https://www.ruby-forum.com/t/to-xml-defined-for-arrays-but-not-strings-what/91800 "2007-04-12T16:18:26Z")

</div>

Would anyone care to explain why the (censored) is .to\_xml defined on arrays (what? How do you do that? You separate the items by something? By What? Or you repeat a tag? Which one?) and not for Strings? (Hey dude, wh…

---

## [Model based in a query](https://www.ruby-forum.com/t/model-based-in-a-query/91813)

<div class="topic-metadata">

**Author:** [@jotape](https://www.ruby-forum.com/u/jotape)\
**Replies:** 0\
**Last updated:** [April 12, 2007, 3:59pm UTC](https://www.ruby-forum.com/t/model-based-in-a-query/91813 "2007-04-12T15:59:59Z")

</div>

Hi all. Is there a way to build a model based in a query? That would be the same as build a model in a view, but the fact is that, in mysql, views are very limited, so, I would like to base a model in a query, not in…

---

## [Unexpected result with RJS on IE6](https://www.ruby-forum.com/t/unexpected-result-with-rjs-on-ie6/91779)

<div class="topic-metadata">

**Author:** [@richard](https://www.ruby-forum.com/u/richard)\
**Replies:** 1\
**Last updated:** [April 12, 2007, 3:54pm UTC](https://www.ruby-forum.com/t/unexpected-result-with-rjs-on-ie6/91779 "2007-04-12T15:54:21Z")

</div>

Hi guys, I am using a form\_remote\_tag to update a page. It works great with firefox but is unpredictable with IE6 (sometimes it shows up, sometimes it doesnt). I’m doing the rjs update with a partial and after playing …

---

## [Restful authentication automatic login on signup](https://www.ruby-forum.com/t/restful-authentication-automatic-login-on-signup/91812)

<div class="topic-metadata">

**Author:** [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Replies:** 0\
**Last updated:** [April 12, 2007, 3:30pm UTC](https://www.ruby-forum.com/t/restful-authentication-automatic-login-on-signup/91812 "2007-04-12T15:30:31Z")

</div>

I’m using the Restful Authentication plugin for a project. I’m trying to login users automatically after creating an account, but I’m not sure how to do this. I though something like current\_user = @user would work in…

---

## [Gmail login authentication through net/http](https://www.ruby-forum.com/t/gmail-login-authentication-through-net-http/91808)

<div class="topic-metadata">

**Author:** [@prot](https://www.ruby-forum.com/u/prot)\
**Replies:** 0\
**Last updated:** [April 12, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/gmail-login-authentication-through-net-http/91808 "2007-04-12T15:26:36Z")

</div>

Hello friends if any of you have done login authentication using ‘net/http’ let me know, i m trying out to check the login authentication using ‘net/http’. i had looked couple of example but its not wat i m looking ou…

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

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