# Rails

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

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

---

## [Moving unbundled builder to svn:externals](https://www.ruby-forum.com/t/moving-unbundled-builder-to-svn-externals/116596)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/moving-unbundled-builder-to-svn-externals/116596 "2007-10-07T20:05:53Z")

</div>

I just updated my project to the latest edge revision (7774) and I discovered that Builder has been unbundled “in favor of gem dependency”. I did install the builder gem and was able to get my app back up and running…

---

## [Please check this simple code](https://www.ruby-forum.com/t/please-check-this-simple-code/116585)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 3\
**Last updated:** [October 7, 2007, 8:03pm UTC](https://www.ruby-forum.com/t/please-check-this-simple-code/116585 "2007-10-07T20:03:32Z")

</div>

Hello, Please check my code for creating feedbacks on my application. Code is simple, because I’m new to RoR and only studying(It’s working but i’m not sure about method render :action=\>:index, because somewhere i re…

---

## [Exec format error while installing Globalize](https://www.ruby-forum.com/t/exec-format-error-while-installing-globalize/116592)

<div class="topic-metadata">

**Author:** [@ohaleck](https://www.ruby-forum.com/u/ohaleck)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/exec-format-error-while-installing-globalize/116592 "2007-10-07T19:30:04Z")

</div>

Hello, I have a problem installing Globalize plugin on my Windows machine. I first posted this msg to comp.lang.ruby but got no answer, so I hope to get help here :slight\_smile: I must admit I am a complete noob in R…

---

## [Rspec what is the differencec (specify and it)?](https://www.ruby-forum.com/t/rspec-what-is-the-differencec-specify-and-it/116558)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 3\
**Last updated:** [October 7, 2007, 6:56pm UTC](https://www.ruby-forum.com/t/rspec-what-is-the-differencec-specify-and-it/116558 "2007-10-07T18:56:37Z")

</div>

hi, I just started to learn Rspec, and it is really wonderful framework to test all my code :slight\_smile: But I want to know what is the difference between these two testing methods. describe User do it “blah blah…

---

## [Setting home](https://www.ruby-forum.com/t/setting-home/116589)

<div class="topic-metadata">

**Author:** [@woodzer](https://www.ruby-forum.com/u/woodzer)\
**Replies:** 1\
**Last updated:** [October 7, 2007, 6:31pm UTC](https://www.ruby-forum.com/t/setting-home/116589 "2007-10-07T18:31:14Z")

</div>

Hi Sorry for this newb question but I’m stumped and need a point in the right direction. Basically I want visitors to go to /home and not /public. If they have never been to the site I want to redirect them to /publi…

---

## [Error with attachment\_fu](https://www.ruby-forum.com/t/error-with-attachment-fu/116512)

<div class="topic-metadata">

**Author:** [@zaid](https://www.ruby-forum.com/u/zaid)\
**Replies:** 4\
**Last updated:** [October 7, 2007, 6:16pm UTC](https://www.ruby-forum.com/t/error-with-attachment-fu/116512 "2007-10-07T18:16:39Z")

</div>

Hello I am using attachment\_fu and RMagick to raise photos, to change the size and to create a thumbnail. The case that when I add an image, the first time does well and rest gives to error when doing save in the con…

---

## [2 comboboxes](https://www.ruby-forum.com/t/2-comboboxes/116581)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 2\
**Last updated:** [October 7, 2007, 6:11pm UTC](https://www.ruby-forum.com/t/2-comboboxes/116581 "2007-10-07T18:11:26Z")

</div>

Hello, I have a 2 comboboxes on my web-page. first contains list of cities, and other contains list of companies. But i need to filter second combobox by selected city in first combo. What the best way to implement th…

---

## [Action Controller: Exception caught](https://www.ruby-forum.com/t/action-controller-exception-caught/116557)

<div class="topic-metadata">

**Author:** [@xwordguy](https://www.ruby-forum.com/u/xwordguy)\
**Replies:** 1\
**Last updated:** [October 7, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/action-controller-exception-caught/116557 "2007-10-07T17:50:12Z")

</div>

I seem to be having a problem getting my RoR all setup with MySQL database. I am developing on Windows XP. Installed MySQL 5.0 and it seems to be working and have already fixed an issue with my password in the datab…

---

## [Newbie Configuration Question](https://www.ruby-forum.com/t/newbie-configuration-question/116586)

<div class="topic-metadata">

**Author:** [@sereneliving](https://www.ruby-forum.com/u/sereneliving)\
**Replies:** 1\
**Last updated:** [October 7, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/newbie-configuration-question/116586 "2007-10-07T17:43:13Z")

</div>

Sorry if this is a repeat, but I haven’t been able to find the answer. I have a simple windows laptop which I’ve been using to learn PHP over the last few months, having installed it, Apache and MYSQL. I want to start…

---

## [Nice tab implementation - rails?](https://www.ruby-forum.com/t/nice-tab-implementation-rails/82581)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 3\
**Last updated:** [October 7, 2007, 5:33pm UTC](https://www.ruby-forum.com/t/nice-tab-implementation-rails/82581 "2007-10-07T17:33:45Z")

</div>

Hi: I have a RoR index page where I’d like to implement some tabs. Each tab would contain a bunch of fields that would be populated on the tab upon clicking it. Is there a tabs implementation anywhere in RoR or scr…

---

## [GoogleMap with new Markers and Database store](https://www.ruby-forum.com/t/googlemap-with-new-markers-and-database-store/116578)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 1\
**Last updated:** [October 7, 2007, 4:08pm UTC](https://www.ruby-forum.com/t/googlemap-with-new-markers-and-database-store/116578 "2007-10-07T16:08:44Z")

</div>

Hello, How to implement adding new markers to google map with saving them to database. Thanks

---

## [Newbie Q: Why does scaffolding create new on 'new'?](https://www.ruby-forum.com/t/newbie-q-why-does-scaffolding-create-new-on-new/116536)

<div class="topic-metadata">

**Author:** [@jazcyk](https://www.ruby-forum.com/u/jazcyk)\
**Replies:** 5\
**Last updated:** [October 7, 2007, 4:06pm UTC](https://www.ruby-forum.com/t/newbie-q-why-does-scaffolding-create-new-on-new/116536 "2007-10-07T16:06:58Z")

</div>

Hi, Apologies for what is a very basic question, but hopefully someone can help me understand why the following is done in the Rails scaffolding: Scaffolding creates, amongst others, these two methods in a controller: …

---

## [Activerecord problem with contrains,belongs\_to and has\_many keyword](https://www.ruby-forum.com/t/activerecord-problem-with-contrains-belongs-to-and-has-many-keyword/116561)

<div class="topic-metadata">

**Author:** [@ghostrifle](https://www.ruby-forum.com/u/ghostrifle)\
**Replies:** 1\
**Last updated:** [October 7, 2007, 11:55am UTC](https://www.ruby-forum.com/t/activerecord-problem-with-contrains-belongs-to-and-has-many-keyword/116561 "2007-10-07T11:55:13Z")

</div>

Hi, I have two models: AdvertisementImages (table: advertisement\_images) Advertisement (table: advertisements) The table advertisement\_images has a foreign key to advertisements called advertisement\_id. Both tables …

---

## [Urgent requirements for jobs in delhi](https://www.ruby-forum.com/t/urgent-requirements-for-jobs-in-delhi/116550)

<div class="topic-metadata">

**Author:** [@kunal\_sinha](https://www.ruby-forum.com/u/kunal_sinha)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 7:25am UTC](https://www.ruby-forum.com/t/urgent-requirements-for-jobs-in-delhi/116550 "2007-10-07T07:25:33Z")

</div>

Urgent requirements for jobs in delhi Pls sends your CV in www.allindiajobbank.com website. It is fast and gives U positive response. Pls pass this message to Ur friend also because vacancies are waiting. \*Chief Fi…

---

## [Is "send" method not allowed?](https://www.ruby-forum.com/t/is-send-method-not-allowed/116546)

<div class="topic-metadata">

**Author:** [@Vikrant\_C](https://www.ruby-forum.com/u/Vikrant_C)\
**Replies:** 11\
**Last updated:** [October 7, 2007, 6:53am UTC](https://www.ruby-forum.com/t/is-send-method-not-allowed/116546 "2007-10-07T06:53:25Z")

</div>

Hi, When I define a “send” method in my Organise::MessageController class, and try to open the url http://127.0.0.1:3000/organise/message, I get an error saying “We’re sorry, but something went wrong”!, and when I r…

---

## [Exception class location in the rails framework](https://www.ruby-forum.com/t/exception-class-location-in-the-rails-framework/116549)

<div class="topic-metadata">

**Author:** [@elemental](https://www.ruby-forum.com/u/elemental)\
**Replies:** 2\
**Last updated:** [October 7, 2007, 6:28am UTC](https://www.ruby-forum.com/t/exception-class-location-in-the-rails-framework/116549 "2007-10-07T06:28:53Z")

</div>

Hi all, I have a basic noobie question, but I can’t find my answer. I’ve installed the acts as authenticated plug-in, and its incredibly easy to use. My only issue is that it doesn’t give explicit exceptions for di…

---

## [Rails 2.0 to\_xml error](https://www.ruby-forum.com/t/rails-2-0-to-xml-error/116394)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 17\
**Last updated:** [October 7, 2007, 6:04am UTC](https://www.ruby-forum.com/t/rails-2-0-to-xml-error/116394 "2007-10-07T06:04:55Z")

</div>

I’m trying out the rails 2.0 preview release. Before, I upgraded my Videos table used to serialize to xml with no errors. Now I get this: Video.find(1) =\> #\<Video id: 1, x: 128, y: 96, max\_time: 0, max\_file: 200000,…

---

## [Including a Location header in the response](https://www.ruby-forum.com/t/including-a-location-header-in-the-response/116548)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 6:04am UTC](https://www.ruby-forum.com/t/including-a-location-header-in-the-response/116548 "2007-10-07T06:04:20Z")

</div>

How can I include a location header with this response? format.json { render :json =\> @category.to\_json, :status =\> :created }

---

## [Streamlined/ActiveScaffold don't support has\_many :through?](https://www.ruby-forum.com/t/streamlined-activescaffold-dont-support-has-many-through/116540)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [October 7, 2007, 5:45am UTC](https://www.ruby-forum.com/t/streamlined-activescaffold-dont-support-has-many-through/116540 "2007-10-07T05:45:39Z")

</div>

All, I hear tell that neither Streamlined nor ActiveScaffold support the use of has\_many :through relationships in the sense that HM:T relationships will effectively be read-only in those frameworks. Does anyone know…

---

## [Funny videos blog](https://www.ruby-forum.com/t/funny-videos-blog/116543)

<div class="topic-metadata">

**Author:** [@msmanik](https://www.ruby-forum.com/u/msmanik)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 4:35am UTC](https://www.ruby-forum.com/t/funny-videos-blog/116543 "2007-10-07T04:35:29Z")

</div>

http://www.yuwie.com/blog/?id=107717

---

## [Optional Separator in Routes](https://www.ruby-forum.com/t/optional-separator-in-routes/116537)

<div class="topic-metadata">

**Author:** [@Jason\_Wentworth](https://www.ruby-forum.com/u/Jason_Wentworth)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 2:56am UTC](https://www.ruby-forum.com/t/optional-separator-in-routes/116537 "2007-10-07T02:56:15Z")

</div>

So I’m playing with creating some custom routes, and I want to be able to pass in an optional format parameter to specify what should be returned. Here is my current mapping: map.blog\_statements “blogs/:id/comments.:…

---

## [Comparing Two Models of Composing Actions](https://www.ruby-forum.com/t/comparing-two-models-of-composing-actions/116414)

<div class="topic-metadata">

**Author:** [@dark-omen](https://www.ruby-forum.com/u/dark-omen)\
**Replies:** 2\
**Last updated:** [October 7, 2007, 2:55am UTC](https://www.ruby-forum.com/t/comparing-two-models-of-composing-actions/116414 "2007-10-07T02:55:40Z")

</div>

I’ve been working with authentication systems lately and I’m basically seeing actions composed in two different ways. Model A In Model A, a form posts back to the action that rendered it, and if the form post is succ…

---

## [Pagination in partial view](https://www.ruby-forum.com/t/pagination-in-partial-view/113844)

<div class="topic-metadata">

**Author:** [@fero](https://www.ruby-forum.com/u/fero)\
**Replies:** 2\
**Last updated:** [October 7, 2007, 2:25am UTC](https://www.ruby-forum.com/t/pagination-in-partial-view/113844 "2007-10-07T02:25:52Z")

</div>

Hello. Novice question: How can I use pagination function in partial view? I ve tried like this: ActionController::Pagination::paginate, but it throws NoMethodError. Is the way like Model.find or… ? Thanks a lot!

---

## [Hosting recommendations for simple site](https://www.ruby-forum.com/t/hosting-recommendations-for-simple-site/116013)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 11\
**Last updated:** [October 7, 2007, 12:21am UTC](https://www.ruby-forum.com/t/hosting-recommendations-for-simple-site/116013 "2007-10-07T00:21:36Z")

</div>

I am looking to deploy a simple portfolio site. This means it is not a site that will get a lot of hits at least in comparison to a site that offers some kind of service. This also means I am looking for something t…

---

## [Pound and Long running actions](https://www.ruby-forum.com/t/pound-and-long-running-actions/116410)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 2\
**Last updated:** [October 7, 2007, 12:18am UTC](https://www.ruby-forum.com/t/pound-and-long-running-actions/116410 "2007-10-07T00:18:37Z")

</div>

I have a site with some administration actions that are long running. The problem seems to be that pound is sending requests to this locked up mongrel process, even though it has three other open ones. This is manife…

---

## [\[ANN\] Radiant CMS 0.6.3 Rock Grinder Release](https://www.ruby-forum.com/t/ann-radiant-cms-0-6-3-rock-grinder-release/116531)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 0\
**Last updated:** [October 6, 2007, 11:30pm UTC](https://www.ruby-forum.com/t/ann-radiant-cms-0-6-3-rock-grinder-release/116531 "2007-10-06T23:30:18Z")

</div>

Looks like it’s time for another release of Radiant: http://radiantcms.org/download/ This release contains many progressive changes and bugfixes, especially with respect to the extension system. Of special note are: …

---

## [Permissions problem on upload](https://www.ruby-forum.com/t/permissions-problem-on-upload/116526)

<div class="topic-metadata">

**Author:** [@Scott\_Ballantyne](https://www.ruby-forum.com/u/Scott_Ballantyne)\
**Replies:** 1\
**Last updated:** [October 6, 2007, 11:14pm UTC](https://www.ruby-forum.com/t/permissions-problem-on-upload/116526 "2007-10-06T23:14:07Z")

</div>

I’ve got a permissions problem that is only happening on my production server. It coincides with making an upload with attachment\_fu. It looks like it is preventing attachment\_fu from making a tmp folder which att…

---

## [Parsing Ruby code from database possible?](https://www.ruby-forum.com/t/parsing-ruby-code-from-database-possible/116525)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 6\
**Last updated:** [October 6, 2007, 9:10pm UTC](https://www.ruby-forum.com/t/parsing-ruby-code-from-database-possible/116525 "2007-10-06T21:10:38Z")

</div>

Security concerns aside, if I want to let the user write Rails code to my MySql database (e.g. \<%= "Hello world %\>, and the application would then parse the code, would that be possible?

---

## [Using Ruby on a generic ISP](https://www.ruby-forum.com/t/using-ruby-on-a-generic-isp/116520)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 0\
**Last updated:** [October 6, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/using-ruby-on-a-generic-isp/116520 "2007-10-06T19:06:19Z")

</div>

I wonder how Ruby can be used on a generic ISP right now? looks like right now i can use a test.rb in my cgi-bin directory, and it is not even checking the #!/usr/bin/ruby line and then i tried a test.erb in the cgi…

---

## [A Frustrated Beginner](https://www.ruby-forum.com/t/a-frustrated-beginner/116516)

<div class="topic-metadata">

**Author:** [@MrSWatson](https://www.ruby-forum.com/u/MrSWatson)\
**Replies:** 1\
**Last updated:** [October 6, 2007, 6:57pm UTC](https://www.ruby-forum.com/t/a-frustrated-beginner/116516 "2007-10-06T18:57:50Z")

</div>

I have tried everything in my power to get this program up and running and it is not working for me. I have installed RoR on my Windows XP machine. I have Instant Rails and Ruby on Rails and I am using Instant Rails t…

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

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