Instead, to use SQL, In your Rakefile you need  

require 'motion_model'
require 'motion_model/sql'
require 'motion_model/fmdb'


On Sunday, May 5, 2013 at 8:14 AM, Dan2552 wrote:

> In lib/motion_model.rb:
> > @@ -1,5 +1,7 @@ > Motion::Project::App.setup do |app| > - Dir.glob(File.join(File.dirname(__FILE__), "motion_model/**/*.rb")).each do |file| > - app.files.unshift(file) > + %w(*.rb model/*.rb adapters/*.rb).each do |path|  
> Been playing with sql branch for a bit now. Since the latest changes I was getting uninitialized constant MotionModel::FMDBModelAdapter (NameError).
> I had to change this line to get it to stop:
> %w(*.rb model/*.rb adapters/*.rb adapters/*/*.rb).each do |path|  
>  
> Keep in mind I'm not really too familiar with this kind of stuff so I don't know if it's broken or if I missed something.
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/sxross/MotionModel/pull/37/files#r4086891).
>  
>  
>