search for: goodlad

Displaying 20 results from an estimated 20 matches for "goodlad".

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 dave-eHfbeeWWzZOw5LPnMra/2Q@public.gmane.org http://david.goodlad.ca/
2006 Mar 16
6
Unknown image type: VMX
...#39;' is allowed. /proc/cpuinfo reports that the ''vmx'' flag is enabled on both processor cores, so I don''t think it''s unhappy with the hardware, but I don''t know enough about the internals to tell. Any suggestions? Thanks in advance, Dave -- Dave Goodlad dgoodlad@gmail.com or dave@goodlad.ca http://david.goodlad.ca/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2006 Dec 13
4
RSpec and simply_helpful
...ng overwritten in rspec_on_rails/lib/extensions/action_view/base.rb. I suggest that there be a second condition attached to the unless statement on line 5, to ensure that the partial_path is a String; if it is not, the partial_path should be passed straight on through... Thoughts? Dave -- Dave Goodlad dgoodlad at gmail.com or dave at goodlad.ca http://david.goodlad.ca/
2005 Nov 07
2
Font rendering in Firefox after effects
...but I use behaviour.js to attach my scripts to links, and it''s not working atm in Safari for some reason. For example, see http://dagsolutions.ca/before.png and http://dagsolutions.ca/after.png . The first is before I click the link that causes a Fade, the second is after. Dave -- Dave Goodlad dgoodlad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or dave-eHfbeeWWzZOw5LPnMra/2Q@public.gmane.org http://david.goodlad.ca/
2006 Dec 12
3
Stubs breaking other things
...ming that since AR uses transactions for saving records, any project that gets saved in code that actually uses the real Project model instead of a mock is now broken. Is the stub code, in the case of a partial mock, supposed to revert any methods it overrides upon teardown? Thanks Dave -- Dave Goodlad dgoodlad at gmail.com or dave at goodlad.ca http://david.goodlad.ca/
2006 Jan 18
6
Consistent testing with methods that depend on Date.today
...time (imho). I know this problem has to have been solved in the past, but I just can''t seem to put my finger on a clean method to run these tests on a consistent set of data. Do people mock out the Date.today method to return a specific date, or what? Thanks for any hints, Dave -- Dave Goodlad dgoodlad@gmail.com or dave@goodlad.ca http://david.goodlad.ca/
2005 Mar 06
2
Using url_for in ActionMailer templates
...nil:NilClass"... The stack trace indicates that it''s finding url_for() in action_view/base.rb no problem, but I think it''s then trying to call url_for() on a controller object that isn''t set... Anyone seen this, and/or come across a solution? Thanks! Dave -- Dave Goodlad dgoodlad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or dave-eHfbeeWWzZOw5LPnMra/2Q@public.gmane.org http://david.goodlad.ca/
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 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...
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
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 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 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
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 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/.
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
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