Comments (16)
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.
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.
Can you post a complete solution for the gem? I'd like to implement it into my project.
from inkwell.
As I have said, there is no open-source demo code now. Or what you mean?
from inkwell.
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.
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.
I know this is super old but could you suggest how i could start using favorites?
from inkwell.
@brendhann which version of Rails you are using?
from inkwell.
rails is 4.2.6 and ruby is 2.2.4p230
from inkwell.
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.
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.
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.
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.
Cool, good luck!
from inkwell.
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.
was thinking i might link my code to help anyone else trying to figure it alll out
from inkwell.
Related Issues (5)
- Own post in user timeline HOT 1
- default value in mysql HOT 4
- Rails 4 support HOT 4
- Getting a migration error HOT 13
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.