Comments (7)
I didn't find a solution to this so i simply used Sqliteman to create the tables myself and then everything worked as expected.
from autumn.
The solution is to change the database: key to path:
DataMapper is weird, yo.
from autumn.
Yes indeed it's a bit weird! :) It's the first time I use it actually, I am an ActiveRecord person mostly.
I didn't catch what you said about key to path. Isn't this correct?
database: leaves/test/data/test.db
from autumn.
path: foo/bar.db
from autumn.
There is an inconsistency with the documentation here:
https://github.com/RISCfuture/autumn
It says "If you are using the "sqlite3" adapter, the database option is the path to the file where the data should be written (example: leaves/fortune/data/my_database.db)."
But from what you wrote i understand that i don't need to include "leaves" so basically if my leaf is called "test" i just need to:
path: test/data/database.db
Correct?
from autumn.
Fixed the docs.
Don't know what you mean by your question ... You can leave the leaves.yml file out if your database connections are named after the name of each leaf.
from autumn.
OK no worries, I understood what you are saying :) thanks
from autumn.
Related Issues (20)
- before_filter and after_filter not firing up with irc_privmsg_event HOT 7
- How to remove color formating from incoming messages HOT 3
- Helper classes in lib folder are being loaded and included in controller HOT 5
- Username starting with _ (underscore) raises exception on command HOT 10
- Consider adding Ruby version requirement to README
- rake app:<command> causes error HOT 4
- Sending /MODE and /KICK commands and working with Services HOT 14
- Restricting Leaf to specific channel(s) via stems.yml HOT 3
- Bot bootstrapping HOT 7
- undefined_method when calling helper module method from controller HOT 11
- stem.sajoin and stem.sapart caused undefined method error HOT 2
- Tutorial: your first bot HOT 1
- Authentication::Op.authenticate HOT 1
- Stem.privilege returns wrong privilege level HOT 5
- Stem.whois result...returned where? HOT 1
- Autumn as rubygem
- Problem with synchronization
- Foliater::each_leaf doesn't work as expected
- establishing persistence issues with scorekeeper
- Insulter doesn't take name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autumn.