similar to: Using url_for in ActionMailer templates

Displaying 20 results from an estimated 400 matches similar to: "Using url_for in ActionMailer templates"

2005 Mar 06
8
Tutorial about XMLHttpRequest+Rails
Hi All I just finished writing up a tutorial relating my experience developing a system to edit line-items ''in-line'' in my Rails application using XMLHttpRequest. I thought this might be of interest to some readers of this list... Check it out at http://hieraki.goodlad.ca/read/book/1 Thanks! Dave -- Dave Goodlad dgoodlad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or
2005 Nov 07
2
Font rendering in Firefox after effects
Hi all I''ve started using some of the scriptaculous effects here, and have noticed something weird. Whenever I use one of the effects, it causes many of the fonts on the same page to rendered with a lighter weight (ie: "less bold"). Has anyone else noticed a similar effect in Firefox? I use 1.5b1 on Mac. This seems to be a common bug in moz-based browsers, as Camino does
2006 Mar 16
6
Unknown image type: VMX
Hi all I am trying to get VMX guests working on my new server here. The machine has a Pentium D 920 on an ASUS P5WD2-E motherboard. I''ve updated the BIOS to the latest 0401, which added the virtualization option. I am running a fresh installation of Gentoo (64-bit). When I try and run ''xm create'' on a vmx config file, I get the following error: Error: Error
2006 Dec 13
4
RSpec and simply_helpful
Hi All I''m having some problems running my view specs when using simply_helpful. I have it semi-working via the following: module SimplyHelpfulHelper def self.included(base) base.send :include, SimplyHelpful::RecordIdentificationHelper base.send :include, SimplyHelpful::RecordTagHelper end end context "The index template" do setup do @shift =
2006 Dec 12
3
Stubs breaking other things
Hi All I''m working on converting some existing controller specs to use mocks and stubs rather than real ActiveRecord objects in a Rails project. In one of my controller actions, I use a database transaction. So, the obvious thing to do is have this in my setup block: Project.stub!(:transaction) Firstly, is there an easy way to have that stub yield to the block passed to any
2005 Mar 07
2
erb and builder in same view ....
Has anyone tried using erb and builder in the same file? Either .rxml or .rhtml? I''m wanting to do some think like the following: xml.div(''id''=>''menu'') {|xml| link_to "create race", :controller=>"derby", :action=>"new" } Thanks, -- Tom. -- "Nothing will ever be attempted, if all possible objections must
2006 Jan 13
5
Effect together with ...firstChild - can''t get it to work
Hi, I am relatively new to Rails and I can''t get the following to work: what I am trying to do is to make the first item of a list to flash: var item = $(''items'').firstChild; new Effect.Highlight(item); I get the this Javascript error message: this._base has no child (effects.js, line 445) But I am able to do this without any problems: var item =
2006 Jan 18
6
Consistent testing with methods that depend on Date.today
Hi everyone I''m building an app in which quite a bit of data is dependant on dates (and times), and I have logic that depends on when ''today'' is. I''m trying to get some better functional tests written, and am unsure of the best way to approach it. The problem is that I want the tests to run against the same data every time, whether I run it on Tuesday or
2006 Apr 28
1
startcolor and endcolor not working
In my RJS template this works: page.visual_effect :highlight, "test#{@test.id}", {:duration => 5} but not this: page.visual_effect :highlight, "test#{@test.id}", {:duration => 5, :startcolor => "#FFFFFF"} Am I misunderstanding how to pass in additional parameters? _______________________________________________ Rails-spinoffs mailing list
2005 Apr 23
7
Validation question
Hi all, Is there a way to invoke validations at times other than save, create and update? I know that I can do this by writing my own validation checks using errors.add_[blah], but I''d like to leverage the existing validation code. What I have is two sets of fields in a record, set A and set B. Both sets must be validated on record create. However, the trouble is that after
2007 Feb 22
9
specking, speccing, or spec''ing
I vote for spec''ing. Anybody else?
2005 Jul 06
4
Bug in shop demo
http://script.aculo.us/demos/shop if you drag an item from the product list straight to the droppable area to remove an item from the cart, it''ll still add it to the cart. -PJ
2005 Feb 28
5
Using session data in model
Hi, I want to use my some session data when I validate som data in the model. The specific problem I have is that I present different forms data based on gender, and then dependent of the gender, there''s different fields that needs validation. I''m wondering what''s the preffered way of doing this. The session data is not present in the model, i.e: class Myclass
2006 Apr 20
0
Re: Networking in an HVM domU - SOLVED
On 4/18/06, David Goodlad <dgoodlad@gmail.com> wrote: > Hi all > > I can''t seem to get networking to function at all in hvm/vmx guests. > I''ve tried both winxp and linux guests, and neither can get any > traffic through their network devices. The device _is_ detected as a > pcnet32 card, which is fine, but I see 0 packets going through, even > at the
2005 Mar 03
19
Better tools for authoring the view
I''m hand editing my .css and .rhtml files using SciTE and hitting refresh in my browser to see the results - its slow going. What tools are people using to author their .css and .rhtml files? Thanks, Neville _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Jun 16
11
Detecting Body Onload
I have a piece of code that "waits" for body onload. Every 30ms, it tests $(''body''). Seems that isn''t always good enough. I''ve hit situations where the DOM is "partially" loaded somehow. I fixed matters by setting a global flag... <body onload="bodyLoaded=true;"> which provides a better test... of course I could
2008 Oct 07
6
https problems
I''m having a problem but don''t know what is causing it so I don''t know exactly where to post, please bear with me. I''m trying to set up https access however whenever I go to https://url_for_site the root route renders but the url is rewritten to http://url_for_site. The ssl request shows in the apache logs but obviously no further ssl requests show up.
2007 Oct 14
5
Ruby/Informix 0.6.1 released
This is a maintenance release to fix a bug triggered while working with Ruby on Rails and Informix. Web site: http://ruby-informix.rubyforge.org Changelog: 0.6.1 13/10/2007 ------------------ Bugs fixed: * Database#columns was returning an empty array from within the Informix ActiveRecord adapter (ActiveRecord::ConnectionAdapters::InformixAdapter#columns) if
2007 May 31
4
Sample Merb App
I put together a sample app to help people learn Merb: http://svn.depixelate.com/applications/invoice_tracker/ I also blogged about it here: http://depixelate.com/2007/5/31/taking-merb-for-a-spin -- Zack Chandler http://depixelate.com
2005 Jan 22
6
Still having config problems
Hi, Having completely failed to sort out my apache 500 error, I thought I would work through the "Rolling with Ruby on Rails" tutorial at http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html I am using webrick, not apache - and still getting 500 errors. When I get to page 4 where http://127.0.0.1:3000/recipe/new should give me a data entry screen, instead I get...