Code Monkey home page Code Monkey logo

inkwell's Issues

Own post in user timeline

Good day.
thank you for the gem )

Is there any way to add users own posts to his timeline ?
For now, "timeline" method load posts of folowing users only. Am i right ?

Regards

Getting a migration error

NoMethodError: undefined method `user_table' for #Rails::Engine::Configuration:0x7552d58
The origin of this error is inside of the CreateInkWellTimelineItems.rb

This migration comes from inkwell (originally 20121202140510)

class CreateInkwellTimelineItems < ActiveRecord::Migration
def change
create_table :inkwell_timeline_items do |t|
t.integer :item_id
t.integer "#{::Inkwell::Engine::config.user_table.to_s.singularize}_id"
t.string :from_source
t.boolean :has_many_sources, :default => false
t.boolean :is_comment

  t.timestamps
end

end
end

Demo code?

Hi,
I really want to use inkwell for my project. I'm wondering if you know of any githubs using it so I can take a look at the code so I know where to get started. For example, things like this:

@user.favorite @post
@user.favorite @comment

do they go in the controller or view? Seeing complete code would really help. Thanks!

default value in mysql

Mysql::Error: BLOB/TEXT column 'users_ids_who_favorite_it' can't have a default value: ALTER TABLE posts ADD users_ids_who_favorite_it text DEFAULT '[]'

is Mysql supported?

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.