# Rails

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

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

---

## [Don't understand migrations](https://www.ruby-forum.com/t/dont-understand-migrations/135346)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 3\
**Last updated:** [April 21, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/dont-understand-migrations/135346 "2008-04-21T16:20:51Z")

</div>

If I use rake db:rollback it will delete a table I don’t want. Then I add another migration with a new table. Then I run db:migrate. The table I didn’t want is created again. How do I delete it so it doesn’t come back…

---

## [Load value in a date form field](https://www.ruby-forum.com/t/load-value-in-a-date-form-field/135195)

<div class="topic-metadata">

**Author:** [@dazuma](https://www.ruby-forum.com/u/dazuma)\
**Replies:** 4\
**Last updated:** [April 21, 2008, 4:14pm UTC](https://www.ruby-forum.com/t/load-value-in-a-date-form-field/135195 "2008-04-21T16:14:56Z")

</div>

Hi!I think it’s easy but for some reason what I want to do is not working. When I call to the new method I do that before render the new.html.erb page: @cambio = Cambio.new @cambio.user\_id\_origen = current\_user.id @…

---

## [Specifying class for form\_remote\_tag](https://www.ruby-forum.com/t/specifying-class-for-form-remote-tag/135298)

<div class="topic-metadata">

**Author:** [@apswartz](https://www.ruby-forum.com/u/apswartz)\
**Replies:** 3\
**Last updated:** [April 21, 2008, 4:13pm UTC](https://www.ruby-forum.com/t/specifying-class-for-form-remote-tag/135298 "2008-04-21T16:13:09Z")

</div>

I have a form\_tag that is: \<% form\_remote\_tag :url =\> ‘/tasks/new’, :class =\> ‘edit\_task’ do -%\> Everything is fine EXCEPT the class doesn’t get assigned to the form tag. Any help would be appreciated… Thanks, Alan …

---

## [Single user editing and commit feature](https://www.ruby-forum.com/t/single-user-editing-and-commit-feature/134813)

<div class="topic-metadata">

**Author:** [@ahead](https://www.ruby-forum.com/u/ahead)\
**Replies:** 7\
**Last updated:** [April 21, 2008, 3:52pm UTC](https://www.ruby-forum.com/t/single-user-editing-and-commit-feature/134813 "2008-04-21T15:52:09Z")

</div>

Hi all, I need to develop an Rails app where all changes should be done on a “shadow copy” of the data and then committed all at once. Only one user may edit the data at any given time. Other users should not see the …

---

## [Using Growl to display not just Pass/Fail, but also Error](https://www.ruby-forum.com/t/using-growl-to-display-not-just-pass-fail-but-also-error/135361)

<div class="topic-metadata">

**Author:** [@gavin](https://www.ruby-forum.com/u/gavin)\
**Replies:** 0\
**Last updated:** [April 21, 2008, 3:46pm UTC](https://www.ruby-forum.com/t/using-growl-to-display-not-just-pass-fail-but-also-error/135361 "2008-04-21T15:46:17Z")

</div>

The code below is a typical for using Growl to display autotest notifications, but it only displays Pass/Fail. I’d like to see notifications for Errors as well. Has anyone implemented this? module Autotest::Growl A…

---

## [Type with two references to the same table](https://www.ruby-forum.com/t/type-with-two-references-to-the-same-table/134333)

<div class="topic-metadata">

**Author:** [@toddlc](https://www.ruby-forum.com/u/toddlc)\
**Replies:** 4\
**Last updated:** [April 21, 2008, 3:35pm UTC](https://www.ruby-forum.com/t/type-with-two-references-to-the-same-table/134333 "2008-04-21T15:35:22Z")

</div>

Hi all, Struggling with the case of one type with two refs to another type: Type has\_many :attributes Attribute belongs\_to :owner, :foreign\_key =\> “owner\_id”, :class\_name = “Type” has\_one :type When I type…

---

## [Mongrels servers sharing common memory space](https://www.ruby-forum.com/t/mongrels-servers-sharing-common-memory-space/196646)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 3\
**Last updated:** [April 21, 2008, 1:59pm UTC](https://www.ruby-forum.com/t/mongrels-servers-sharing-common-memory-space/196646 "2008-04-21T13:59:05Z")

</div>

Hi, I have written an application which on initiliazation calculates a graph based on data in DB. And then any updates on the graph(global variable) , i am doing both on graph and db. Everything works fine as long as…

---

## [Do I need to use sessions if I don't store anything in them?](https://www.ruby-forum.com/t/do-i-need-to-use-sessions-if-i-dont-store-anything-in-them/135099)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 4\
**Last updated:** [April 21, 2008, 1:42pm UTC](https://www.ruby-forum.com/t/do-i-need-to-use-sessions-if-i-dont-store-anything-in-them/135099 "2008-04-21T13:42:56Z")

</div>

Hi, I got very small app that has user part and admin part. The problem is that after a while the sessions table has ~150mb. I don’t really need to store any user data in the session for the user part. I only need it…

---

## [Tmp delete from activerecord](https://www.ruby-forum.com/t/tmp-delete-from-activerecord/135342)

<div class="topic-metadata">

**Author:** [@marlor](https://www.ruby-forum.com/u/marlor)\
**Replies:** 8\
**Last updated:** [April 21, 2008, 1:42pm UTC](https://www.ruby-forum.com/t/tmp-delete-from-activerecord/135342 "2008-04-21T13:42:56Z")

</div>

Hello, This is the case: A project has many users. a project has an admin. when I list the project users I don’t want to display the admin user so what I tried was: users = @project.users users.delete(admin\_user) …

---

## [Remote form for, Form.serialize and parameter arrays](https://www.ruby-forum.com/t/remote-form-for-form-serialize-and-parameter-arrays/125763)

<div class="topic-metadata">

**Author:** [@michael](https://www.ruby-forum.com/u/michael)\
**Replies:** 1\
**Last updated:** [April 21, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/remote-form-for-form-serialize-and-parameter-arrays/125763 "2008-04-21T13:05:03Z")

</div>

Whenever I use regular form for and have an attribute list containing an array all goes fine and it results in parameters like: {“some\_attributes”=\>\[{“title”=\>“first\_title”, “text” =\> “text1”}, {“title”=\>“second\_title…

---

## [Sorting helper does not work -- need help](https://www.ruby-forum.com/t/sorting-helper-does-not-work-need-help/135337)

<div class="topic-metadata">

**Author:** [@durgesh](https://www.ruby-forum.com/u/durgesh)\
**Replies:** 5\
**Last updated:** [April 21, 2008, 12:58pm UTC](https://www.ruby-forum.com/t/sorting-helper-does-not-work-need-help/135337 "2008-04-21T12:58:25Z")

</div>

Hi guys! I am still not able to get the sorting onclick of the table headers to work… I get this error: NoMethodError in PeopleController#index You have a nil object when you didn’t expect it! You might have expect…

---

## [This Week in Ruby (April 21, 2008)](https://www.ruby-forum.com/t/this-week-in-ruby-april-21-2008/135344)

<div class="topic-metadata">

**Author:** [@visitor1981](https://www.ruby-forum.com/u/visitor1981)\
**Replies:** 0\
**Last updated:** [April 21, 2008, 12:18pm UTC](https://www.ruby-forum.com/t/this-week-in-ruby-april-21-2008/135344 "2008-04-21T12:18:12Z")

</div>

Hi all, here you can find the new edition of “This Week in Ruby”: Cheers, Antonio http://antoniocangiano.com - Zen and the Art of Programming http://stacktrace.it - Aperiodico di resistenza informatica http://math…

---

## [\[ANN\] The Visual Rails Workbench](https://www.ruby-forum.com/t/ann-the-visual-rails-workbench/135336)

<div class="topic-metadata">

**Author:** [@huw](https://www.ruby-forum.com/u/huw)\
**Replies:** 1\
**Last updated:** [April 21, 2008, 11:50am UTC](https://www.ruby-forum.com/t/ann-the-visual-rails-workbench/135336 "2008-04-21T11:50:15Z")

</div>

SapphireSteel Software has just released a major update to its Ruby and Rails IDE, Ruby In Steel Developer. This edition includes a unique visual drag and drop environment - The Visual Rails Workbench - for designing …

---

## [Getaddrinfo: no address associated with hostname](https://www.ruby-forum.com/t/getaddrinfo-no-address-associated-with-hostname/135333)

<div class="topic-metadata">

**Author:** [@yagnesh](https://www.ruby-forum.com/u/yagnesh)\
**Replies:** 7\
**Last updated:** [April 21, 2008, 11:30am UTC](https://www.ruby-forum.com/t/getaddrinfo-no-address-associated-with-hostname/135333 "2008-04-21T11:30:40Z")

</div>

When i m going to upload the site This msg is coming instead of application view using localhost. getaddrinfo: no address associated with hostname Can u give me the solution about this? Thanks Yagnesh

---

## [Problem with routes and scaffold](https://www.ruby-forum.com/t/problem-with-routes-and-scaffold/135340)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 6\
**Last updated:** [April 21, 2008, 11:18am UTC](https://www.ruby-forum.com/t/problem-with-routes-and-scaffold/135340 "2008-04-21T11:18:20Z")

</div>

When I make a new scaffold I get a problem with routes. When adding a Leave table in the db using scaffold and migrate, and entering the index page I get “undefined local variable or method \`new\_leave\_path’”. Same pro…

---

## [\[ANN\] ActsAsOptions plugin for Rails 2.0](https://www.ruby-forum.com/t/ann-actsasoptions-plugin-for-rails-2-0/135276)

<div class="topic-metadata">

**Author:** [@flowerborn](https://www.ruby-forum.com/u/flowerborn)\
**Replies:** 2\
**Last updated:** [April 21, 2008, 11:14am UTC](https://www.ruby-forum.com/t/ann-actsasoptions-plugin-for-rails-2-0/135276 "2008-04-21T11:14:06Z")

</div>

Hi, I’ve made a simple plugin for Rails 2.0 to generate options for tag. After installed, add the ‘acts\_as\_options’ line to your model: class Brand acts\_as\_options end By default ActsAsOptions suppose you have a ‘…

---

## [Oracle connection problem](https://www.ruby-forum.com/t/oracle-connection-problem/133914)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 1\
**Last updated:** [April 21, 2008, 11:07am UTC](https://www.ruby-forum.com/t/oracle-connection-problem/133914 "2008-04-21T11:07:40Z")

</div>

ORA-12154: TNS:could not resolve the connect identifier specified I’ve updated rails to 2.0.2 and I start having a problem with oracle connection. I installed activerecord-oracle-adapter, and changed oci to oracle in …

---

## [Using OCI on Radrails](https://www.ruby-forum.com/t/using-oci-on-radrails/134368)

<div class="topic-metadata">

**Author:** [@Shashaxe](https://www.ruby-forum.com/u/Shashaxe)\
**Replies:** 1\
**Last updated:** [April 21, 2008, 11:02am UTC](https://www.ruby-forum.com/t/using-oci-on-radrails/134368 "2008-04-21T11:02:58Z")

</div>

Hi, I have installed Radrails and I need to connect to an Oracle DB (XE). I guess I need to install the adapter/driver? Could anyone guide me on this please? Thanks in advance. Shashank

---

## [Oracle Adapter with DateTime conversion not working](https://www.ruby-forum.com/t/oracle-adapter-with-datetime-conversion-not-working/134701)

<div class="topic-metadata">

**Author:** [@alexmic](https://www.ruby-forum.com/u/alexmic)\
**Replies:** 1\
**Last updated:** [April 21, 2008, 10:58am UTC](https://www.ruby-forum.com/t/oracle-adapter-with-datetime-conversion-not-working/134701 "2008-04-21T10:58:47Z")

</div>

I’m trying to find all people that we’re created at a specific date and time, however rails does not seem to be performing the correct conversion into oracle’s format. Should this work by default? I can fix it by wr…

---

## [Problem on running the server](https://www.ruby-forum.com/t/problem-on-running-the-server/135320)

<div class="topic-metadata">

**Author:** [@karthikragu](https://www.ruby-forum.com/u/karthikragu)\
**Replies:** 2\
**Last updated:** [April 21, 2008, 10:18am UTC](https://www.ruby-forum.com/t/problem-on-running-the-server/135320 "2008-04-21T10:18:13Z")

</div>

hi all, an application that was written in ror is running in my off and i have to set it up in my local machine for some enhancement work.after setting it up in my local machine i started the server but its showi…

---

## [Link\_to\_remote / url path question](https://www.ruby-forum.com/t/link-to-remote-url-path-question/135317)

<div class="topic-metadata">

**Author:** [@eboss](https://www.ruby-forum.com/u/eboss)\
**Replies:** 1\
**Last updated:** [April 21, 2008, 10:12am UTC](https://www.ruby-forum.com/t/link-to-remote-url-path-question/135317 "2008-04-21T10:12:57Z")

</div>

I have this helper / link\_to\_remote link I am trying to switch from destroy/delete to a separate method/action. Here is the original code. link\_to\_remote image\_tag(‘delete.png’, :class =\> ‘png’, :width=\>‘12’, :height=\>…

---

## [Having a controller action call an action in a different controller](https://www.ruby-forum.com/t/having-a-controller-action-call-an-action-in-a-different-controller/130474)

<div class="topic-metadata">

**Author:** [@denisa](https://www.ruby-forum.com/u/denisa)\
**Replies:** 3\
**Last updated:** [April 21, 2008, 10:10am UTC](https://www.ruby-forum.com/t/having-a-controller-action-call-an-action-in-a-different-controller/130474 "2008-04-21T10:10:35Z")

</div>

Does anyone know how to go about having a controller action call an action in a completely different controller? The reason for wanting to do this is that my Rails app has several actions that are common across all pa…

---

## [How to get a POST data from in controller?](https://www.ruby-forum.com/t/how-to-get-a-post-data-from-in-controller/135271)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [April 21, 2008, 8:40am UTC](https://www.ruby-forum.com/t/how-to-get-a-post-data-from-in-controller/135271 "2008-04-21T08:40:50Z")

</div>

Hi, I am newbie in Ruby. Here is the situation I meet: I got a javascript app that will send string data by using HTTP POST method to another ruby app. Here is the url: http://localhost:3000/home/receive\_data So, t…

---

## [Gmail Contacts "like" reference data management gui](https://www.ruby-forum.com/t/gmail-contacts-like-reference-data-management-gui/135328)

<div class="topic-metadata">

**Author:** [@BelAus](https://www.ruby-forum.com/u/BelAus)\
**Replies:** 0\
**Last updated:** [April 21, 2008, 8:26am UTC](https://www.ruby-forum.com/t/gmail-contacts-like-reference-data-management-gui/135328 "2008-04-21T08:26:40Z")

</div>

Hi everyone, The system I am designing will need to be able to manage some reference data. It would need a lookup and I really love some sort of live search functionality, browse by groups/tags and a detail where ite…

---

## [Regarding the cookies](https://www.ruby-forum.com/t/regarding-the-cookies/135326)

<div class="topic-metadata">

**Author:** [@vamsi](https://www.ruby-forum.com/u/vamsi)\
**Replies:** 0\
**Last updated:** [April 21, 2008, 8:26am UTC](https://www.ruby-forum.com/t/regarding-the-cookies/135326 "2008-04-21T08:26:39Z")

</div>

Hi all If i click logout from my project it show u r logged out and if i click back button on browser it goes to the project even i deleted the cookies. i liked the functionality of gmail where i logout and click the…

---

## [Polling system for RoR?](https://www.ruby-forum.com/t/polling-system-for-ror/135325)

<div class="topic-metadata">

**Author:** [@rSils3nvy](https://www.ruby-forum.com/u/rSils3nvy)\
**Replies:** 0\
**Last updated:** [April 21, 2008, 8:26am UTC](https://www.ruby-forum.com/t/polling-system-for-ror/135325 "2008-04-21T08:26:05Z")

</div>

Does anyone know if there is a polling system out there that I could incorporate in a site or should I just try and come up with one on my own?

---

## [Job in Melbourne, Australia - Ruby On Rails developer](https://www.ruby-forum.com/t/job-in-melbourne-australia-ruby-on-rails-developer/135322)

<div class="topic-metadata">

**Author:** [@Andrew\_Stuart](https://www.ruby-forum.com/u/Andrew_Stuart)\
**Replies:** 0\
**Last updated:** [April 21, 2008, 8:22am UTC](https://www.ruby-forum.com/t/job-in-melbourne-australia-ruby-on-rails-developer/135322 "2008-04-21T08:22:31Z")

</div>

Hello folks - hope it’s okay to post jobs here. Ruby On Rails developer Ruby On Rails Inner Melbourne location Exciting opportunity Join a small and successful company developing a sophisticated Ruby On Rails applic…

---

## [Documentation!](https://www.ruby-forum.com/t/documentation/135301)

<div class="topic-metadata">

**Author:** [@rushnosh](https://www.ruby-forum.com/u/rushnosh)\
**Replies:** 3\
**Last updated:** [April 21, 2008, 7:59am UTC](https://www.ruby-forum.com/t/documentation/135301 "2008-04-21T07:59:05Z")

</div>

is there any guide on navigating thru ruby docs. is there a search??? example: if a newbie wanted to find the compare operators what would the steps be or is it norm to google for 2 hours to find the simplest of thin…

---

## [Create a Plugin or a Gem? e.g. - will\_paginate](https://www.ruby-forum.com/t/create-a-plugin-or-a-gem-e-g-will-paginate/135249)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 2\
**Last updated:** [April 21, 2008, 6:12am UTC](https://www.ruby-forum.com/t/create-a-plugin-or-a-gem-e-g-will-paginate/135249 "2008-04-21T06:12:55Z")

</div>

I noticed that will\_paginate is now being distributed as a plugin. In the readme, it states: "You should switch to using the gem: gem install will\_paginate After that, you can remove the plugin from your application…

---

## [Ruby + ARM](https://www.ruby-forum.com/t/ruby-arm/135318)

<div class="topic-metadata">

**Author:** [@andreteves](https://www.ruby-forum.com/u/andreteves)\
**Replies:** 0\
**Last updated:** [April 21, 2008, 6:09am UTC](https://www.ruby-forum.com/t/ruby-arm/135318 "2008-04-21T06:09:37Z")

</div>

Hi! I would like to know if it is possible to run Ruby on Rails on OS compatible with embedded systems (Linux Qtopia, Windows CE, etc). Thanks!

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

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