Displaying 20 results from an estimated 700 matches similar to: "Font rendering in Firefox after effects"
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 Mar 06
2
Using url_for in ActionMailer templates
Hi All
I am just adding some basic e-mail notices to my Rails app using
ActionMailer, and have one small issue. I want to provide a
confirmation URL to users who sign up for an account. I can obviously
just hardcode the URL and append the confirmation code to it, but I''d
much rather be able to use something like:
url_for(:controller => ''authentication'', :action
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 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 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
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 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
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
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
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
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
2006 Aug 06
1
Guide to new RESTful routing in Rails
Does anyone have any links to a comprehensive guide on the new routing
in Edge Rails? I''m keen to integrate it into a new app and have read the
Riding Rails post by Rick but would like to read a more comprehensive
guide to its usage.
--
Posted via http://www.ruby-forum.com/.
2005 Sep 09
0
Firefox 1.5b1
Firefox 1.5b1 is now out and from my first test runs with
script.aculo.us (functional/unit tests),
and an effects-heavy AJAX applicationeverything seems to work fine.
FF 1.5b1 Download is here:
http://www.mozilla.org/products/firefox/all-beta
If you have the chance, please test Firefox 1.5b1 against real-world
sites
using Prototype and/or script.aculo.us so we can find out if there
are any
2006 Oct 12
7
Evil Scaffold
I read the Amy Hoy''s presentation on why scaffold is not a good thing for beginners. For admin
application, is it ok to use scaffold?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to