# Rails

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

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

---

## [Authlogic - adding an admin status](https://www.ruby-forum.com/t/authlogic-adding-an-admin-status/168235)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 4:28pm UTC](https://www.ruby-forum.com/t/authlogic-adding-an-admin-status/168235 "2009-05-18T16:28:53Z")

</div>

I’ve got my app setup and authentication running with authlogic. I followed the guide on asciicasts - very good. Basically it’s a site with a database of teachers and the fields required for authentication are include…

---

## [Will\_paginate customisation](https://www.ruby-forum.com/t/will-paginate-customisation/168204)

<div class="topic-metadata">

**Author:** [@doelsengupta](https://www.ruby-forum.com/u/doelsengupta)\
**Replies:** 2\
**Last updated:** [May 18, 2009, 4:23pm UTC](https://www.ruby-forum.com/t/will-paginate-customisation/168204 "2009-05-18T16:23:30Z")

</div>

Hi, I am using the will\_paginate plugin for my application. It is showing Prevoius 1,2,3…22,23,24 Next but I like to have My view Page as First Previous Next Last instad of showing the numbers, How will I customise …

---

## [Playing with routes](https://www.ruby-forum.com/t/playing-with-routes/168225)

<div class="topic-metadata">

**Author:** [@shinkaku](https://www.ruby-forum.com/u/shinkaku)\
**Replies:** 2\
**Last updated:** [May 18, 2009, 3:46pm UTC](https://www.ruby-forum.com/t/playing-with-routes/168225 "2009-05-18T15:46:31Z")

</div>

Hi, I’m currently playing with routes, and can’t seem to find the solution for this i want to change the link of edit for a person at the moment I have in route map.resources :persons and in the index of person’s v…

---

## [Pagination](https://www.ruby-forum.com/t/pagination/168220)

<div class="topic-metadata">

**Author:** [@doelsengupta](https://www.ruby-forum.com/u/doelsengupta)\
**Replies:** 1\
**Last updated:** [May 18, 2009, 3:43pm UTC](https://www.ruby-forum.com/t/pagination/168220 "2009-05-18T15:43:26Z")

</div>

Hi, I am using the will\_paginate plugin for my application. It is showing Previous 1,2,3…22,23,24 Next links How will I hide the numbers? I want to have first and last links also. How will i do that? Thanks in advan…

---

## [Paypal IPN callback - how to?](https://www.ruby-forum.com/t/paypal-ipn-callback-how-to/129977)

<div class="topic-metadata">

**Author:** [@fonziguy](https://www.ruby-forum.com/u/fonziguy)\
**Replies:** 3\
**Last updated:** [May 18, 2009, 3:31pm UTC](https://www.ruby-forum.com/t/paypal-ipn-callback-how-to/129977 "2009-05-18T15:31:05Z")

</div>

I’m using Paypal to make payments through my Rails app and I have IPN setup so that when rails receives notification from Paypal, a record is activated. This all works fine. However, Paypal sends the notification mult…

---

## [Installed RedCloth but not found by app](https://www.ruby-forum.com/t/installed-redcloth-but-not-found-by-app/168224)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 3:13pm UTC](https://www.ruby-forum.com/t/installed-redcloth-but-not-found-by-app/168224 "2009-05-18T15:13:25Z")

</div>

Hi all Some months ago I developed a rails app that used RedCloth. The gem is installed and everything worked then. Now I updated Rails to 2.3 (before it was something like 2.1 or so), and now it doesn’t find the Red…

---

## [Undefined method 'fixtures' for UserTest:Class (NoMethodError)](https://www.ruby-forum.com/t/undefined-method-fixtures-for-usertest-class-nomethoderror/168223)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [May 18, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/undefined-method-fixtures-for-usertest-class-nomethoderror/168223 "2009-05-18T15:06:26Z")

</div>

Hi, I’m a noob trying to work through adding restful\_authentication to a blog. The login page allows me to login and I can create a post after loggin in…but my rake:test units won’t run because I’m getting an undefin…

---

## [Rails developer salary rate in USA](https://www.ruby-forum.com/t/rails-developer-salary-rate-in-usa/168211)

<div class="topic-metadata">

**Author:** [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Replies:** 3\
**Last updated:** [May 18, 2009, 2:04pm UTC](https://www.ruby-forum.com/t/rails-developer-salary-rate-in-usa/168211 "2009-05-18T14:04:43Z")

</div>

Hi everyone, I’m currently looking for opportunity for a rails career in USA (Note: I’ve never been to US in my entire life). Now can anyone give me a ballpark figure of the salary rate as a rails developer in the US…

---

## [Multipart Emails in Rails 2.3.2](https://www.ruby-forum.com/t/multipart-emails-in-rails-2-3-2/163741)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [May 18, 2009, 1:37pm UTC](https://www.ruby-forum.com/t/multipart-emails-in-rails-2-3-2/163741 "2009-05-18T13:37:01Z")

</div>

Does anyone know the new convention for delivering multipart emails in 2.3.2? I can’t find the docs on it, but the old way of having your files like: mailer\_action.text.plain.erb mailer\_action.text.html.erb This do…

---

## [Link\_to\_remote option :onsuccess, execute js function](https://www.ruby-forum.com/t/link-to-remote-option-onsuccess-execute-js-function/65332)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [May 18, 2009, 1:27pm UTC](https://www.ruby-forum.com/t/link-to-remote-option-onsuccess-execute-js-function/65332 "2009-05-18T13:27:26Z")

</div>

How should I define the :onsuccess option in my - link\_to\_remote - tag, to execute a Js function I wrote : :success =\> “toggleButton(this, /db\_bfilter/i);” ‘this’ is the current element defined in my view : \<%= fi…

---

## [Problem with TEH's format buttons acting as submit button](https://www.ruby-forum.com/t/problem-with-tehs-format-buttons-acting-as-submit-button/168216)

<div class="topic-metadata">

**Author:** [@emmek](https://www.ruby-forum.com/u/emmek)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 12:36pm UTC](https://www.ruby-forum.com/t/problem-with-tehs-format-buttons-acting-as-submit-button/168216 "2009-05-18T12:36:36Z")

</div>

I have a strange problem with Textile Editor Helper. I have installed what is needed to work and my textarea is being ‘textilized’ (as I write Textile markups directly by hand). However, when I click on any of the for…

---

## [Station Engine 0.2 released!](https://www.ruby-forum.com/t/station-engine-0-2-released/168214)

<div class="topic-metadata">

**Author:** [@atd](https://www.ruby-forum.com/u/atd)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 12:14pm UTC](https://www.ruby-forum.com/t/station-engine-0-2-released/168214 "2009-05-18T12:14:51Z")

</div>

Station is to Rails in Content Management System like Rails is to Ruby in Web D… Rails = Ruby + Web D. Station = Rails + Content Management Station provides your Rails application with a “CMS framework”. This mea…

---

## [Different cc=js files for different pages](https://www.ruby-forum.com/t/different-cc-js-files-for-different-pages/168199)

<div class="topic-metadata">

**Author:** [@fRAnKEnSTEin](https://www.ruby-forum.com/u/fRAnKEnSTEin)\
**Replies:** 4\
**Last updated:** [May 18, 2009, 11:44am UTC](https://www.ruby-forum.com/t/different-cc-js-files-for-different-pages/168199 "2009-05-18T11:44:40Z")

</div>

Hi, I am making a new little web site. Each page has it’s own css/js files apart. I want to include any of that css/js files on the application layout depending on wich page will be loaded. For example if “upload” pa…

---

## [Regarding info](https://www.ruby-forum.com/t/regarding-info/168161)

<div class="topic-metadata">

**Author:** [@skk](https://www.ruby-forum.com/u/skk)\
**Replies:** 4\
**Last updated:** [May 18, 2009, 11:43am UTC](https://www.ruby-forum.com/t/regarding-info/168161 "2009-05-18T11:43:28Z")

</div>

Hi all , I am dont know Ruby at all but I would like to learn ROR is that possible Or I should learn ruby first after that Go for ROR… Thanks

---

## [Xlsuite](https://www.ruby-forum.com/t/xlsuite/168197)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 2\
**Last updated:** [May 18, 2009, 11:24am UTC](https://www.ruby-forum.com/t/xlsuite/168197 "2009-05-18T11:24:56Z")

</div>

Hi I have seen this and downloaded it And according to instruction when run rake db:create db:structure:load db:bootstrap Getting error rake aborted! can’t activate actionpack (= 1.13.6, runtime), already activate…

---

## [Routing like user\_name.site.pl](https://www.ruby-forum.com/t/routing-like-user-name-site-pl/168209)

<div class="topic-metadata">

**Author:** [@abusiek](https://www.ruby-forum.com/u/abusiek)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 10:39am UTC](https://www.ruby-forum.com/t/routing-like-user-name-site-pl/168209 "2009-05-18T10:39:31Z")

</div>

Hi! Let’s say I have user with login adrian and know when someone type in browser adrian.sprzedambyka.pl to open controller page, action show with login = adrian in params. I’ve tried to put: map.user\_page\_show ‘:log…

---

## [Adding Subdomain\_fu's 'current\_subdomain' method to models](https://www.ruby-forum.com/t/adding-subdomain-fus-current-subdomain-method-to-models/168207)

<div class="topic-metadata">

**Author:** [@ram](https://www.ruby-forum.com/u/ram)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 10:10am UTC](https://www.ruby-forum.com/t/adding-subdomain-fus-current-subdomain-method-to-models/168207 "2009-05-18T10:10:10Z")

</div>

Hi, I have a view in which i have the following collection\_select \<%= f.collection\_select :category\_id, current\_account.categories.find (:all), :id, :name, {:prompt =\> “-Select-”, :include\_blank =\> true} %\> and the c…

---

## [How to monkeypatch Hash's \[\]= method, revisted](https://www.ruby-forum.com/t/how-to-monkeypatch-hashs-method-revisted/168205)

<div class="topic-metadata">

**Author:** [@darren](https://www.ruby-forum.com/u/darren)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 10:01am UTC](https://www.ruby-forum.com/t/how-to-monkeypatch-hashs-method-revisted/168205 "2009-05-18T10:01:23Z")

</div>

So google for a solution to this problem and found myself here: http://groups.google.com/group/rubyonrails-talk/browse\_thread/thread/eaa34998a74831b4/58b80fe0d4eadb1a?lnk=gst&q=+how+to+monkeypatch+Hash's+\[\]%3D+method+#5…

---

## [Storing the file name or file path while File Upload](https://www.ruby-forum.com/t/storing-the-file-name-or-file-path-while-file-upload/168200)

<div class="topic-metadata">

**Author:** [@devirv](https://www.ruby-forum.com/u/devirv)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 7:45am UTC](https://www.ruby-forum.com/t/storing-the-file-name-or-file-path-while-file-upload/168200 "2009-05-18T07:45:04Z")

</div>

Hi, When upload image file that image file have to be stored in application path and the file name or file path have to be stored in database.Please help me anyone knows. Thanking You Devi.R

---

## [Uploading powerpoint file](https://www.ruby-forum.com/t/uploading-powerpoint-file/168176)

<div class="topic-metadata">

**Author:** [@ghazaleh](https://www.ruby-forum.com/u/ghazaleh)\
**Replies:** 4\
**Last updated:** [May 18, 2009, 7:35am UTC](https://www.ruby-forum.com/t/uploading-powerpoint-file/168176 "2009-05-18T07:35:28Z")

</div>

hi i want to put the ability tu upload a powerpoint file in my website where can i learn that?

---

## [Rails website deployment in yahoo server](https://www.ruby-forum.com/t/rails-website-deployment-in-yahoo-server/168198)

<div class="topic-metadata">

**Author:** [@preethi](https://www.ruby-forum.com/u/preethi)\
**Replies:** 0\
**Last updated:** [May 18, 2009, 7:29am UTC](https://www.ruby-forum.com/t/rails-website-deployment-in-yahoo-server/168198 "2009-05-18T07:29:38Z")

</div>

Hi all, I’m sorry if this topic is duplicated. I’m a novice in rails development and now I’ve developed a small project with my little knowledge. Now I got yahoo basic 1999 pack , Could anyone please tell me how to …

---

## [Rails ORM Help](https://www.ruby-forum.com/t/rails-orm-help/168195)

<div class="topic-metadata">

**Author:** [@adeel\_bm](https://www.ruby-forum.com/u/adeel_bm)\
**Replies:** 1\
**Last updated:** [May 18, 2009, 7:15am UTC](https://www.ruby-forum.com/t/rails-orm-help/168195 "2009-05-18T07:15:00Z")

</div>

In my scenario, I have two tables namely; contacts and contacts\_users. Table contacts consists of a primary key namely id and contacts\_users has fields; id, contact\_id, peer\_id and status. contacts\_users is basically …

---

## [Possible to set "PRAGMA default\_synchronous=OFF" for my sqlite connection via AR?](https://www.ruby-forum.com/t/possible-to-set-pragma-default-synchronous-off-for-my-sqlite-connection-via-ar/168117)

<div class="topic-metadata">

**Author:** [@rpardee](https://www.ruby-forum.com/u/rpardee)\
**Replies:** 1\
**Last updated:** [May 18, 2009, 2:44am UTC](https://www.ruby-forum.com/t/possible-to-set-pragma-default-synchronous-off-for-my-sqlite-connection-via-ar/168117 "2009-05-18T02:44:51Z")

</div>

Hey All, I’m using ActiveRecord w/the sqlite3 adapter and finding it slow for my use. After reading \_whytheluckystiff’s http://whytheluckystiff.net/articles/aQuickGuideToSQLite.html I wondered if it’s possible to co…

---

## [Date environment.rb](https://www.ruby-forum.com/t/date-environment-rb/168181)

<div class="topic-metadata">

**Author:** [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Replies:** 1\
**Last updated:** [May 17, 2009, 11:38pm UTC](https://www.ruby-forum.com/t/date-environment-rb/168181 "2009-05-17T23:38:20Z")

</div>

Hi Ruby-Comunity! I have a problem with date format. To display the german date format, I put on the end of environment.rb: ActiveSupport::CoreExtensions::date::Conversions::DATE\_FORMATS.merge!(:default =\> ‘%d.%m.%Y’…

---

## [\[ActiveRecord\] new connector implementation gives 'unknown attribute error'](https://www.ruby-forum.com/t/activerecord-new-connector-implementation-gives-unknown-attribute-error/168184)

<div class="topic-metadata">

**Author:** [@Gabriele\_Modena](https://www.ruby-forum.com/u/Gabriele_Modena)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 10:47pm UTC](https://www.ruby-forum.com/t/activerecord-new-connector-implementation-gives-unknown-attribute-error/168184 "2009-05-17T22:47:55Z")

</div>

Hi all, I’m implementing an activerecord connector on top of a database driver I wrote (in pure ruby). The platform of reference is a Mac OSX 10.5 box with the shipped ruby interpreter version 1.8.6 and activerecord …

---

## [\[ANN\] BizConf at Ritz-Carlton Amelia Island Resort, August 20-21](https://www.ruby-forum.com/t/ann-bizconf-at-ritz-carlton-amelia-island-resort-august-20-21/168183)

<div class="topic-metadata">

**Author:** [@Obie\_F](https://www.ruby-forum.com/u/Obie_F)\
**Replies:** 0\
**Last updated:** [May 17, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/ann-bizconf-at-ritz-carlton-amelia-island-resort-august-20-21/168183 "2009-05-17T21:45:50Z")

</div>

\[Apologies for the slightly-off-topic posting.\] BizConf is a one-of-a-kind event that I am hosting about 3 months from now here in northern Florida. It’s a 2-day conference specifically crafted for independent consult…

---

## [Github and Plugins](https://www.ruby-forum.com/t/github-and-plugins/168136)

<div class="topic-metadata">

**Author:** [@DVG](https://www.ruby-forum.com/u/DVG)\
**Replies:** 1\
**Last updated:** [May 17, 2009, 9:43pm UTC](https://www.ruby-forum.com/t/github-and-plugins/168136 "2009-05-17T21:43:58Z")

</div>

Okay, so even though I’m the only one developing my project, I decided to create a github repo so I can develop on my desktop, personal laptop or work laptop as I see fit. I committed everything using the steps Ryanb …

---

## [Plugins with lib not working](https://www.ruby-forum.com/t/plugins-with-lib-not-working/167632)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [May 17, 2009, 7:37pm UTC](https://www.ruby-forum.com/t/plugins-with-lib-not-working/167632 "2009-05-17T19:37:28Z")

</div>

Hi I tried installing both acts\_as\_list and token\_generator plugin, and it seems to work, except when I try to use something from the plugin the functions can’t be found: undefined method \`generate\_token’ for #TestCo…

---

## [Time issues](https://www.ruby-forum.com/t/time-issues/168177)

<div class="topic-metadata">

**Author:** [@p-b](https://www.ruby-forum.com/u/p-b)\
**Replies:** 1\
**Last updated:** [May 17, 2009, 6:21pm UTC](https://www.ruby-forum.com/t/time-issues/168177 "2009-05-17T18:21:42Z")

</div>

OK, so I have a model that contains 2 records, among others startdate :time enddate :time I have one set of values in the database 20:00:00 for startdate and the same for enddate However, I have no clue how to add …

---

## [Help with iPhone](https://www.ruby-forum.com/t/help-with-iphone/168172)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 1\
**Last updated:** [May 17, 2009, 5:45pm UTC](https://www.ruby-forum.com/t/help-with-iphone/168172 "2009-05-17T17:45:50Z")

</div>

I need some help with iPhone. I use iui but I don’t understand the basics. It seems that I can’t do a simple update of a post using Ajax. Is that done for you? What if I want to delete a post in the db, from a “show” …

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

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