# Rails

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

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

---

## [Schema for straw (rss aggregator)](https://www.ruby-forum.com/t/schema-for-straw-rss-aggregator/120747)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 3\
**Last updated:** [November 20, 2007, 11:32am UTC](https://www.ruby-forum.com/t/schema-for-straw-rss-aggregator/120747 "2007-11-20T11:32:41Z")

</div>

I would like to build an application on top of the following schema, but, of course, it would be preferable to make the schema compatible with the rails naming conventions so that things work as smoothly as possible …

---

## [Store percents \> what kind of column type?](https://www.ruby-forum.com/t/store-percents-what-kind-of-column-type/120750)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 2\
**Last updated:** [November 20, 2007, 11:15am UTC](https://www.ruby-forum.com/t/store-percents-what-kind-of-column-type/120750 "2007-11-20T11:15:39Z")

</div>

Hi, Newby question… I want to store percents, what kind of column type must i use in my migration file?? remco

---

## [Find\_by problems](https://www.ruby-forum.com/t/find-by-problems/120653)

<div class="topic-metadata">

**Author:** [@chewbacca](https://www.ruby-forum.com/u/chewbacca)\
**Replies:** 12\
**Last updated:** [November 20, 2007, 11:15am UTC](https://www.ruby-forum.com/t/find-by-problems/120653 "2007-11-20T11:15:14Z")

</div>

I am a newbie in Rails and I am just trying to learn. I have this list that lists all records from a table: @pass = Pass.find :all Now, I want to list only the records that belongs to the specific user that is logged…

---

## [Connecting to Oracle from an Intel Mac -- arch. conflicts](https://www.ruby-forum.com/t/connecting-to-oracle-from-an-intel-mac-arch-conflicts/120196)

<div class="topic-metadata">

**Author:** [@bcm](https://www.ruby-forum.com/u/bcm)\
**Replies:** 3\
**Last updated:** [November 20, 2007, 9:06am UTC](https://www.ruby-forum.com/t/connecting-to-oracle-from-an-intel-mac-arch-conflicts/120196 "2007-11-20T09:06:50Z")

</div>

Hi all, I’ve got a rather complex problem on my hands. I’m using Leopard (OSX 10.5) on an Intel Mac, with the standard Ruby and Rails installations. In order to get Rails to talk to Oracle, I upgraded the Rails gems …

---

## [Problem while Reading Url in rubyrails application](https://www.ruby-forum.com/t/problem-while-reading-url-in-rubyrails-application/120736)

<div class="topic-metadata">

**Author:** [@nagarjun](https://www.ruby-forum.com/u/nagarjun)\
**Replies:** 0\
**Last updated:** [November 20, 2007, 9:00am UTC](https://www.ruby-forum.com/t/problem-while-reading-url-in-rubyrails-application/120736 "2007-11-20T09:00:34Z")

</div>

hi , can anybody help me, while iam running rubyrails application url-\> http://localhost:3007/member\_account/new iam getting the following error. NoMethodError in Member\_account#new Regards, Nagarjun

---

## [Link\_to\_remote style](https://www.ruby-forum.com/t/link-to-remote-style/120729)

<div class="topic-metadata">

**Author:** [@jimmygoogle](https://www.ruby-forum.com/u/jimmygoogle)\
**Replies:** 4\
**Last updated:** [November 20, 2007, 6:27am UTC](https://www.ruby-forum.com/t/link-to-remote-style/120729 "2007-11-20T06:27:47Z")

</div>

I am trying to use link\_to\_remote to update a div tag with some content. This part works fine. The thing I am having an issue with is that I am trying to format this link with a ‘class’ tag and it is being ignored. …

---

## [Storing combo box data in the database](https://www.ruby-forum.com/t/storing-combo-box-data-in-the-database/120621)

<div class="topic-metadata">

**Author:** [@subhash](https://www.ruby-forum.com/u/subhash)\
**Replies:** 8\
**Last updated:** [November 20, 2007, 6:03am UTC](https://www.ruby-forum.com/t/storing-combo-box-data-in-the-database/120621 "2007-11-20T06:03:14Z")

</div>

Hi, I am using a combo box in a form along with some other form elements… The code that i have written is: \<p\>\<label for="employee\_Fname"\>Fname\</label\>\<br/\> \<%= text\_field ‘employee’, ‘Fname’ %\> Lname \<%= text\_…

---

## [Check Global method exist inside a class method](https://www.ruby-forum.com/t/check-global-method-exist-inside-a-class-method/120624)

<div class="topic-metadata">

**Author:** [@dimuthu](https://www.ruby-forum.com/u/dimuthu)\
**Replies:** 4\
**Last updated:** [November 20, 2007, 5:28am UTC](https://www.ruby-forum.com/t/check-global-method-exist-inside-a-class-method/120624 "2007-11-20T05:28:47Z")

</div>

Hi all, I have a problem in identifying whether a global method exist or not, from inside class, My code is similar to, def myMethod “my Method is executed\\n” end class MyClass def instMethod if(respond\_to?(“myMet…

---

## [Email verifier](https://www.ruby-forum.com/t/email-verifier/120723)

<div class="topic-metadata">

**Author:** [@jgjgjg](https://www.ruby-forum.com/u/jgjgjg)\
**Replies:** 1\
**Last updated:** [November 20, 2007, 3:08am UTC](https://www.ruby-forum.com/t/email-verifier/120723 "2007-11-20T03:08:32Z")

</div>

Hi, we have a “verify email” email that goes to users when they sign up. As it is, when they click on the link back to the site, we find them by the activation code that is stored on the user and is in the url. The pr…

---

## [Microsoft "stupid quotes" in params](https://www.ruby-forum.com/t/microsoft-stupid-quotes-in-params/68470)

<div class="topic-metadata">

**Author:** [@mcampbell](https://www.ruby-forum.com/u/mcampbell)\
**Replies:** 2\
**Last updated:** [November 20, 2007, 1:57am UTC](https://www.ruby-forum.com/t/microsoft-stupid-quotes-in-params/68470 "2007-11-20T01:57:51Z")

</div>

I’m looking for feedback on this, read on, please… I’m just fed up with Microsoft’s “stupid quotes” feature (and for sake of later searchers, I’ll add that it’s often known as “smart quotes”, although as with anything…

---

## [GRAILS, great RoR competitor?](https://www.ruby-forum.com/t/grails-great-ror-competitor/120675)

<div class="topic-metadata">

**Author:** [@Piotr\_N](https://www.ruby-forum.com/u/Piotr_N)\
**Replies:** 4\
**Last updated:** [November 20, 2007, 1:46am UTC](https://www.ruby-forum.com/t/grails-great-ror-competitor/120675 "2007-11-20T01:46:44Z")

</div>

Have you ever heard about Grails ? Its RoR written in Java and Groovy, (Java scripting language) Looks like it performs much better than RoR in almost every aspect. Im seriously considering switch to Grails now. htt…

---

## [Trouble writing a plugin with view helpers](https://www.ruby-forum.com/t/trouble-writing-a-plugin-with-view-helpers/120708)

<div class="topic-metadata">

**Author:** [@alan](https://www.ruby-forum.com/u/alan)\
**Replies:** 0\
**Last updated:** [November 20, 2007, 12:34am UTC](https://www.ruby-forum.com/t/trouble-writing-a-plugin-with-view-helpers/120708 "2007-11-20T00:34:53Z")

</div>

Hi, I am writing a plugin with some view helpers, and have hit a wall. The helper method uses a class that specifies specific behavior depending on an model object. The problem is that I need that class to be able to…

---

## [Getting errors and params back to view](https://www.ruby-forum.com/t/getting-errors-and-params-back-to-view/120700)

<div class="topic-metadata">

**Author:** [@tomn](https://www.ruby-forum.com/u/tomn)\
**Replies:** 4\
**Last updated:** [November 20, 2007, 12:18am UTC](https://www.ruby-forum.com/t/getting-errors-and-params-back-to-view/120700 "2007-11-20T00:18:39Z")

</div>

I asked this question here: Redirecting back on errors to multi-form pages - Rails - Ruby-Forum but let me try to put it more succinctly. Below I show a controller action controller meant to save a new item with its a…

---

## [Routing with a shared certificate](https://www.ruby-forum.com/t/routing-with-a-shared-certificate/120705)

<div class="topic-metadata">

**Author:** [@george\_b](https://www.ruby-forum.com/u/george_b)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 11:49pm UTC](https://www.ruby-forum.com/t/routing-with-a-shared-certificate/120705 "2007-11-19T23:49:15Z")

</div>

I have a site that uses a shared SSL certificate. The domain for most parts is mydomain.com, but the SSL areas must be addressed as https://hostdomain/secure/mydomain.com/ How do I deal with this? I can use the full …

---

## [Encryption and credit cards](https://www.ruby-forum.com/t/encryption-and-credit-cards/120402)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 4\
**Last updated:** [November 19, 2007, 10:57pm UTC](https://www.ruby-forum.com/t/encryption-and-credit-cards/120402 "2007-11-19T22:57:55Z")

</div>

I threw this out there once before but I didn’t get a lot of feed back, but I was just wondering what people are using to encrypt credit cards and if anyone has any helpful tutorials or suggestions on how to do this? …

---

## [How to handle multiple database in ruby on rails](https://www.ruby-forum.com/t/how-to-handle-multiple-database-in-ruby-on-rails/120693)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [November 19, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/how-to-handle-multiple-database-in-ruby-on-rails/120693 "2007-11-19T22:21:52Z")

</div>

Hi to all, Any can help me … How to handle multiple database in ruby on rails. I have to maintain two tables on one database and i have to maintain other 4 tables on another database. Can you any one send me sample …

---

## [One view, many actions](https://www.ruby-forum.com/t/one-view-many-actions/120694)

<div class="topic-metadata">

**Author:** [@fixxxer](https://www.ruby-forum.com/u/fixxxer)\
**Replies:** 1\
**Last updated:** [November 19, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/one-view-many-actions/120694 "2007-11-19T22:08:31Z")

</div>

Hi all, I’ve got a view named “prompt.rhtml” and a controller named “customer” with some actions (“prompt”, “getdata”, and so on…). Of course, the URL “/customer/prompt” is associated to the action “prompt” and then …

---

## [Automated Mailer in Rails?](https://www.ruby-forum.com/t/automated-mailer-in-rails/120513)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 4\
**Last updated:** [November 19, 2007, 10:00pm UTC](https://www.ruby-forum.com/t/automated-mailer-in-rails/120513 "2007-11-19T22:00:47Z")

</div>

Hi, i’ve got a problem. I’ve setup my rails app to send mail, say when someone registers they get a ‘hey thanks for registering’ email; that works fine. That’s firing thru using sendmail ok. Next up I’ve got a facili…

---

## [Belongs\_to in a list](https://www.ruby-forum.com/t/belongs-to-in-a-list/120697)

<div class="topic-metadata">

**Author:** [@gorter9](https://www.ruby-forum.com/u/gorter9)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 9:44pm UTC](https://www.ruby-forum.com/t/belongs-to-in-a-list/120697 "2007-11-19T21:44:41Z")

</div>

I have list of blogs with usernames \<% for @blogs in @blogs.reverse %\> \<% @user = @blogs.user %\> \<%= @user.login %\> but the user.login is a no method error. when i in a view of a specific blog the user.login is ret…

---

## [Link\_to\_remote IE issues (:method =\> :delete)](https://www.ruby-forum.com/t/link-to-remote-ie-issues-method-delete/120418)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 1\
**Last updated:** [November 19, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/link-to-remote-ie-issues-method-delete/120418 "2007-11-19T21:28:39Z")

</div>

I have a link\_to\_remote that is using :method =\> :delete on a resource. In FF the code works fine, I can see activity being sent to my server in the LOG. But in IE I get no activity in the LOG. If I use :method =\> :pu…

---

## [Issues with us\_states and selected](https://www.ruby-forum.com/t/issues-with-us-states-and-selected/120684)

<div class="topic-metadata">

**Author:** [@thoraxe](https://www.ruby-forum.com/u/thoraxe)\
**Replies:** 1\
**Last updated:** [November 19, 2007, 9:18pm UTC](https://www.ruby-forum.com/t/issues-with-us-states-and-selected/120684 "2007-11-19T21:18:43Z")

</div>

I’m having some issues with the us\_states plugin but it is probably because I don’t know what I’m doing. Here’s my code: \<% form\_tag ‘/contact/list’ do -%\> \<%= text\_field\_tag “searchName”, “”, :size =\> 15, :maxlength…

---

## [Aptana RadRails 0.9.1 Final Release](https://www.ruby-forum.com/t/aptana-radrails-0-9-1-final-release/120548)

<div class="topic-metadata">

**Author:** [@CCH](https://www.ruby-forum.com/u/CCH)\
**Replies:** 2\
**Last updated:** [November 19, 2007, 9:15pm UTC](https://www.ruby-forum.com/t/aptana-radrails-0-9-1-final-release/120548 "2007-11-19T21:15:11Z")

</div>

For fellow Radrails users, there is happy news ! Aptana RadRails 0.9.1 Final Release has been released since 15th November 2007. Users who are still on 0.8.0 are highly recommended to upgrade. Here’s the Trac changel…

---

## [Use render inside rake task](https://www.ruby-forum.com/t/use-render-inside-rake-task/120688)

<div class="topic-metadata">

**Author:** [@gregd](https://www.ruby-forum.com/u/gregd)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/use-render-inside-rake-task/120688 "2007-11-19T20:21:05Z")

</div>

How can i use render\_to\_string in rake task? namespace :content do namespace :movie do desc “desc” task :rate =\> :environment do render\_to\_string “some\_file” end end end undefined local variable or method \`rende…

---

## [Production.log not working after I deleted it](https://www.ruby-forum.com/t/production-log-not-working-after-i-deleted-it/120676)

<div class="topic-metadata">

**Author:** [@jko170](https://www.ruby-forum.com/u/jko170)\
**Replies:** 2\
**Last updated:** [November 19, 2007, 7:50pm UTC](https://www.ruby-forum.com/t/production-log-not-working-after-i-deleted-it/120676 "2007-11-19T19:50:38Z")

</div>

My production.log was getting big, so I deleted on my server. And after running another cap deploy, the production.log file was regenerated but now the file is not being written to (it stays blank). How can I get my l…

---

## [Rails equivalent to mysql date() function?](https://www.ruby-forum.com/t/rails-equivalent-to-mysql-date-function/120438)

<div class="topic-metadata">

**Author:** [@anthony](https://www.ruby-forum.com/u/anthony)\
**Replies:** 6\
**Last updated:** [November 19, 2007, 7:07pm UTC](https://www.ruby-forum.com/t/rails-equivalent-to-mysql-date-function/120438 "2007-11-19T19:07:11Z")

</div>

Hi, The following sql query works in mysql: SELECT \* FROM events WHERE date(datefield) = ‘2007-11-13’ for selecting the date part of a datetime field. I need something that works in Rails. I tried to pass the quer…

---

## [Authentification and two controllers](https://www.ruby-forum.com/t/authentification-and-two-controllers/120672)

<div class="topic-metadata">

**Author:** [@KJF](https://www.ruby-forum.com/u/KJF)\
**Replies:** 1\
**Last updated:** [November 19, 2007, 6:43pm UTC](https://www.ruby-forum.com/t/authentification-and-two-controllers/120672 "2007-11-19T18:43:46Z")

</div>

Hi, I am using the acts\_as\_authenticated plugin. When installed it creates a user model and a account controller which handles signup, login and logout which is very nice. The problem I’m having is that I want the us…

---

## [Bench mark and performance testing for rails](https://www.ruby-forum.com/t/bench-mark-and-performance-testing-for-rails/119918)

<div class="topic-metadata">

**Author:** [@Waleed\_H](https://www.ruby-forum.com/u/Waleed_H)\
**Replies:** 3\
**Last updated:** [November 19, 2007, 6:36pm UTC](https://www.ruby-forum.com/t/bench-mark-and-performance-testing-for-rails/119918 "2007-11-19T18:36:10Z")

</div>

Hello All, I am looking to find out bench mark and performance testing for rails with other frameworks such as Hibernate. I have not found yet good bench mark or report about this topic. Could you please guide me wh…

---

## [Login help - grouping records](https://www.ruby-forum.com/t/login-help-grouping-records/120673)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 2\
**Last updated:** [November 19, 2007, 6:33pm UTC](https://www.ruby-forum.com/t/login-help-grouping-records/120673 "2007-11-19T18:33:14Z")

</div>

I have a long list of posts posted on different days and many posts every day. I want them to arrange like following… Date1 post1 post2 Date2 post3 post4 post5 How can I (say) group them to appear all posts of one…

---

## [How do I override the method render?](https://www.ruby-forum.com/t/how-do-i-override-the-method-render/120670)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 5:51pm UTC](https://www.ruby-forum.com/t/how-do-i-override-the-method-render/120670 "2007-11-19T17:51:26Z")

</div>

I did: Module ActionController class Base def render(\*args) super end end end It says: super: no superclass method \`render’ Which is not true because when I look at base.rb I can see the render method right the…

---

## [How to convert long urls to short urls?](https://www.ruby-forum.com/t/how-to-convert-long-urls-to-short-urls/120630)

<div class="topic-metadata">

**Author:** [@Davis\_C](https://www.ruby-forum.com/u/Davis_C)\
**Replies:** 3\
**Last updated:** [November 19, 2007, 5:49pm UTC](https://www.ruby-forum.com/t/how-to-convert-long-urls-to-short-urls/120630 "2007-11-19T17:49:47Z")

</div>

I have an application to bang my head for couple of days. It has to convert the long urls to be converted to short urls like the ones in rubyurl.com .

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

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