# Rails

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

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

---

## [Surveying SMS gateway APIs for use with Rails](https://www.ruby-forum.com/t/surveying-sms-gateway-apis-for-use-with-rails/171943)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 0\
**Last updated:** [July 11, 2009, 10:27pm UTC](https://www.ruby-forum.com/t/surveying-sms-gateway-apis-for-use-with-rails/171943 "2009-07-11T22:27:37Z")

</div>

All, I understand that there are a few plugins/gems which are available that allow relatively straightforward integration with various SMS gateway providers. I’m looking for recommendations from people on preferred S…

---

## [Using jQuery for remote\_for](https://www.ruby-forum.com/t/using-jquery-for-remote-for/171908)

<div class="topic-metadata">

**Author:** [@qaswm](https://www.ruby-forum.com/u/qaswm)\
**Replies:** 1\
**Last updated:** [July 11, 2009, 7:47pm UTC](https://www.ruby-forum.com/t/using-jquery-for-remote-for/171908 "2009-07-11T19:47:08Z")

</div>

i tired removing all prototype files and just using jQuery with jrails and for some reason this does not work in ff and ie. Any one has any idea how to fix this.

---

## [Conditional link\_to\_remote not re-rendering](https://www.ruby-forum.com/t/conditional-link-to-remote-not-re-rendering/171901)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 6\
**Last updated:** [July 11, 2009, 6:54pm UTC](https://www.ruby-forum.com/t/conditional-link-to-remote-not-re-rendering/171901 "2009-07-11T18:54:43Z")

</div>

I have an int, ‘floorfrozen,’ in my table, ‘channels’ that can take a value of 0 or 1. When I render a page, an image in a link\_to\_remote is called differently depending what the value of channel.floorfrozen is, in a …

---

## [Redirect route after destroy doesn't work](https://www.ruby-forum.com/t/redirect-route-after-destroy-doesnt-work/171090)

<div class="topic-metadata">

**Author:** [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Replies:** 5\
**Last updated:** [July 11, 2009, 6:35pm UTC](https://www.ruby-forum.com/t/redirect-route-after-destroy-doesnt-work/171090 "2009-07-11T18:35:36Z")

</div>

Hi Ruby Community, after destroying a record, ruby (2.2) don’t use the registerd redirect in the controller: format.html { redirect\_to(tbl\_akte\_tbl\_beteiligtes\_url) } Everytime after deleting ruby uses the s…

---

## [Time parsing issue](https://www.ruby-forum.com/t/time-parsing-issue/171919)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 13\
**Last updated:** [July 11, 2009, 5:04pm UTC](https://www.ruby-forum.com/t/time-parsing-issue/171919 "2009-07-11T17:04:05Z")

</div>

\<% if schedule.date\_scheduled.strftime(’%I:%M %p’) == ‘12:00 AM’ %\> TBA \<% else %\> \<%=h schedule.date\_scheduled.strftime('%I:%M %p') %\> \<% end %\> Works fine - datetime formats that are say “2009-06-30 17:30:00” wil…

---

## [Solaris MySQL Timeouts](https://www.ruby-forum.com/t/solaris-mysql-timeouts/171924)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [July 11, 2009, 4:04pm UTC](https://www.ruby-forum.com/t/solaris-mysql-timeouts/171924 "2009-07-11T16:04:04Z")

</div>

Hello, Running Jruby / Rails 2.2 on Solaris 10 x86 with SUN MySQL Enterprise and seeing intermittent timeouts via ActiveRecord (Connection Lost, No Message, etc). we have enabled the proper connection pooling in the …

---

## [ActionController::RoutingError (Recognition failed for "/dis](https://www.ruby-forum.com/t/actioncontroller-routingerror-recognition-failed-for-dis/171903)

<div class="topic-metadata">

**Author:** [@jimlast](https://www.ruby-forum.com/u/jimlast)\
**Replies:** 3\
**Last updated:** [July 11, 2009, 3:44pm UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror-recognition-failed-for-dis/171903 "2009-07-11T15:44:10Z")

</div>

Hi, I’m just getting started with Ruby on Rails, and I’m having to make some modifications to an existing system and RoR app that uses lighttpd with the RoR web app. Basically, what I’m trying to do is somehow add a …

---

## [Integrating a wiki (built in rails) into a rails application](https://www.ruby-forum.com/t/integrating-a-wiki-built-in-rails-into-a-rails-application/171918)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 0\
**Last updated:** [July 11, 2009, 1:48pm UTC](https://www.ruby-forum.com/t/integrating-a-wiki-built-in-rails-into-a-rails-application/171918 "2009-07-11T13:48:27Z")

</div>

Hi everyone, i wish to know how a wiki ( built in rails ) can be integrated into a rails application? To be more specific, the users of the rails application should also be valid users of the wiki and should be able t…

---

## [Error while making a feedback form](https://www.ruby-forum.com/t/error-while-making-a-feedback-form/171914)

<div class="topic-metadata">

**Author:** [@nidu](https://www.ruby-forum.com/u/nidu)\
**Replies:** 0\
**Last updated:** [July 11, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/error-while-making-a-feedback-form/171914 "2009-07-11T12:53:04Z")

</div>

hii i am making a feedback form wherein data submittd doesnt get savd in the database… code for page controller is like… class PagesController \< ApplicationController layout “pages” def feedback @feedback\_a = feed…

---

## [Why I can't post new message?](https://www.ruby-forum.com/t/why-i-cant-post-new-message/171913)

<div class="topic-metadata">

**Author:** [@michael](https://www.ruby-forum.com/u/michael)\
**Replies:** 1\
**Last updated:** [July 11, 2009, 12:13pm UTC](https://www.ruby-forum.com/t/why-i-cant-post-new-message/171913 "2009-07-11T12:13:55Z")

</div>

I’m a new and I find that I can’t post message ,just for a try

---

## [Text\_field\_with\_auto\_complete with regular expression](https://www.ruby-forum.com/t/text-field-with-auto-complete-with-regular-expression/171911)

<div class="topic-metadata">

**Author:** [@SSSSSSSSSS\_SSSSSSSS](https://www.ruby-forum.com/u/SSSSSSSSSS_SSSSSSSS)\
**Replies:** 0\
**Last updated:** [July 11, 2009, 12:13pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-with-regular-expression/171911 "2009-07-11T12:13:19Z")

</div>

I’m using text\_field\_with\_auto\_complete to index the keywords of something.I created a ‘resource’ model,and it has a ‘keywords’ column. in the resource controller: auto\_complete\_for :resource,:keywords and in the vie…

---

## [Setting up nginx as reverse proxy for a mongrel\_cluster](https://www.ruby-forum.com/t/setting-up-nginx-as-reverse-proxy-for-a-mongrel-cluster/164466)

<div class="topic-metadata">

**Author:** [@balint](https://www.ruby-forum.com/u/balint)\
**Replies:** 2\
**Last updated:** [July 11, 2009, 11:59am UTC](https://www.ruby-forum.com/t/setting-up-nginx-as-reverse-proxy-for-a-mongrel-cluster/164466 "2009-07-11T11:59:55Z")

</div>

Hi, I have a nginx set up to reverse proxy to a mongrel\_cluster. The relevant part of the nginx config is below: upstream mongrel { server 127.0.0.1:8000; server 127.0.0.1:8001; server 127.0.0.1:8002; } server { …

---

## [Submit\_to\_remote with image](https://www.ruby-forum.com/t/submit-to-remote-with-image/171817)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 8\
**Last updated:** [July 11, 2009, 10:10am UTC](https://www.ruby-forum.com/t/submit-to-remote-with-image/171817 "2009-07-11T10:10:40Z")

</div>

Anyone have an idea how I can shoehorn (or workaround) a submit\_to\_remote to accept html options so that I might put an image to it?

---

## [./script/about with ruby 1.9.1](https://www.ruby-forum.com/t/script-about-with-ruby-1-9-1/171871)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 3\
**Last updated:** [July 11, 2009, 6:36am UTC](https://www.ruby-forum.com/t/script-about-with-ruby-1-9-1/171871 "2009-07-11T06:36:19Z")

</div>

Hi In my machine there is Ruby1.8.6 ,1.9.1 and rails 2.3.2 And I created a new project using Ruby1.9.1 and rails 2.3.2 But when did ./script/about it shows Ruby version 1.8.6 (i386-linux) RubyGems versio…

---

## [Skinny Controller, Fat View?](https://www.ruby-forum.com/t/skinny-controller-fat-view/171842)

<div class="topic-metadata">

**Author:** [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Replies:** 7\
**Last updated:** [July 11, 2009, 4:37am UTC](https://www.ruby-forum.com/t/skinny-controller-fat-view/171842 "2009-07-11T04:37:10Z")

</div>

My Web application has several contexts where a collection of ActiveRecords is rendered. If the URL contained the partial and/or layout, the several controller methods could be collapsed into one. What hazards, etc.…

---

## [Wiki built on rails](https://www.ruby-forum.com/t/wiki-built-on-rails/171869)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 3\
**Last updated:** [July 11, 2009, 4:07am UTC](https://www.ruby-forum.com/t/wiki-built-on-rails/171869 "2009-07-11T04:07:58Z")

</div>

Hi everyone, can you please give me few examples of wikis built in rails? Thanks in advance, Ak

---

## [How to validate with validates\_associated](https://www.ruby-forum.com/t/how-to-validate-with-validates-associated/171804)

<div class="topic-metadata">

**Author:** [@dharshannew](https://www.ruby-forum.com/u/dharshannew)\
**Replies:** 8\
**Last updated:** [July 11, 2009, 3:33am UTC](https://www.ruby-forum.com/t/how-to-validate-with-validates-associated/171804 "2009-07-11T03:33:34Z")

</div>

Hi , i am facing strange problem i want to validate two models through validates\_associated, class Cpanel::Banner \< ActiveRecord::Base has\_one :bannerimage validates\_associated :bannerimage validates\_presence\_of :ti…

---

## [How to use remote\_function?](https://www.ruby-forum.com/t/how-to-use-remote-function/196982)

<div class="topic-metadata">

**Author:** [@jlovel](https://www.ruby-forum.com/u/jlovel)\
**Replies:** 1\
**Last updated:** [July 11, 2009, 12:37am UTC](https://www.ruby-forum.com/t/how-to-use-remote-function/196982 "2009-07-11T00:37:07Z")

</div>

I am trying to make a very simple login page that has light-box like features. The only thing I cannot get to work is the behavior of the actual login button. When you click on it it does nothing. I simply want to sub…

---

## [LogIn Button using remote\_function](https://www.ruby-forum.com/t/login-button-using-remote-function/171893)

<div class="topic-metadata">

**Author:** [@jlovel](https://www.ruby-forum.com/u/jlovel)\
**Replies:** 5\
**Last updated:** [July 11, 2009, 12:37am UTC](https://www.ruby-forum.com/t/login-button-using-remote-function/171893 "2009-07-11T00:37:06Z")

</div>

I am trying to make a very simple login page that has light-box like features. The only thing I cannot get to work is the behavior of the actual login button. When you click on it it does nothing. I simply want to sub…

---

## [Text\_field\_with\_auto\_complete](https://www.ruby-forum.com/t/text-field-with-auto-complete/171888)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [July 11, 2009, 12:14am UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete/171888 "2009-07-11T00:14:20Z")

</div>

I need to pass a parameter in my text\_field\_with\_auto\_complete and am struggling to discover how to do this. I have something like this: \<%= text\_field\_with\_auto\_complete ‘user’, ‘username’, {}, {:with =\> “‘post=’@com…

---

## [Database saving empty records](https://www.ruby-forum.com/t/database-saving-empty-records/171857)

<div class="topic-metadata">

**Author:** [@Whiplash](https://www.ruby-forum.com/u/Whiplash)\
**Replies:** 5\
**Last updated:** [July 10, 2009, 11:59pm UTC](https://www.ruby-forum.com/t/database-saving-empty-records/171857 "2009-07-10T23:59:43Z")

</div>

I’ve seen some similar questions to this but I cannot find the answer. I have a simple form that is supposed to save some values into the database. However, when I call save, the record is saved with null values inste…

---

## [Quick simple check: Very simple relationship setup (newbish for sure.)](https://www.ruby-forum.com/t/quick-simple-check-very-simple-relationship-setup-newbish-for-sure/171885)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 7\
**Last updated:** [July 10, 2009, 11:34pm UTC](https://www.ruby-forum.com/t/quick-simple-check-very-simple-relationship-setup-newbish-for-sure/171885 "2009-07-10T23:34:36Z")

</div>

Been googling trying to understand belongs\_to, has\_one, etc For this scenario: ‘A Person has a single favorite color and has multiple addresses. (Colors are reused across all the persons, addresses are always unique o…

---

## [What's the most RESTful approach here?](https://www.ruby-forum.com/t/whats-the-most-restful-approach-here/171882)

<div class="topic-metadata">

**Author:** [@dr\_gavin](https://www.ruby-forum.com/u/dr_gavin)\
**Replies:** 2\
**Last updated:** [July 10, 2009, 10:54pm UTC](https://www.ruby-forum.com/t/whats-the-most-restful-approach-here/171882 "2009-07-10T22:54:50Z")

</div>

Hi all I’m working on an app at the moment and I’m trying to think of the most RESTful way of implementing one of the key parts of the site. Some advice on the best approach would really help. To give you an example,…

---

## [How to use different key than :id in route?](https://www.ruby-forum.com/t/how-to-use-different-key-than-id-in-route/171644)

<div class="topic-metadata">

**Author:** [@blacknight](https://www.ruby-forum.com/u/blacknight)\
**Replies:** 4\
**Last updated:** [July 10, 2009, 10:13pm UTC](https://www.ruby-forum.com/t/how-to-use-different-key-than-id-in-route/171644 "2009-07-10T22:13:56Z")

</div>

Okay, so I’m trying to have a URL like the following (which uses a key generated at random): societies/6b241c631c6beaa89c889b9fb388caef9f617900ca1eff societies/6b241c631c6beaa89c889b9fb388caef9f617900ca1eff/edit Wher…

---

## [Storing Images in Database or File System?](https://www.ruby-forum.com/t/storing-images-in-database-or-file-system/171745)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [July 10, 2009, 8:19pm UTC](https://www.ruby-forum.com/t/storing-images-in-database-or-file-system/171745 "2009-07-10T20:19:25Z")

</div>

Hello, I’m new to providing image content online and I need to take the right approach early in my development to avoid any significant performance or storage hits later on. I’m using Ruby on Rails to provide large i…

---

## [Has\_many :through habtm](https://www.ruby-forum.com/t/has-many-through-habtm/171841)

<div class="topic-metadata">

**Author:** [@slavix](https://www.ruby-forum.com/u/slavix)\
**Replies:** 2\
**Last updated:** [July 10, 2009, 8:08pm UTC](https://www.ruby-forum.com/t/has-many-through-habtm/171841 "2009-07-10T20:08:19Z")

</div>

Here is my setup: class Product \< ActiveRecord::Base belongs\_to :catalog has\_and\_belongs\_to\_many :product\_groups end class ProductGroup \< ActiveRecord::Base belongs\_to :catalog has\_and\_belongs\_to\_many :products e…

---

## [Observe\_field on select](https://www.ruby-forum.com/t/observe-field-on-select/171843)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 1\
**Last updated:** [July 10, 2009, 7:20pm UTC](https://www.ruby-forum.com/t/observe-field-on-select/171843 "2009-07-10T19:20:25Z")

</div>

I have an observe\_field on a select box. All works well, EXCEPT…this particular select box is a js masterpiece that allows it to be editable in selection index 0. My problem thus is if someone selects the 0th item in …

---

## [Vote on my project what you want me to work on](https://www.ruby-forum.com/t/vote-on-my-project-what-you-want-me-to-work-on/171884)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 0\
**Last updated:** [July 10, 2009, 6:59pm UTC](https://www.ruby-forum.com/t/vote-on-my-project-what-you-want-me-to-work-on/171884 "2009-07-10T18:59:22Z")

</div>

I am conducting a survey of what projects people think would be most beneficial to the Ruby\[ /rails \] community. http://www.ruby-forum.com/topic/191246#new Explains it all if you’d like to vote! Also another option n…

---

## [Newbie: rake db:migrate](https://www.ruby-forum.com/t/newbie-rake-db-migrate/171883)

<div class="topic-metadata">

**Author:** [@PB0711](https://www.ruby-forum.com/u/PB0711)\
**Replies:** 1\
**Last updated:** [July 10, 2009, 6:09pm UTC](https://www.ruby-forum.com/t/newbie-rake-db-migrate/171883 "2009-07-10T18:09:04Z")

</div>

Hello all, I’m sure that this has been asked somewhere and probably answered but I can’t seem to find it searching, so I’ll ask. I’m following the wiki rails (http://wiki.rubyonrails.org/getting- started/first-rails-…

---

## [Get email address as param and send email](https://www.ruby-forum.com/t/get-email-address-as-param-and-send-email/171878)

<div class="topic-metadata">

**Author:** [@miss\_moviestar](https://www.ruby-forum.com/u/miss_moviestar)\
**Replies:** 1\
**Last updated:** [July 10, 2009, 5:15pm UTC](https://www.ruby-forum.com/t/get-email-address-as-param-and-send-email/171878 "2009-07-10T17:15:53Z")

</div>

hi how can i get email address as an input param from user and then send email to that address? thanks

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

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