# Rails

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

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

---

## [Variables in URLs. Routes manipulation](https://www.ruby-forum.com/t/variables-in-urls-routes-manipulation/174347)

<div class="topic-metadata">

**Author:** [@kinunt](https://www.ruby-forum.com/u/kinunt)\
**Replies:** 1\
**Last updated:** [August 25, 2009, 1:28pm UTC](https://www.ruby-forum.com/t/variables-in-urls-routes-manipulation/174347 "2009-08-25T13:28:41Z")

</div>

Hi, I have invoices, each belonging to different fiscal years. When browsing my app you are navigation seeing information about the current fiscal year but I would like to allow the users to change to another fiscal …

---

## [How to get payment transaction notification from paypal?](https://www.ruby-forum.com/t/how-to-get-payment-transaction-notification-from-paypal/174349)

<div class="topic-metadata">

**Author:** [@vikas](https://www.ruby-forum.com/u/vikas)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 12:56pm UTC](https://www.ruby-forum.com/t/how-to-get-payment-transaction-notification-from-paypal/174349 "2009-08-25T12:56:24Z")

</div>

Hello, I used service merchant plugin for subscription and recurring billing for my application. I can get transaction details form authorize.net using “silent post” feature. Now I want to get recurring payment tra…

---

## [(JOBS) Ruby on Rails Developer CSS, XHTML Javascript Haml, Sass, Git and Python](https://www.ruby-forum.com/t/jobs-ruby-on-rails-developer-css-xhtml-javascript-haml-sass-git-and-python/174343)

<div class="topic-metadata">

**Author:** [@talktosjf](https://www.ruby-forum.com/u/talktosjf)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 10:55am UTC](https://www.ruby-forum.com/t/jobs-ruby-on-rails-developer-css-xhtml-javascript-haml-sass-git-and-python/174343 "2009-08-25T10:55:17Z")

</div>

About the Job Ruby on Rails Developer Job Description: Join a team of engineers, designing and building new user interfaces for a flagship product using next generation technology and state-of- the-art research. The…

---

## [ActiveResource Validation Plugin?](https://www.ruby-forum.com/t/activeresource-validation-plugin/174340)

<div class="topic-metadata">

**Author:** [@chamnap](https://www.ruby-forum.com/u/chamnap)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 10:54am UTC](https://www.ruby-forum.com/t/activeresource-validation-plugin/174340 "2009-08-25T10:54:41Z")

</div>

Anyone could give some suggestions about ActiveResource? Right now, I want to do validations on it, but I don’t want to do manually. Any plugins you would recommend me? Thanks

---

## [Spree custom css not working](https://www.ruby-forum.com/t/spree-custom-css-not-working/174337)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 10:16am UTC](https://www.ruby-forum.com/t/spree-custom-css-not-working/174337 "2009-08-25T10:16:21Z")

</div>

I followed “2.2 Add the stylesheet to the default layout” at http://spreecommerce.com/documentation/customization\_tutorial.html#createthecustomstylesheet Doesn’t work. The file gets copied over but not the \<link … /\>

---

## [Pluralize method](https://www.ruby-forum.com/t/pluralize-method/174322)

<div class="topic-metadata">

**Author:** [@pakothawade](https://www.ruby-forum.com/u/pakothawade)\
**Replies:** 4\
**Last updated:** [August 25, 2009, 9:16am UTC](https://www.ruby-forum.com/t/pluralize-method/174322 "2009-08-25T09:16:55Z")

</div>

Hi, The pluralize method does not seem to be working correctly. pluralize(count, “Due Today”) gives me the following output: 2 Due Todays 1 Due Tomorrows 0 Past Dues 0 Due End of Weeks It should have been: 2 Due…

---

## [Extract keywords from string](https://www.ruby-forum.com/t/extract-keywords-from-string/174263)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 5\
**Last updated:** [August 25, 2009, 4:15am UTC](https://www.ruby-forum.com/t/extract-keywords-from-string/174263 "2009-08-25T04:15:23Z")

</div>

hi - i have strings that i need to extract keywords from. the string might have html tags, urls, etc. i need to extract the keywords from the string. i imagine i’m not the first guy to have to tackle this problem.…

---

## [How to generate a link like link\_to on mailer?](https://www.ruby-forum.com/t/how-to-generate-a-link-like-link-to-on-mailer/174326)

<div class="topic-metadata">

**Author:** [@rubyernewbie](https://www.ruby-forum.com/u/rubyernewbie)\
**Replies:** 1\
**Last updated:** [August 25, 2009, 4:05am UTC](https://www.ruby-forum.com/t/how-to-generate-a-link-like-link-to-on-mailer/174326 "2009-08-25T04:05:26Z")

</div>

I used rails mailer to send a email to my client, but soon I found I can’t use link\_to on mailer. the effect I want is like this. great so, any thought here?

---

## [RESTful routing, in-place editing, and creating new resource obj - design question](https://www.ruby-forum.com/t/restful-routing-in-place-editing-and-creating-new-resource-obj-design-question/174046)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 5\
**Last updated:** [August 24, 2009, 11:33pm UTC](https://www.ruby-forum.com/t/restful-routing-in-place-editing-and-creating-new-resource-obj-design-question/174046 "2009-08-24T23:33:48Z")

</div>

I’m working on adding in-place editing of one of my RESTful resources and I need advice on how to make a change to the design patterns we all know and love for the creation/editing of a new resource object. Out of the…

---

## [Initializind ID for a Table](https://www.ruby-forum.com/t/initializind-id-for-a-table/174313)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [August 24, 2009, 10:32pm UTC](https://www.ruby-forum.com/t/initializind-id-for-a-table/174313 "2009-08-24T22:32:20Z")

</div>

Hi all, I have a table (little) with 2 fields: code and name. I want to populate records for this table from an external file with ‘;’ delimitation. (code;name). Every populate operation delete all the records and wr…

---

## [Validate custom](https://www.ruby-forum.com/t/validate-custom/174226)

<div class="topic-metadata">

**Author:** [@aprendiz\_ror](https://www.ruby-forum.com/u/aprendiz_ror)\
**Replies:** 1\
**Last updated:** [August 24, 2009, 10:16pm UTC](https://www.ruby-forum.com/t/validate-custom/174226 "2009-08-24T22:16:32Z")

</div>

Buenas tengo un inconveniente en una validacion de dos fechas en mi modelo, la fecha de solicitud no puede ser mayor de la fecha de aprobacion, le busco por todos lados y consulto http://guides.rubyonrails.org/active…

---

## [Will\_paginate: pagination links are wrong](https://www.ruby-forum.com/t/will-paginate-pagination-links-are-wrong/174302)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 4\
**Last updated:** [August 24, 2009, 9:42pm UTC](https://www.ruby-forum.com/t/will-paginate-pagination-links-are-wrong/174302 "2009-08-24T21:42:35Z")

</div>

I put everything in a pastie to make it a bit more readable: http://pastie.org/593379 This is the gist: Will\_paginate doesn’t play quite nice. The first result set is fine, and when I click on one of the paginated li…

---

## [Lightbox in Rails](https://www.ruby-forum.com/t/lightbox-in-rails/174300)

<div class="topic-metadata">

**Author:** [@charanya](https://www.ruby-forum.com/u/charanya)\
**Replies:** 1\
**Last updated:** [August 24, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/lightbox-in-rails/174300 "2009-08-24T21:39:39Z")

</div>

Hi Actually my requirement is… I will have a form with a submit button and then within this form i will have a link\_to\_remote which will update a div with some options(ie.radio buttons) and on clicking on any one o…

---

## [FULL TIME RoR POSITION- SEATTLE, WA](https://www.ruby-forum.com/t/full-time-ror-position-seattle-wa/174306)

<div class="topic-metadata">

**Author:** [@jake](https://www.ruby-forum.com/u/jake)\
**Replies:** 1\
**Last updated:** [August 24, 2009, 9:22pm UTC](https://www.ruby-forum.com/t/full-time-ror-position-seattle-wa/174306 "2009-08-24T21:22:40Z")

</div>

We are seeking a Ruby on Rails Developer for a Full Time Position in Seattle. Our Client is seeking a highly qualified developer that is comfortable working within the agile methodology, and loves the Seattle area. T…

---

## [Authlogic Forgot Password](https://www.ruby-forum.com/t/authlogic-forgot-password/174268)

<div class="topic-metadata">

**Author:** [@pakothawade](https://www.ruby-forum.com/u/pakothawade)\
**Replies:** 2\
**Last updated:** [August 24, 2009, 9:11pm UTC](https://www.ruby-forum.com/t/authlogic-forgot-password/174268 "2009-08-24T21:11:33Z")

</div>

Hi, Has anyone implemented the Authlogic forgot password stuff? Please let us know how to, if anyone has or has the code for it. Thanks, Pratik

---

## [Kestrel Plugin/Gems](https://www.ruby-forum.com/t/kestrel-plugin-gems/174304)

<div class="topic-metadata">

**Author:** [@gozali](https://www.ruby-forum.com/u/gozali)\
**Replies:** 0\
**Last updated:** [August 24, 2009, 8:29pm UTC](https://www.ruby-forum.com/t/kestrel-plugin-gems/174304 "2009-08-24T20:29:58Z")

</div>

Hi guys, Is there any RubyGems or Rails plugin for Kestrel (http://github.com/ robey/kestrel/tree/master) ? like Workling for Starling, i’ve been searching out for a while but i got nothing… Thanks, Ahmad Gozali,

---

## [HTML in error messages](https://www.ruby-forum.com/t/html-in-error-messages/174260)

<div class="topic-metadata">

**Author:** [@chero](https://www.ruby-forum.com/u/chero)\
**Replies:** 1\
**Last updated:** [August 24, 2009, 8:04pm UTC](https://www.ruby-forum.com/t/html-in-error-messages/174260 "2009-08-24T20:04:48Z")

</div>

Hey All, Rails escapes HTML in error message. Does anyone know a way to print an error message without it being escaped? Consider: errors.add\_to\_base ‘Sorry, we were unable to parse the feed you provided. Please d…

---

## [Does link\_to\_remote degrade to an HTML request?](https://www.ruby-forum.com/t/does-link-to-remote-degrade-to-an-html-request/174289)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 4\
**Last updated:** [August 24, 2009, 6:40pm UTC](https://www.ruby-forum.com/t/does-link-to-remote-degrade-to-an-html-request/174289 "2009-08-24T18:40:59Z")

</div>

I’m just looking at adding some AJAX to my app and am considering turning some link\_to’s into link\_to\_remotes and I could do with knowing if link\_to\_remote degrades to an HTML request if javascript is not enabled in a…

---

## [Passing Parameters to a Re-Rendered View](https://www.ruby-forum.com/t/passing-parameters-to-a-re-rendered-view/174192)

<div class="topic-metadata">

**Author:** [@djames](https://www.ruby-forum.com/u/djames)\
**Replies:** 10\
**Last updated:** [August 24, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/passing-parameters-to-a-re-rendered-view/174192 "2009-08-24T18:10:38Z")

</div>

Please consider a CRUD action and view for modifying a record. The form for making the modification is called by the URL, “http:// www.mydomain.com/members/modify/5”. This calls the “modify” action of the “members” …

---

## [Best way to store 'global variable' hash?](https://www.ruby-forum.com/t/best-way-to-store-global-variable-hash/174293)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 2\
**Last updated:** [August 24, 2009, 6:00pm UTC](https://www.ruby-forum.com/t/best-way-to-store-global-variable-hash/174293 "2009-08-24T18:00:06Z")

</div>

I have to store a very large hierarchical data of website categories and pages. What is the best way to store this? It will being used to generate website navigation as well as must be loaded into dropdown selections …

---

## [Geographical Services?](https://www.ruby-forum.com/t/geographical-services/174252)

<div class="topic-metadata">

**Author:** [@jazcyk](https://www.ruby-forum.com/u/jazcyk)\
**Replies:** 8\
**Last updated:** [August 24, 2009, 5:57pm UTC](https://www.ruby-forum.com/t/geographical-services/174252 "2009-08-24T17:57:10Z")

</div>

This is a broad question to get me started in the right direction: I would like to provide a location-based service so that users can tag articles with a location (the place where the article took place), and search (…

---

## [Scott Hughes is out of the office](https://www.ruby-forum.com/t/scott-hughes-is-out-of-the-office/174298)

<div class="topic-metadata">

**Author:** [@Scott\_Hughes](https://www.ruby-forum.com/u/Scott_Hughes)\
**Replies:** 0\
**Last updated:** [August 24, 2009, 5:57pm UTC](https://www.ruby-forum.com/t/scott-hughes-is-out-of-the-office/174298 "2009-08-24T17:57:10Z")

</div>

I will be out of the office starting August 24, 2009 and will not return until August 25, 2009. Please direct any questions you have to Brian Esler or Andy Brymer in my absence. Thank You

---

## [Conection](https://www.ruby-forum.com/t/conection/174214)

<div class="topic-metadata">

**Author:** [@soller](https://www.ruby-forum.com/u/soller)\
**Replies:** 2\
**Last updated:** [August 24, 2009, 3:58pm UTC](https://www.ruby-forum.com/t/conection/174214 "2009-08-24T15:58:00Z")

</div>

I have this in my view List: Delete all user have more than (month): \<%= text\_field\_tag("month", p, :size =\> 10 ) %\> \<%= link\_to 'Delete', :confirm =\> 'Are you sure?',:month =\> p,:action =\> "destroyMonth"%\> and in th…

---

## [ActivRecord APIs for DB transactions](https://www.ruby-forum.com/t/activrecord-apis-for-db-transactions/174276)

<div class="topic-metadata">

**Author:** [@karthik](https://www.ruby-forum.com/u/karthik)\
**Replies:** 3\
**Last updated:** [August 24, 2009, 3:57pm UTC](https://www.ruby-forum.com/t/activrecord-apis-for-db-transactions/174276 "2009-08-24T15:57:44Z")

</div>

Hi guys Can i get some reference for studying all ActivRecord API related to DB transactions. – Karthik.k Mobile - +91-9894991640

---

## [How to access index of my collection object?](https://www.ruby-forum.com/t/how-to-access-index-of-my-collection-object/174197)

<div class="topic-metadata">

**Author:** [@railslist](https://www.ruby-forum.com/u/railslist)\
**Replies:** 2\
**Last updated:** [August 24, 2009, 3:57pm UTC](https://www.ruby-forum.com/t/how-to-access-index-of-my-collection-object/174197 "2009-08-24T15:57:44Z")

</div>

i have something like @a = Model.find(:all) for a in @a here i need to know what is my current index / row end how do i get it?.

---

## [Is there any plugin can do this -- dynamic view from hash object](https://www.ruby-forum.com/t/is-there-any-plugin-can-do-this-dynamic-view-from-hash-object/174286)

<div class="topic-metadata">

**Author:** [@ark](https://www.ruby-forum.com/u/ark)\
**Replies:** 0\
**Last updated:** [August 24, 2009, 1:29pm UTC](https://www.ruby-forum.com/t/is-there-any-plugin-can-do-this-dynamic-view-from-hash-object/174286 "2009-08-24T13:29:33Z")

</div>

I have a requirement that for every db record, the attributes might be different. So, I use a :text field to store the hash object of the fields/values pair. Is there any plugin or good way to create/edit the hash pa…

---

## [Ruby on Rails course ... looking for hint and people](https://www.ruby-forum.com/t/ruby-on-rails-course-looking-for-hint-and-people/174281)

<div class="topic-metadata">

**Author:** [@ialuronico](https://www.ruby-forum.com/u/ialuronico)\
**Replies:** 1\
**Last updated:** [August 24, 2009, 1:27pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-course-looking-for-hint-and-people/174281 "2009-08-24T13:27:52Z")

</div>

Hi everybody … I was trying to learn RoR by attending a course … but right now there are not enought people so the course probably will not run … and for me is a problem because I need Ror for work :-(((( If there …

---

## [Flickr gem?](https://www.ruby-forum.com/t/flickr-gem/174284)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 0\
**Last updated:** [August 24, 2009, 1:22pm UTC](https://www.ruby-forum.com/t/flickr-gem/174284 "2009-08-24T13:22:01Z")

</div>

Hi, I’m converting a social network over to use flickr for posting, searching photos. Can anyone recommend a good gem to do this? Appreciate it,

---

## [Validation problem](https://www.ruby-forum.com/t/validation-problem/174134)

<div class="topic-metadata">

**Author:** [@wap](https://www.ruby-forum.com/u/wap)\
**Replies:** 10\
**Last updated:** [August 24, 2009, 12:32pm UTC](https://www.ruby-forum.com/t/validation-problem/174134 "2009-08-24T12:32:02Z")

</div>

Hello G.s i want to use external validation i mean javascript validation but whenever click on create i mean (add new record submit)that time my first text box is black then it give me alert but when i click on ‘ok’ …

---

## [Model validation](https://www.ruby-forum.com/t/model-validation/174274)

<div class="topic-metadata">

**Author:** [@wap](https://www.ruby-forum.com/u/wap)\
**Replies:** 5\
**Last updated:** [August 24, 2009, 12:18pm UTC](https://www.ruby-forum.com/t/model-validation/174274 "2009-08-24T12:18:42Z")

</div>

hello guys i am using model validation with ajax i have new.html.erb it is call through link\_\_to\_remote() then press create if any validate require page will redirect to it actual controller for ex. admins/new somet…

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

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