cjheath / activefacts Goto Github PK
View Code? Open in Web Editor NEWA fact-based semantic modeling and query language (CQL) and application runtime (the Constellation API)
Home Page: http://dataconstellation.com/ActiveFacts
License: MIT License
A fact-based semantic modeling and query language (CQL) and application runtime (the Constellation API)
Home Page: http://dataconstellation.com/ActiveFacts
License: MIT License
Would be good to use
gem 'activefacts', :git => 'https://github.com/cjheath/activefacts.git'
in my gemfile - I know it's not ready for a gem release but I want to use the latest features.
in some.cql
Person Id is written as String;
bundle exec afgen --ruby some.cql
In some.cql at line 1, undefined method `valid_value_type_name' for nil:NilClass
Which makes it hard to create a watch-script to rebuild ruby files when the CQL changes (yes, I know you can just require the cql)
Would be good to see support for this one since I've tried to use it when raising issues against the gem.
$ afgen
/Users/danielheath/.rvm/gems/ruby-1.9.2-p290/gems/activefacts-0.8.10/bin/afgen:42:in <top (required)>': undefined method
split' for nil:NilClass (NoMethodError)
$ afgen --help
/Users/danielheath/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': no such file to load -- activefacts/generate/help (LoadError)
$ afgen -?
/Users/danielheath/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': no such file to load -- activefacts/input/-? (LoadError)
$ say "how do I get usage information for this tool?"
Please can we remove the validates presence of from cols like created_at and updated_at as it messes up Rails :)
Most ruby version managers eg rvm and rbenv install ruby under $HOME, which breaks cql compiler
[kirillvr@yao bin]$ ./cql
fatal: Not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Using work area gems in /home/kirillvr/250/lib/ruby/gems/2.5.0/gems from activefacts
The path `/home/kirillvr/250/lib/ruby/gems/2.5.0/gems/api` does not exist.
on a good note, looks like schema_compositor doesn't have same issue
In the relational mapping a role in objectified fact type is assumed to be mandatory.
The Rails model generator is adding a "self.primary_key =" when the table has no pkey, for example on a join table.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.