Code Monkey home page Code Monkey logo

Comments (16)

salkar avatar salkar commented on July 24, 2024 1

Model is already exists - https://github.com/salkar/inkwell/blob/master/app/models/inkwell/comment.rb.
As far as I remember you can use comment after add acts_as_inkwell_user to User model. About controller - yes you have to make it, Inkwell does not include controllers.

from inkwell.

salkar avatar salkar commented on July 24, 2024

Hi,
Unfortunately, I have not made ​​a demo version yet, but you can ask questions here (or by email).
About your example - it is assumed that it is used in the controllers (or in the models if you want to add something to the feature logic)

from inkwell.

RailsCod3rFuture avatar RailsCod3rFuture commented on July 24, 2024

Can you post a complete solution for the gem? I'd like to implement it into my project.

from inkwell.

salkar avatar salkar commented on July 24, 2024

As I have said, there is no open-source demo code now. Or what you mean?

from inkwell.

RailsCod3rFuture avatar RailsCod3rFuture commented on July 24, 2024

I have a pretty good understanding of how your inkwell system works. But, since there are two parts to it. Should I install both to get a fully functional social networking experience? Also, do you have a notifications system built into it. As in, you can see when someone followed you or reblogged your message in a separate view?

from inkwell.

salkar avatar salkar commented on July 24, 2024

About two parts - if it is about Inkwell and Inkwell Timeline gems - no, inkwell timeline gem is not required. About notification system - it has not been made yet.

from inkwell.

brendhann avatar brendhann commented on July 24, 2024

I know this is super old but could you suggest how i could start using favorites?

from inkwell.

salkar avatar salkar commented on July 24, 2024

@brendhann which version of Rails you are using?

from inkwell.

brendhann avatar brendhann commented on July 24, 2024

rails is 4.2.6 and ruby is 2.2.4p230

from inkwell.

salkar avatar salkar commented on July 24, 2024

As far as I remember you can add settings as described at https://github.com/salkar/inkwell#installation.
But keep in mind the last time I tested it with Rails 4.0.
I don't have time to add support for new versions for now.

from inkwell.

brendhann avatar brendhann commented on July 24, 2024

ok yea i tried to just add @user.favorite @post to my pin show model but it popped up the error
undefined method `favorite' for nil:NilClass
new to rails but i already started on an android app so getting this gem working would be handy
also can you suggest a blog and timeline gem that would be compatible?

from inkwell.

salkar avatar salkar commented on July 24, 2024

undefined method `favorite' for nil:NilClass - error that says @user is nil.
If you need only favorites support - you can easier to write it yourself. For sample like here - http://stackoverflow.com/a/13240439/2174582 .

from inkwell.

brendhann avatar brendhann commented on July 24, 2024

ill think about that thanks, thanks for the quick reply. gonna mess around with this abit more and try to figure out what im missing lol. Trying to add it to a pinterest clone type of thing.
http://bdtp.biz:3000/

from inkwell.

salkar avatar salkar commented on July 24, 2024

Cool, good luck!

from inkwell.

brendhann avatar brendhann commented on July 24, 2024

hey i got favorites working, trying comments now, do i have to make comments controller and model etc. ?
nice gem once i get it all figured out lol
thanks

from inkwell.

brendhann avatar brendhann commented on July 24, 2024

was thinking i might link my code to help anyone else trying to figure it alll out

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.