# Rails

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

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

---

## [DreamHost and ActionMailer](https://www.ruby-forum.com/t/dreamhost-and-actionmailer/76850)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 5\
**Last updated:** [April 7, 2007, 5:21pm UTC](https://www.ruby-forum.com/t/dreamhost-and-actionmailer/76850 "2007-04-07T17:21:09Z")

</div>

I’m getting ready to sign up with DreamHost, but my application is missing the ActionMailer features. First, can anyone provide some real code to send an email upon comment submission? Second, is it easy to setup Act…

---

## [Wrong number of arguments](https://www.ruby-forum.com/t/wrong-number-of-arguments/91364)

<div class="topic-metadata">

**Author:** [@fafa](https://www.ruby-forum.com/u/fafa)\
**Replies:** 1\
**Last updated:** [April 7, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/wrong-number-of-arguments/91364 "2007-04-07T17:03:09Z")

</div>

didnt somebody meet problem with wrong number of arguments? I have this in articles\_helper.rb : def menu\_page(id,zanoreni, previous, koren, mapa) and this in sitemap.rhtml: \<%= menu\_page(0, 0,’’, true, true) %\>. And t…

---

## [Question about Rake](https://www.ruby-forum.com/t/question-about-rake/91241)

<div class="topic-metadata">

**Author:** [@jtoy](https://www.ruby-forum.com/u/jtoy)\
**Replies:** 2\
**Last updated:** [April 7, 2007, 3:38pm UTC](https://www.ruby-forum.com/t/question-about-rake/91241 "2007-04-07T15:38:53Z")

</div>

Hello, How does Rake determine the list of tasks that Rake can execute?, in a Rails development environment. My problem has to do with the rake tasks that are provided by the Engines plugin (at least thats my current …

---

## [openId with RESTful authentication?](https://www.ruby-forum.com/t/openid-with-restful-authentication/91356)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 1\
**Last updated:** [April 7, 2007, 1:57pm UTC](https://www.ruby-forum.com/t/openid-with-restful-authentication/91356 "2007-04-07T13:57:34Z")

</div>

Hi, I am using RESTful authentication in one of my apps and would also like to support openID. Has anyone attempted this before and ahve any tips / examples of how this could be done? Thanks, Josh

---

## [How to: programmatically choose a partial to render](https://www.ruby-forum.com/t/how-to-programmatically-choose-a-partial-to-render/91150)

<div class="topic-metadata">

**Author:** [@d6veteran](https://www.ruby-forum.com/u/d6veteran)\
**Replies:** 7\
**Last updated:** [April 7, 2007, 12:35pm UTC](https://www.ruby-forum.com/t/how-to-programmatically-choose-a-partial-to-render/91150 "2007-04-07T12:35:28Z")

</div>

I have a scenario where after updating a section on a page with a partial, I then need to update that same area with a new partial. This is easy, however, at this stage I need to display partial A if the user is logg…

---

## [Single Table Inheritance and HABTM Problem](https://www.ruby-forum.com/t/single-table-inheritance-and-habtm-problem/91358)

<div class="topic-metadata">

**Author:** [@purplehaze](https://www.ruby-forum.com/u/purplehaze)\
**Replies:** 0\
**Last updated:** [April 7, 2007, 12:08pm UTC](https://www.ruby-forum.com/t/single-table-inheritance-and-habtm-problem/91358 "2007-04-07T12:08:09Z")

</div>

I have Models: class User \< ActiveRecord::Base end class Dozent \< User has\_and\_belongs\_to\_many :subjects, :foreign\_key=\>‘user\_id’ , :join\_table =\> “subjects\_users” end class Subject \< ActiveRecord::Base has\_and\_b…

---

## [STI and has\_many :through not playing nicely](https://www.ruby-forum.com/t/sti-and-has-many-through-not-playing-nicely/91336)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 6\
**Last updated:** [April 7, 2007, 11:40am UTC](https://www.ruby-forum.com/t/sti-and-has-many-through-not-playing-nicely/91336 "2007-04-07T11:40:15Z")

</div>

Hi all, I’m trying to use STI (single table inheritance) with has\_many :through, and I’m getting a NameError: uninitialized constant. Details below. Presumably I’ve set up the relationship incorrectly? Any help would…

---

## [Admin::Contr does not use layouts/admin/application.rhtml!](https://www.ruby-forum.com/t/admin-contr-does-not-use-layouts-admin-application-rhtml/90976)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 9\
**Last updated:** [April 7, 2007, 10:42am UTC](https://www.ruby-forum.com/t/admin-contr-does-not-use-layouts-admin-application-rhtml/90976 "2007-04-07T10:42:08Z")

</div>

Hi all I know that Rails uses the layout views/layouts/application.rhtml as default when not specified differently. But why do controllers in modules not also use their own application.rhtml? controllers/MyControlle…

---

## [Mephisto and rmote posting](https://www.ruby-forum.com/t/mephisto-and-rmote-posting/91164)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 7, 2007, 8:53am UTC](https://www.ruby-forum.com/t/mephisto-and-rmote-posting/91164 "2007-04-07T08:53:59Z")

</div>

Hi everyone, I’m running a personal blog on Mephisto 0.7.3 with great satisfaction, but I’m experiencing some difficulties on posting to it through the apis. After some research I’ve read that Mephisto supports xml-rp…

---

## [Mac on Rails](https://www.ruby-forum.com/t/mac-on-rails/91355)

<div class="topic-metadata">

**Author:** [@jamie](https://www.ruby-forum.com/u/jamie)\
**Replies:** 0\
**Last updated:** [April 7, 2007, 8:47am UTC](https://www.ruby-forum.com/t/mac-on-rails/91355 "2007-04-07T08:47:59Z")

</div>

http://www.maconrails.com A new resource for how to install Ruby, Rails, MySQL, Subversion and more for Mac OS X. Use it yourself to get updated to the latest and greatest versions or send it to newbies that you’d lik…

---

## [Looking for advice in how to build this project](https://www.ruby-forum.com/t/looking-for-advice-in-how-to-build-this-project/91354)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 0\
**Last updated:** [April 7, 2007, 8:22am UTC](https://www.ruby-forum.com/t/looking-for-advice-in-how-to-build-this-project/91354 "2007-04-07T08:22:10Z")

</div>

Hi all, I need some ideas for designing a solution for the following project. There are 10 applications developed in Ms Access, Ms SQL, and Oracle. All of them are stand-alone applications that use their own tables an…

---

## [SSR Commander, basic ruby example](https://www.ruby-forum.com/t/ssr-commander-basic-ruby-example/91348)

<div class="topic-metadata">

**Author:** [@davox](https://www.ruby-forum.com/u/davox)\
**Replies:** 0\
**Last updated:** [April 7, 2007, 6:30am UTC](https://www.ruby-forum.com/t/ssr-commander-basic-ruby-example/91348 "2007-04-07T06:30:08Z")

</div>

Forgive me if this seems like a plug, but its not. I’ve been running my radio station using about 400 lines of ruby/rails code and a crontab for the last year or so. It was so simple to set up in ruby, I just had to …

---

## [Software Engineer Needed](https://www.ruby-forum.com/t/software-engineer-needed/91328)

<div class="topic-metadata">

**Author:** [@tchase](https://www.ruby-forum.com/u/tchase)\
**Replies:** 1\
**Last updated:** [April 7, 2007, 4:30am UTC](https://www.ruby-forum.com/t/software-engineer-needed/91328 "2007-04-07T04:30:47Z")

</div>

The ideal candidate will have a strong experience in web service technologies and architectures, with exceptional skills in servlets, J2EE, and XML. Individual will also have extensive experience in object-oriented de…

---

## [Ajax output not rendering as it should](https://www.ruby-forum.com/t/ajax-output-not-rendering-as-it-should/90939)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 7\
**Last updated:** [April 7, 2007, 4:14am UTC](https://www.ruby-forum.com/t/ajax-output-not-rendering-as-it-should/90939 "2007-04-07T04:14:47Z")

</div>

I had everything rendering properly before the ajax was introduced. Now the javascript is being rendered out to the html page. #Here is the list that the items are to be rendered out to #the controller method calli…

---

## [Hot to: use routes to url rewrite](https://www.ruby-forum.com/t/hot-to-use-routes-to-url-rewrite/91341)

<div class="topic-metadata">

**Author:** [@d6veteran](https://www.ruby-forum.com/u/d6veteran)\
**Replies:** 1\
**Last updated:** [April 7, 2007, 3:15am UTC](https://www.ruby-forum.com/t/hot-to-use-routes-to-url-rewrite/91341 "2007-04-07T03:15:29Z")

</div>

I’m sending a url via email so a user can activate their account. Like so: http://domain.com/confirm\_email/f039a41a580735384c7e1e2deb379901e79981a7 This should map to a method in controller ‘login’, with the action ‘…

---

## [Submitting a remote form without any rendering](https://www.ruby-forum.com/t/submitting-a-remote-form-without-any-rendering/91338)

<div class="topic-metadata">

**Author:** [@mendake](https://www.ruby-forum.com/u/mendake)\
**Replies:** 2\
**Last updated:** [April 7, 2007, 1:58am UTC](https://www.ruby-forum.com/t/submitting-a-remote-form-without-any-rendering/91338 "2007-04-07T01:58:05Z")

</div>

I imagine there’s a simple solution for this. I want to click a checkbox and have a rails for submit immediately and save data to the database. However, since this is a checkbox there’s no need to render anything beca…

---

## [Advice on Learning RoR](https://www.ruby-forum.com/t/advice-on-learning-ror/91249)

<div class="topic-metadata">

**Author:** [@xwordguy](https://www.ruby-forum.com/u/xwordguy)\
**Replies:** 3\
**Last updated:** [April 7, 2007, 1:33am UTC](https://www.ruby-forum.com/t/advice-on-learning-ror/91249 "2007-04-07T01:33:39Z")

</div>

I’m interested in learing a programing language. I have had a class in QBasic long ago, and used to program in Applesoft when I was a child. So I have the most basic knowledge of programming. Is RoR a place to jump in…

---

## [Using rest via rails](https://www.ruby-forum.com/t/using-rest-via-rails/91244)

<div class="topic-metadata">

**Author:** [@daniel](https://www.ruby-forum.com/u/daniel)\
**Replies:** 1\
**Last updated:** [April 6, 2007, 11:59pm UTC](https://www.ruby-forum.com/t/using-rest-via-rails/91244 "2007-04-06T23:59:33Z")

</div>

Hi everyone, Im kind of a noob when it comes to RoR. Can anyone point me in the right direction to where i can learn how to use rest with RoR. Basicaly, i have a website that supports rest. I want to create my ror ap…

---

## [Question on creating small mailing list within large applica](https://www.ruby-forum.com/t/question-on-creating-small-mailing-list-within-large-applica/91330)

<div class="topic-metadata">

**Author:** [@steve](https://www.ruby-forum.com/u/steve)\
**Replies:** 2\
**Last updated:** [April 6, 2007, 11:32pm UTC](https://www.ruby-forum.com/t/question-on-creating-small-mailing-list-within-large-applica/91330 "2007-04-06T23:32:31Z")

</div>

I am relatively new to Ruby on Rails and so I am finding myself stuck on an issue for a web site I am currently designing. I would like to create a simple mailing list form that just sends the information from the for…

---

## [Rdoc error](https://www.ruby-forum.com/t/rdoc-error/91334)

<div class="topic-metadata">

**Author:** [@raj](https://www.ruby-forum.com/u/raj)\
**Replies:** 0\
**Last updated:** [April 6, 2007, 11:21pm UTC](https://www.ruby-forum.com/t/rdoc-error/91334 "2007-04-06T23:21:49Z")

</div>

I am getting this error when I run ruby doc with following command rdoc -a -F -f html -S -N -o doc1 …authenticated\_test\_helper.rb: m. RDoc failure in vendor/plugins/acts\_as\_authenticated/generators/authenticated/te …

---

## [Solution for undefined method \`use\_transactional\_fixtures='](https://www.ruby-forum.com/t/solution-for-undefined-method-use-transactional-fixtures/82544)

<div class="topic-metadata">

**Author:** [@Jean-Michel\_G](https://www.ruby-forum.com/u/Jean-Michel_G)\
**Replies:** 1\
**Last updated:** [April 6, 2007, 11:15pm UTC](https://www.ruby-forum.com/t/solution-for-undefined-method-use-transactional-fixtures/82544 "2007-04-06T23:15:29Z")

</div>

If you see this error message: undefined method \`use\_transactional\_fixtures=’ for Test::Unit::TestCase:Class (NoMethodError) You should check all your dependencies, all the lines containing require and especially req…

---

## [Mailer method missing](https://www.ruby-forum.com/t/mailer-method-missing/91335)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 3\
**Last updated:** [April 6, 2007, 11:12pm UTC](https://www.ruby-forum.com/t/mailer-method-missing/91335 "2007-04-06T23:12:29Z")

</div>

Rails dies when I try to call a method from my Mailer. But I have defined my method. What could I have missed? Here is the irb session: p = Person.find(1) =\> Person data… SiteMailer.request\_admin\_approval§ …

---

## [Activerecord, created\_on column](https://www.ruby-forum.com/t/activerecord-created-on-column/91312)

<div class="topic-metadata">

**Author:** [@aaronsmith](https://www.ruby-forum.com/u/aaronsmith)\
**Replies:** 10\
**Last updated:** [April 6, 2007, 11:00pm UTC](https://www.ruby-forum.com/t/activerecord-created-on-column/91312 "2007-04-06T23:00:55Z")

</div>

hey everyone, having some weird experiences when creating a new record with active record… doesn’t active\_record automagically handle created\_on and updated\_on coloumns? I keep getting errors:: ArgumentError: wrong n…

---

## [Installing Rails on Ubuntu Edgy](https://www.ruby-forum.com/t/installing-rails-on-ubuntu-edgy/91331)

<div class="topic-metadata">

**Author:** [@gregg](https://www.ruby-forum.com/u/gregg)\
**Replies:** 2\
**Last updated:** [April 6, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/installing-rails-on-ubuntu-edgy/91331 "2007-04-06T22:04:22Z")

</div>

I’ve found various online instructions for installing Rails on Ubuntu but none of them are perfect. First things first, I already have Ruby 1.8.4 installed. The executable was named ruby1.8 so I alias’d it to ruby s…

---

## [Route errors in functional tests](https://www.ruby-forum.com/t/route-errors-in-functional-tests/91285)

<div class="topic-metadata">

**Author:** [@chet\_sanders](https://www.ruby-forum.com/u/chet_sanders)\
**Replies:** 1\
**Last updated:** [April 6, 2007, 9:08pm UTC](https://www.ruby-forum.com/t/route-errors-in-functional-tests/91285 "2007-04-06T21:08:39Z")

</div>

I have a rails app that will show details for a particular project. I am hoping to make it easy on users by providing subdomains for each project and specifying the project ID in the routes file as follows - map.conne…

---

## [Simply helpful form methods?](https://www.ruby-forum.com/t/simply-helpful-form-methods/91202)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 1\
**Last updated:** [April 6, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/simply-helpful-form-methods/91202 "2007-04-06T21:02:26Z")

</div>

Hello everyone, While working on my little login code, I notice that I write “same” code many times like these two lines below. Email: \<%= text\_field "user", "email", :size =\> 30 %\> For every input field I gotta write…

---

## [Flash Message after each Ajax request](https://www.ruby-forum.com/t/flash-message-after-each-ajax-request/91275)

<div class="topic-metadata">

**Author:** [@Rails\_junkie](https://www.ruby-forum.com/u/Rails_junkie)\
**Replies:** 3\
**Last updated:** [April 6, 2007, 8:45pm UTC](https://www.ruby-forum.com/t/flash-message-after-each-ajax-request/91275 "2007-04-06T20:45:11Z")

</div>

I need to enable Flash message with each request in my application. e.g. if i have action on addFeed, after this action is executed, I have a render :partial ‘showfeed’ but i also want to enable a Flash Message for …

---

## [Strange application.rhtml rendering](https://www.ruby-forum.com/t/strange-application-rhtml-rendering/91269)

<div class="topic-metadata">

**Author:** [@bagadoughnuts](https://www.ruby-forum.com/u/bagadoughnuts)\
**Replies:** 8\
**Last updated:** [April 6, 2007, 8:25pm UTC](https://www.ruby-forum.com/t/strange-application-rhtml-rendering/91269 "2007-04-06T20:25:10Z")

</div>

Hello, I’m trying to set up my global layout (application.rhtml) and have followed a simple XHTML set up with the \<%= yield%\> for content. My application.rhtml starts off with \<!DOCTYPE … etc. But when I look at a …

---

## [How to convert a string's charset?](https://www.ruby-forum.com/t/how-to-convert-a-strings-charset/91324)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 0\
**Last updated:** [April 6, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/how-to-convert-a-strings-charset/91324 "2007-04-06T20:15:05Z")

</div>

I want to convert a string’s charset from GB2312 to UTF-8. How can i do this?

---

## [Database connection](https://www.ruby-forum.com/t/database-connection/91238)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [April 6, 2007, 8:14pm UTC](https://www.ruby-forum.com/t/database-connection/91238 "2007-04-06T20:14:55Z")

</div>

Hallo to all Ic have a big problem with my database. I have installed ruby on rails and the Plug in for Eclipse. I create a database with mysql. But when I want do use the database in Eclipse for Rails he says that th…

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

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