Comments (13)
Have you defined config.user_table?
from inkwell.
I'm using devise with two different user models. one normal user model and one business user model which will be verified accounts.
from inkwell.
This gem supports only 1 user model. (config.user_table = :users)
from inkwell.
Dang.
from inkwell.
I'll try to figure something out.
from inkwell.
Would it work if I just add it to the normal user model? I may be able to split the application in half depending on user roles?
from inkwell.
You can add it to one of the models. config.user_table need for associations (belongs_to config.user_table), model name of users and table name in db.
from inkwell.
I've successfully installed the components using the migrations inkwell.rb. I have one quick question, do you have predefined views and where can I find them for this gem?
from inkwell.
No, Inkwell is consists of only model logic.
from inkwell.
Can you help me with the layout and structure of the controller/views for this gem? Normally, I'd find a demo project, but I haven't found anything while searching. I saw that you had a link to a tutorial, but it redirects to another page when I click it. Sorry to bother you, you've done great work so far.
from inkwell.
I have not done demo project yet. About structure of controllers/views - you can do it by default rails-way. For sample - create and destroy actions for favorite controller, same actions for reblog etc. Inkwell just simplifies model code, it does not affect controllers and views - you can do it the way you want.
from inkwell.
I need a bare bones demonstration app for this gem. I won't have enough time to explore the different features. Can you create one without adding any css styling? I'm really strapped for time here, and my project requires this feature.
from inkwell.
I have no time for creating demo app now.
from inkwell.
Related Issues (5)
- Own post in user timeline HOT 1
- default value in mysql HOT 4
- Rails 4 support HOT 4
- Demo code? HOT 16
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 inkwell.