search for: ducktyp

Displaying 5 results from an estimated 5 matches for "ducktyp".

Did you mean: ducktype
2006 Apr 27
12
ducktyping ruby
Hi, Does anyone know is there some ruby configurations that can be done to make ruby act a little more like a statically typed language???I love its dynamic nature, but miss the safety that comes from statically typed languages like java??. Cheers in advance -- Posted via http://www.ruby-forum.com/.
2008 Jan 05
5
multi-app merb
...p with a random php forum engine. Try to add mephisto to the mix and you''re in integrated hell - (css, js, model) duplication and (routing, SCM, environment) hacks galore. I wrote a post about what sucks about multi-app, what it might look like, and some potential pitfalls here: http://ducktyped.com/2008/1/4/the-great-ruby-web-framework-multi-app-challenge I also started a discussion on ruby-talk: http://www.ruby-forum.com/topic/137539 I just thought I''d put this out for consideration. Ben
2004 Dec 15
4
AR db adapter for a RDF database (ATT: DHH)
Hi people, As I stated in a earlier message, I am using Rails on my masters degree and soon I will have to port my application from a relational database (MySql) to a RDF semantic database called Sesame. At first, I thought that I could get away with most of the porting only by writing a decent database adapter, but then, examining AR closer, I could see that it has some strong dependencies
2005 May 01
4
using ActiveLDAP with Rails?
Now I''m a ruby nooby so be gentle... I''ve gotten ActiveLDAP working from the command line, but buggered if I can work out how on earth to integrate an ActiveLDAP object with a bunch of ActiveRecord objects. This is going to be possible right? I''m just going to have to build the whole scaffold myself for these objects? Just thought I''d check whether it
2006 Nov 04
0
traits-0.10.0
...C::new :a => 4, :b => 2 0.8.0 - traits now supports a whole slew of hooks that can be registered to fire pre or post setting an attribute, to cast a value to another type, to munge a value destructively, to require only certain types, to require a certain ducktype signature, and to validate arguments passed. check out sample/m.rb, sample/n.rb, or sample.o.rb to see it in action. the mechanism is quite flexible allowing method names, lambdas of varying arity, and lists of either/or to be passed to any hook. - you can find a gem f...