jgwmaxwell / chatter-tutorial Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://jgwmaxwell.com/post/14406822372/building-chatter-a-twitter-type-application-in-ruby
Home Page: http://jgwmaxwell.com/post/14406822372/building-chatter-a-twitter-type-application-in-ruby
Class#process_post_marks failed with ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: marks_posts: INSERT INTO "marks_posts" ("mark_id", "post_id") VALUES (1, 1) - 0 failed attempts
I have this as my tags table, using the name marks.
create_table :posts_marks do |t|
t.integer :post_id
t.integer :mark_id
end
I'm going to change table to marks_posts to see what happen's but that plain wrong semantics to me!
Why didn't you use a has_many :through association, or its not possible in this case. That's the popular method for many_to_many associations!
I should have mentioned. I'm using delayed _job as background processor...may be that's the problem, but we will see.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.