# Rails

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

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

---

## [Accessing bcc recipients in ActionMailer view](https://www.ruby-forum.com/t/accessing-bcc-recipients-in-actionmailer-view/151296)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 0\
**Last updated:** [October 20, 2008, 12:14am UTC](https://www.ruby-forum.com/t/accessing-bcc-recipients-in-actionmailer-view/151296 "2008-10-20T00:14:47Z")

</div>

Apologies if this has been covered already, but I haven’t been able to turn anything up after a bit of searching. I have an app that sends out a mail to a large bcc list. I’d like to be able to add some personalizatio…

---

## [Apps for Democracy Contest $20,000 in Prizes](https://www.ruby-forum.com/t/apps-for-democracy-contest-20-000-in-prizes/151295)

<div class="topic-metadata">

**Author:** [@corbett3000](https://www.ruby-forum.com/u/corbett3000)\
**Replies:** 0\
**Last updated:** [October 19, 2008, 11:59pm UTC](https://www.ruby-forum.com/t/apps-for-democracy-contest-20-000-in-prizes/151295 "2008-10-19T23:59:34Z")

</div>

Hi All, I thought you might like to know about a contest where having here in DC for web app dev that mashes-up DC.gov’s public data. It’s open to all. Here’s the info: Apps for Democracy will feature 60 cash prizes …

---

## [Multi-select category listbox](https://www.ruby-forum.com/t/multi-select-category-listbox/151285)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 1\
**Last updated:** [October 19, 2008, 10:33pm UTC](https://www.ruby-forum.com/t/multi-select-category-listbox/151285 "2008-10-19T22:33:22Z")

</div>

Hi, on to the final bit of my blogging engine and would really appreciate a pointer in the right direction. With each article they can be associated with multiple categories, so inside the admin panel I need to someho…

---

## [Inconsistency in calling to\_xml on STI returning \<record\>](https://www.ruby-forum.com/t/inconsistency-in-calling-to-xml-on-sti-returning-record/151288)

<div class="topic-metadata">

**Author:** [@Zhao\_Lu](https://www.ruby-forum.com/u/Zhao_Lu)\
**Replies:** 0\
**Last updated:** [October 19, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/inconsistency-in-calling-to-xml-on-sti-returning-record/151288 "2008-10-19T21:48:50Z")

</div>

Hi, When calling to\_xml on STI that returns heterogeneous type of records, each record is contained in node. For example, if I have Account with subclasses EmailAccount and PhoneAccount, Account.find(:all).to\_xml gi…

---

## [Import of YAML files during rake?](https://www.ruby-forum.com/t/import-of-yaml-files-during-rake/151225)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [October 19, 2008, 6:42pm UTC](https://www.ruby-forum.com/t/import-of-yaml-files-during-rake/151225 "2008-10-19T18:42:21Z")

</div>

I want to import yaml files in to my project. I have tried with fixtures, but it deletes the current data of the table. I need a way to import yaml filen in to a exsistant table. regards svend

---

## [Database architecture for a multi-organization application](https://www.ruby-forum.com/t/database-architecture-for-a-multi-organization-application/151281)

<div class="topic-metadata">

**Author:** [@ginty](https://www.ruby-forum.com/u/ginty)\
**Replies:** 0\
**Last updated:** [October 19, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/database-architecture-for-a-multi-organization-application/151281 "2008-10-19T18:26:29Z")

</div>

Hi All, I am a newbie to RoR and to be honest web development in general, although I do have some experience of creating PHP and mySQL driven applications in the past. Anyway at this stage I am still following relati…

---

## [New to this group](https://www.ruby-forum.com/t/new-to-this-group/151217)

<div class="topic-metadata">

**Author:** [@Thiru](https://www.ruby-forum.com/u/Thiru)\
**Replies:** 1\
**Last updated:** [October 19, 2008, 6:15pm UTC](https://www.ruby-forum.com/t/new-to-this-group/151217 "2008-10-19T18:15:49Z")

</div>

hi… am thirugnanam, am new to this group i want to do the web development wil u plz give the details… am passed out of this year B.tech IT i want to do the open source in this ruby plz teach me to do this…

---

## [Regular Expression Grouping](https://www.ruby-forum.com/t/regular-expression-grouping/151279)

<div class="topic-metadata">

**Author:** [@mdebajo](https://www.ruby-forum.com/u/mdebajo)\
**Replies:** 4\
**Last updated:** [October 19, 2008, 5:15pm UTC](https://www.ruby-forum.com/t/regular-expression-grouping/151279 "2008-10-19T17:15:22Z")

</div>

Hi! I couldn’t understand the behavior of this code: match = ‘Today is Feb 23rd, 2003’.match(/Feb 23(rd)?/) a = match.to\_a puts a.size # 2 puts a.join(",") # Feb 23rd,rd puts a\[0\] …

---

## [Nilesh invites you to join Zorpia](https://www.ruby-forum.com/t/nilesh-invites-you-to-join-zorpia/151275)

<div class="topic-metadata">

**Author:** [@nilez](https://www.ruby-forum.com/u/nilez)\
**Replies:** 0\
**Last updated:** [October 19, 2008, 3:27pm UTC](https://www.ruby-forum.com/t/nilesh-invites-you-to-join-zorpia/151275 "2008-10-19T15:27:28Z")

</div>

Hi rubyonrails-talk! Your friend nilesh from , just invited you to his online photo albums and journals at Zorpia.com. So what is Zorpia? It is an online community that allows you to upload unlimited amount of ph…

---

## [Why PostgreSQL doesnÂ´t appear on the proje ct?](https://www.ruby-forum.com/t/why-postgresql-doesna-t-appear-on-the-proje-ct/150102)

<div class="topic-metadata">

**Author:** [@c\_h](https://www.ruby-forum.com/u/c_h)\
**Replies:** 2\
**Last updated:** [October 19, 2008, 2:58pm UTC](https://www.ruby-forum.com/t/why-postgresql-doesna-t-appear-on-the-proje-ct/150102 "2008-10-19T14:58:36Z")

</div>

Why only MySQL (“fake DBMS”) receive a massive support and tutorial.

---

## [Does anybody out there use Litespeed?](https://www.ruby-forum.com/t/does-anybody-out-there-use-litespeed/151268)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [October 19, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/does-anybody-out-there-use-litespeed/151268 "2008-10-19T14:47:22Z")

</div>

I’ve heard good things about Litespeed but all the documentation I’ve found doesn’t reflect the new 3.3 version. The older 2 and 1 versions are just so different. I’ve gone down the road with the old docs and it’s alw…

---

## [PostgreSQL gem for Ruby (pg) problem!](https://www.ruby-forum.com/t/postgresql-gem-for-ruby-pg-problem/150648)

<div class="topic-metadata">

**Author:** [@The\_N](https://www.ruby-forum.com/u/The_N)\
**Replies:** 1\
**Last updated:** [October 19, 2008, 2:22pm UTC](https://www.ruby-forum.com/t/postgresql-gem-for-ruby-pg-problem/150648 "2008-10-19T14:22:19Z")

</div>

Hi there. I’m having a problem here: I’m trying to install pg-0.7.9.2008.10.05 (The last version), but I get this… PATH=/opt/PostgreSQL/8.3/bin:$PATH gem install pg Building native extensions. This could take a whil…

---

## [How to do unit test whic allows null in the column](https://www.ruby-forum.com/t/how-to-do-unit-test-whic-allows-null-in-the-column/151272)

<div class="topic-metadata">

**Author:** [@jicksta](https://www.ruby-forum.com/u/jicksta)\
**Replies:** 2\
**Last updated:** [October 19, 2008, 1:24pm UTC](https://www.ruby-forum.com/t/how-to-do-unit-test-whic-allows-null-in-the-column/151272 "2008-10-19T13:24:19Z")

</div>

Hi, I have a carts table with columns: campsite, arrival\_date, nights, parents, children, family\_claim, total. Here children and family\_claim column allows null so even if the value is not passed for these columns it …

---

## [Map.root doesn't run controller logic?](https://www.ruby-forum.com/t/map-root-doesnt-run-controller-logic/151263)

<div class="topic-metadata">

**Author:** [@chrisjo](https://www.ruby-forum.com/u/chrisjo)\
**Replies:** 4\
**Last updated:** [October 19, 2008, 12:08pm UTC](https://www.ruby-forum.com/t/map-root-doesnt-run-controller-logic/151263 "2008-10-19T12:08:36Z")

</div>

I have this in my routes.rb: map.resources :events … map.root :controller =\> “events”, :action =\> :index Surely enough, accessing http://localhost:3000/ renders the events/index.html.erb template. However, accessing …

---

## [Can not update my data base using "update\_attributes"](https://www.ruby-forum.com/t/can-not-update-my-data-base-using-update-attributes/128766)

<div class="topic-metadata">

**Author:** [@sshefer](https://www.ruby-forum.com/u/sshefer)\
**Replies:** 2\
**Last updated:** [October 19, 2008, 11:52am UTC](https://www.ruby-forum.com/t/can-not-update-my-data-base-using-update-attributes/128766 "2008-10-19T11:52:35Z")

</div>

Hello, I have this problem that my rails application works fine in development environment on my local Linux and windows system but when I uploaded it to work on the server in production environment I have this proble…

---

## [How to pass controller instances class to UserNotifier](https://www.ruby-forum.com/t/how-to-pass-controller-instances-class-to-usernotifier/151273)

<div class="topic-metadata">

**Author:** [@john5511](https://www.ruby-forum.com/u/john5511)\
**Replies:** 0\
**Last updated:** [October 19, 2008, 11:48am UTC](https://www.ruby-forum.com/t/how-to-pass-controller-instances-class-to-usernotifier/151273 "2008-10-19T11:48:55Z")

</div>

Hi, I am using “UserNotifier \< ActionMailer::Base” in model. In my User Model class I have these after\_create {|user| UserNotifier.deliver\_signup\_notification(user) } after\_save {|user| UserNotifier.deliver\_activat…

---

## [Convert Illustrator file to HTML or CSS for programming on Ruby?](https://www.ruby-forum.com/t/convert-illustrator-file-to-html-or-css-for-programming-on-ruby/151204)

<div class="topic-metadata">

**Author:** [@carladeluxe](https://www.ruby-forum.com/u/carladeluxe)\
**Replies:** 5\
**Last updated:** [October 19, 2008, 5:44am UTC](https://www.ruby-forum.com/t/convert-illustrator-file-to-html-or-css-for-programming-on-ruby/151204 "2008-10-19T05:44:34Z")

</div>

HI there, My graphic designer and my programmer are having a communications snafu, and it’s my job to translate. The programmer is saying that if there’s a simple conversion method to take web page designs created in…

---

## [Adding attributes to subclasses created using polymorphic associations](https://www.ruby-forum.com/t/adding-attributes-to-subclasses-created-using-polymorphic-associations/151266)

<div class="topic-metadata">

**Author:** [@evan](https://www.ruby-forum.com/u/evan)\
**Replies:** 0\
**Last updated:** [October 19, 2008, 3:27am UTC](https://www.ruby-forum.com/t/adding-attributes-to-subclasses-created-using-polymorphic-associations/151266 "2008-10-19T03:27:02Z")

</div>

Good evening. I have a class, CustomerRequest, which I have subclassed into three other classes, all different types of customer requests. I chose to use polymorphic associations to map the subclasses in my database. …

---

## [Passenger won't allow ActiveRecord to be extended?](https://www.ruby-forum.com/t/passenger-wont-allow-activerecord-to-be-extended/151265)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 0\
**Last updated:** [October 19, 2008, 1:05am UTC](https://www.ruby-forum.com/t/passenger-wont-allow-activerecord-to-be-extended/151265 "2008-10-19T01:05:36Z")

</div>

After much tinkering, I have discovered that any module or plugin which extends ActiveRecord causes Passenger to fail (application won’t load at all). Is this a known behavior? I have confirmed that my Passenger inst…

---

## [IE doesn't take parameters generated by rails Firefox does](https://www.ruby-forum.com/t/ie-doesnt-take-parameters-generated-by-rails-firefox-does/151241)

<div class="topic-metadata">

**Author:** [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Replies:** 1\
**Last updated:** [October 19, 2008, 1:03am UTC](https://www.ruby-forum.com/t/ie-doesnt-take-parameters-generated-by-rails-firefox-does/151241 "2008-10-19T01:03:11Z")

</div>

Hello, I have this code in ruby on rails view (.html.erb): \<%= text\_field :poll, :option3\_text, :size =\> 20, :class =\> ‘topicField’ %\> Which translates in HTML code to: When I print the parameters passed from the …

---

## [SVN help](https://www.ruby-forum.com/t/svn-help/151252)

<div class="topic-metadata">

**Author:** [@ressister](https://www.ruby-forum.com/u/ressister)\
**Replies:** 4\
**Last updated:** [October 19, 2008, 12:38am UTC](https://www.ruby-forum.com/t/svn-help/151252 "2008-10-19T00:38:34Z")

</div>

Hi there, I have a revision, #238 which I’ve since made changes to and committed so I’m now on revision #240. I’m not happy with the direction that I’ve gone since the two commits I’ve made, and I want #238 to be the …

---

## [Using view from different controller](https://www.ruby-forum.com/t/using-view-from-different-controller/151261)

<div class="topic-metadata">

**Author:** [@corck](https://www.ruby-forum.com/u/corck)\
**Replies:** 0\
**Last updated:** [October 18, 2008, 11:36pm UTC](https://www.ruby-forum.com/t/using-view-from-different-controller/151261 "2008-10-18T23:36:29Z")

</div>

Hi, I (newbie) work on an application that uses the last.fm api and request the top albums from Last.fm. so I have a lastfm\_controller with the action caches\_view: top\_albums def top\_albums get\_albums(params\[artist…

---

## [To access to documents from UNC Windows routes](https://www.ruby-forum.com/t/to-access-to-documents-from-unc-windows-routes/151260)

<div class="topic-metadata">

**Author:** [@fearx](https://www.ruby-forum.com/u/fearx)\
**Replies:** 0\
**Last updated:** [October 18, 2008, 11:34pm UTC](https://www.ruby-forum.com/t/to-access-to-documents-from-unc-windows-routes/151260 "2008-10-18T23:34:47Z")

</div>

I have some documents pdfs UNC in a resource-type \\server\\folder$, to whom it would log in to download from the application in Rails. The server is different from where the application is housed. Is it possible to gai…

---

## [Where do I copy my RoR application](https://www.ruby-forum.com/t/where-do-i-copy-my-ror-application/150724)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 2\
**Last updated:** [October 18, 2008, 11:34pm UTC](https://www.ruby-forum.com/t/where-do-i-copy-my-ror-application/150724 "2008-10-18T23:34:41Z")

</div>

Hi all I have a questions about how to deploy my RoR application. In my server I already have an html applicaiotn, and one of these pages needs to call the RoR. Currently my pages are inside the public\_html folder W…

---

## [Update \_attribtutes fails to update, please help!](https://www.ruby-forum.com/t/update-attribtutes-fails-to-update-please-help/151237)

<div class="topic-metadata">

**Author:** [@rvruby](https://www.ruby-forum.com/u/rvruby)\
**Replies:** 6\
**Last updated:** [October 18, 2008, 10:36pm UTC](https://www.ruby-forum.com/t/update-attribtutes-fails-to-update-please-help/151237 "2008-10-18T22:36:08Z")

</div>

I am trying to update a leave but the update does not work. Please let me know where I am making the mistake.(Looked in to the log, id in the update SQL statment shows NULL) View Editing Leaves \<% form\_for :leaves, @…

---

## [Link\_to + PUT + restful routes problem](https://www.ruby-forum.com/t/link-to-put-restful-routes-problem/151254)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 0\
**Last updated:** [October 18, 2008, 10:28pm UTC](https://www.ruby-forum.com/t/link-to-put-restful-routes-problem/151254 "2008-10-18T22:28:04Z")

</div>

Hi, I’m trying to use link\_to to access the Update action + add some extra parameters. I’m using the default rest routes. I can’t get it working. When I use: \<%= link\_to ’ Accept’, invitation\_path, :method =\> :put, :…

---

## [TextMate Bundle using Gedit](https://www.ruby-forum.com/t/textmate-bundle-using-gedit/151191)

<div class="topic-metadata">

**Author:** [@jasonwold](https://www.ruby-forum.com/u/jasonwold)\
**Replies:** 4\
**Last updated:** [October 18, 2008, 9:30pm UTC](https://www.ruby-forum.com/t/textmate-bundle-using-gedit/151191 "2008-10-18T21:30:29Z")

</div>

Hello All, is it possible to use a textmate bundle in Gedit? I’m using Ubuntu 8.04 at the moment. thanks, Jason

---

## [Is Rails 2.2 done?](https://www.ruby-forum.com/t/is-rails-2-2-done/151246)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 1\
**Last updated:** [October 18, 2008, 9:17pm UTC](https://www.ruby-forum.com/t/is-rails-2-2-done/151246 "2008-10-18T21:17:36Z")

</div>

http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/milestones – Jochen

---

## [Press enter to login](https://www.ruby-forum.com/t/press-enter-to-login/151219)

<div class="topic-metadata">

**Author:** [@Applejus](https://www.ruby-forum.com/u/Applejus)\
**Replies:** 1\
**Last updated:** [October 18, 2008, 9:11pm UTC](https://www.ruby-forum.com/t/press-enter-to-login/151219 "2008-10-18T21:11:13Z")

</div>

Hi there, I have a login form and would like to know if there’s a way to let the user press enter to submit the login information as an alternative to clicking the login button. Thanks! View this message in conte…

---

## [Sanitize add more tags](https://www.ruby-forum.com/t/sanitize-add-more-tags/151240)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 2\
**Last updated:** [October 18, 2008, 7:02pm UTC](https://www.ruby-forum.com/t/sanitize-add-more-tags/151240 "2008-10-18T19:02:41Z")

</div>

I have added the following snippet to environment.rb: Rails::Initializer.run do |config| config.action\_view.sanitized\_allowed\_tags = ‘table’, ‘tr’, ‘td’, ‘th’ end But it doesn’t work, my tags still get removed. Any i…

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

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