Code Monkey home page Code Monkey logo

Comments (13)

salkar avatar salkar commented on July 4, 2024

Have you defined config.user_table?

from inkwell.

RailsCod3rFuture avatar RailsCod3rFuture commented on July 4, 2024

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.

salkar avatar salkar commented on July 4, 2024

This gem supports only 1 user model. (config.user_table = :users)

from inkwell.

RailsCod3rFuture avatar RailsCod3rFuture commented on July 4, 2024

Dang.

from inkwell.

RailsCod3rFuture avatar RailsCod3rFuture commented on July 4, 2024

I'll try to figure something out.

from inkwell.

RailsCod3rFuture avatar RailsCod3rFuture commented on July 4, 2024

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.

salkar avatar salkar commented on July 4, 2024

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.

RailsCod3rFuture avatar RailsCod3rFuture commented on July 4, 2024

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.

salkar avatar salkar commented on July 4, 2024

No, Inkwell is consists of only model logic.

from inkwell.

RailsCod3rFuture avatar RailsCod3rFuture commented on July 4, 2024

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.

salkar avatar salkar commented on July 4, 2024

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.

RailsCod3rFuture avatar RailsCod3rFuture commented on July 4, 2024

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.

salkar avatar salkar commented on July 4, 2024

I have no time for creating demo app now.

from inkwell.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.