|
You are here |
www.sethvargo.com | ||
| | | | |
garrettdimon.com
|
|
| | | | | A very nice and concise summary of all the lesser-known and under-appreciated benefits of using partials in Rails. There are a lot of alternatives to... | |
| | | | |
www.rasikjain.com
|
|
| | | | | In the series of the blog post, I am going to walk through step by step process of building a Simple Notes App using React, TypeScript, Node.js, GraphQL , and MongoDB. During the process of our development, we are going to use some useful npm packages like Express, Apollo-Server, Typegoose, Mongoose, TypeGraphQL , and Bootstrap. Here is the Github Source Code to run the application. Table of Content Dev Environment Setup GraphQL Server Backend Folder Structure Creating Node. | |
| | | | |
smsohan.com
|
|
| | | | | I am working on ScrumPad chat refactoring now. In rails 2, the named_scope feature works really great for ActiveRecord models. Lets start with the code first- The Source Code: class ChatUser < ActiveRecord::Base belongs_to :chat belongs_to :user belongs_to :chat_status, :foreign_key => "status_id" named_scope :closed, lambda {|chat_id| {:conditions => ["status_id = #{ChatStatus::CLOSED} AND chat_id = ? ", chat_id]}} do def invite() each { |chat_user| chat_user.update_attribute(:status_id, ChatStatus::INVITED) } end end named_scope :active_chats, lambda {|user_id| {:conditions => [" | |
| | | | |
www.daveabrock.com
|
|
| | | In this post, we upgrade a Functions app to .NET 5. | ||