search for: saoirse

Displaying 14 results from an estimated 14 matches for "saoirse".

2006 Jul 13
6
Content_for_layout
Question- if I have more then one view I wish to display in a layout , how do I tell content_for_layout what to display and where ? TIA Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060713/a2d0a8c8/attachment.html
2006 Jan 25
14
Salted Hash Login Generator
Does this work with rails 1.0 ? I saw that people said it failed with rails 14.1, which practically identical. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060125/5da24694/attachment.html
2006 Jul 10
7
What is has_many :through really buying you over HABTM?
So having just learned how to do has_many :through as opposed to HABTM, and then, being concerned that I wouldn''t get it to work, I started thinking about these two approaches. It seems to me that the _only_ problem that the HM:T (has_many :through) approach solves that HABTM doesn''t is the issue of the potential collision of id columns between your join table and one of
2005 Oct 20
5
Unit Test Error: `load_specification': undefined method `parse' for Time:Class
All, I''ve come across a confusing problem when attempting to run unit tests for an application on OSX (works on Windows). I''m receiving the following error: `load_specification'': undefined method `parse'' for Time:Class (NoMethodError) This is also confusing because I can''t figure out how the error appeared. When I revert back to previous revisions,
2006 Nov 04
0
login sugar generator
...I think I got it mostly right. It seems to work in fresh rails projects in my tests. It''s probably brittle in terms of naming the controllers though, so you may have to make some adjustments if you use something other than User and Localization as your controller names. I realize Deirdre Saoirse Moen has taken over the salted login project and a fixed version 1.1.2 will probably be out soon, so just consider this a measure of temporary sanity. -- Dav Yaginuma http://AkuAku.org/
2006 May 11
3
can''t call link_to from within a model class
can anyone tell me how to call link_to from within a model class? I''m trying to do something like the following: validates_uniqueness_of :email, :message => "address has already been taken. If you''ve forgotten your password, please click " + link_to(''here'', :action => ''forgot_password'', :controller =>
2006 Jul 11
18
Zip Code Ranges
Does anyone have any recommendations for working with zip code distance ranges? I need to calculate the distances between US zip codes. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060711/f133d7de/attachment-0001.html
2008 Mar 19
6
Back button behavior has changed again in Safari 3.1, after doing a dom update via ajax/RJS
GAH! Here is the firefox behavior, which is perfect: 1) View page 1 2) Update some text by using link_to_remote or remote_form_for, along with an RJS replace or replace_html 3) Navigate to page 2 4) Hit back 5) Page was cached with dom updates, note that the page is show in the same state as it was left Safari 3.0 behavior 1..4) repeat 5) Page reloads, ending up in the state where it was left
2006 Aug 25
0
Re: login sugar
...t; > rails projects in my tests. It''s probably brittle in terms of naming > > the controllers though, so you may have to make some adjustments if > > you use something other than User and Localization as your controller > > names. > > > > I realize Deirdre Saoirse Moen has taken over the salted login project > > and a fixed version 1.1.2 will probably be out soon, so just consider > > this a measure of temporary sanity. > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this...
2006 Apr 17
11
Would you switch jobs for the chance to use Textmate?
Lets say you had a pretty decent job, but your company mandated use of emacs. The poaching employer offers you a free copy of Textmate(tm). Would you jump ship solely in order to use Textmate at company B? Cheers, Dave -- Posted via http://www.ruby-forum.com/.
2006 Feb 17
7
FCGI hanging w/ lighttpd and RoR 1.0 (need to kill -9)
Hi, everyone, I''m currently running a Rails 1.0 project using lighttpd-1.4.9 behind Apache 2 on RHEL 3. My fcgi process (I''m only using one right now) always hangs after some time, which is something I haven''t experienced before (e.g., I''ve run this same app. on a TextDrive account and it works fine there). So ... any ideas on what could be causing this?
2006 Jun 06
9
How to protect images from public?
Hi, I''m trying to figure out the best way to protect images uploaded by users who may wish to keep them private. For example, if they are uploaded in the default file_column location (/public/blah/blah/1/) then someone can simply type the URL http://www.blah.com/blah/blah/1 and get the image. I can store the images in a non-public directory in the rails app (ie: /railsapp/images/X/)
2006 Jul 14
39
Time to split the list?
I hope no one gets offended by my asking, but I wonder what others think about the possibility of splitting the list into two or three focal areas. Personally, I think I''d like to see three seperate lists: 1) newbie development (e.g., help working through tutorials, etc.) 2) more advanced development topics, 3) environment setup / admin.. What do you think? Best regards, Bill
2006 May 05
0
Perplexing unit test issue
Because we''re now using views, I had to upgrade to mysql 5 on a project using Rails 1.0. Updated my mysql gem accordingly (which required upgrading xcode). Ruby 1.8.2, MacOS X (10.4.6) Worked fine several times (even before updating the mysql gem, then suddenly it just balked and stopped working, giving the spew below. Have also dropped (and recreated) both the test and