Giter Site home page Giter Site logo

flockers's People

Contributors

arpita18 avatar bansalp83 avatar deenbandhu-agarwal avatar guptaastha avatar vibgy avatar

Watchers

 avatar  avatar  avatar

Forkers

guptaastha

flockers's Issues

models need to use 'has n' and 'belongs to' rather than manually adding connections

who reviewed this models ?

No one seems to have even read the first page on datamapper:
http://datamapper.org/getting-started.html

Look at this example:

class Categorization
include DataMapper::Resource

property :id, Serial
property :created_at, DateTime

belongs_to :category
belongs_to :post
end

Now we re-open our Post and Categories classes to define associations
class Post
has n, :categorizations
has n, :categories, :through => :categorizations
end

class Category
has n, :categorizations
has n, :posts, :through => :categorizations
end

activities.rb

  1. why we are using verb.first(:verb => params[:verb]) cant we directly use params[:verb] instead
    in activities.rb line no . 7,14

Need to create profile page

User can provide some description of themselves, which college etc.
and may be about their interests ??
this is open to design as of now..

Backend needs to calculate top users

route to fix - /users/top

top creators:
condition - sort the users by the number of events they create and return top 10

top participators:
sort the users by the number of events they participate in and return top 10

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.