Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Discussions
View:  Topic list, Topic summary « Newer  Topics 31 - 40 of 71  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: A group for discussing Ambition, the ambitious Ruby to SQL gem.
 

generating gem doesn't include sexp_translator.rb? 
  I'm not sure if it's a recent addition or not, but I noticed this happening when just trying to require ambition: Loading development environment (Rails 2.0.2) /Library/Ruby/Site/1.8/rubygem s/custom_require.rb:27:in `gem_original_require': no such file to load -- ambition/ sexp_translator (MissingSourceFile)... more »
By Josh  - Feb 17 2008 - 3 new of 3 messages    

The nil? sugar 
  I've documented the process by which nil? was added to the ambition adapter in a blog post: [link] Should I be doing more of these mini "how-tos"? A broader overview? What right now is keeping you from doing what you dream of? Too complicated, API not documented enough, etc.... more »
By Chris Wanstrath  - Feb 16 2008 - 1 new of 1 message    

Proc#to_sexp leaks memory 
  Hi all I just found out that the ruby2ruby of Proc#to_sexp leaks memory, and browsing the ambition source code t looks the ambition implementation of the same method will also leak memory because methods are being added to the ProcHolder class but are never removed. In Sequel we have a different implementation that might be a little slower (though I... more »
By Sharon Rosner  - Feb 16 2008 - 2 new of 2 messages    

Detect behaviour 
  I notice that detect seems to return an array. Shouldn't it return either a single record or nil?
By Haruki Zaemon  - Feb 14 2008 - 3 new of 3 messages    

Some noob questions 
  First off, I know everyone else has said it, but this has got to be the best darn project I've yet seen for Rails! anyway, on with my questions: 1. Practically, what is the difference between entries() and to_a()? Functionally they seem to behave the same. 2. Is it possible to construct a query involving joins that do an... more »
By Haruki Zaemon  - Feb 14 2008 - 8 new of 8 messages    

DataMapper 
  There is talk here: [link] of using Ambition as the first-class SQL creation tool in DataMapper and integrating it into DM as closely as possible. It is mentioned on the Ambition website that a DM adapter is in the works. Who is doing this and/or is there another group?... more »
By thanatos  - Feb 6 2008 - 2 new of 2 messages    

! operator 
  Is there anyway to support a ! operator? I've been working on the sphinx adapter, and say we want to do a query like: 'dog OR cat OR "white tigers" NOT (lions OR bears) AND title:animals' This is how I'd expect to do it in ruby: Tweet.select{ |t| ("dog" || "cat" || "white tiger") && ( ("lions"... more »
By Josh  - Feb 2 2008 - 4 new of 4 messages    

ambitious-activeldap 0.1.1 
  CHANGES: The ActiveLdap project changed gem names between 0.8.x and 0.9.x. Accordingly, I'm making the ambition adapter dependent on 0.9.x.
By Matthew King  - Jan 31 2008 - 1 new of 1 message    

Adapters and Such 
  Okay, automatt has successfully extracted his ActiveLDAP adapter into its own project: [link] I'm gonna extract the ActiveRecord one when I get some time. This is probably how we should handle things moving forward. If anyone wants to start working on an adapter and needs a GitHub... more »
By Chris Wanstrath  - Jan 30 2008 - 1 new of 1 message    

Procs -> Sexp question (concerning JRuby) 
  howdy, I was trying to get ambition to run under JRuby, which didn't work. JRuby has a version of ParseTree (jParseTree) that I maintain. Problem: JRuby 1.0.x can't support the current implementation of the way you implement to_sexp (as I understand from this: [link] ):... more »
By Werner Schuster (murphee)  - Jan 30 2008 - 6 new of 6 messages    

31 - 40 of 71   « Newer | Older »

XML       Send email to this group: ambition-rb@googlegroups.com