Coder Social home page Coder Social logo

driftingruby / 042-fullcalendar Goto Github PK

View Code? Open in Web Editor NEW
29.0 6.0 32.0 311 KB

Learn how to incorporate FullCalendar into your Ruby on Rails application with listing and creating events. Using unobtrusive javascript, we can create a fast interactive calendar.

Home Page: https://www.driftingruby.com/episodes/fullcalendar-events-and-scheduling

Ruby 46.28% JavaScript 4.77% CoffeeScript 0.49% CSS 38.34% HTML 10.13%

042-fullcalendar's Introduction

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

042-fullcalendar's People

Contributors

dependabot[bot] avatar kobaltz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

042-fullcalendar's Issues

Reserved keyword 'end' causes PostgreSQL queries to throw errors

I noticed this error this morning. Trying to use this database model with a live application causes errors because we've used the reserved word 'end' in the DB model. It was causing syntax errors to be thrown in my project while trying to filter out data.

Error log:

ActionView::Template::Error (PG::SyntaxError: ERROR: syntax error at or near "end"
LINE 1: ...* FROM "events" WHERE "events"."user_id" = 2 AND (end < '201...

Solution:

Update the database model to use the keyword 'ends' instead of 'end'. I've made a PR this afternoon that should fix the issue.

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.