Category: database

  • Why you never should use an ID in a connection table

    Today we as project group had a problem that was difficult to solve. In the end Gerard Lolkema and Ruben Swieringa also tried to fix it and finally we solved it as a group. Introduction: I use an example to explain this problem. I start with 2 tables and 1 connection table to connect them.…

  • Tutorial Flex on Rails login system part 1: Introduction

    These tutorials are a translation from this page that is the wiki of my school. I also mention this tutorial here If you have a little experience with Flex or/and Actionscript 3.0 you wan’t more, like receiving data from different databases. That is what this tutorial explains to you. The next subject are in this…

  • Tutorial Flex on Rails login system part 4: Building a login system

    This tutorial is part 4 of a tutorial about Flex, Ruby on Rails and WebORB. This is the full List: —Tutorial Flex on Rails part 1: Introduction —Tutorial Flex on Rails part 2: Install Ruby on Rails —Tutorial Flex on Rails part 3: Install WebORB —Tutorial Flex on Rails part 4: Building a login system…

  • Ruby on Rails database migration

     You can design your database diagram very well upfront but in the end there will always be some change in it, specially if you are going to use a technique as Ruby on Rails(RoR) for the first time. A basic example,  my “users” table looked like the image right. After I read more and more…

  • How to set up a database for Ruby on Rails

    On thing you have to over-think very well before you start programming in Ruby on Rails(RoR) is the database design and the relationships between tables. How do I name the tables and fields inside the database and what are the relations between tables. In this blog post I explain some things you have to do…