Tags » Ruby On Rails

Building a Reddit Clone Pt.3

To avoid users from deleting links allthough not logged in, we need some authentication in the controller.

We need a before filter , means before the controller starts actual work it launches starting parameters to, in this case, authenticate the user. 556 more words

EasyHost

 
Visit to EasyHost website https://catering-br.herokuapp.com

Developed using Ruby on Rails

Websites

Rails : Mass assignment with ids in seeds.rb |PG::UniqueViolation: ERROR

Looks like you can mass-assign records into ActiveRecord models without problem like

Category.create([
                    { parent_id: 1, name: 'Computer Science', description: 'Readable via Electronic devices.' },
                    { parent_id: 1, name: 'Electronics' },
                    { parent_id: 1, name: 'Law' },
                    { parent_id: 1, name: 'Social' }
                ]) 106 more words
Ruby On Rails

Senior Software Engineer (Ruby on Rails / FullStack) | 6 Month Contract | London | £400pd

Senior Software Engineer (Ruby on Rails / FullStack) | 6 Month Contract | London | £400pd

We are looking for a Senior Software Engineer (Ruby on Rails / FullStack) to work within the product engineering team to design and build engaging digital features. 94 more words

Live Jobs

Parsing Boarding Pass Dates in Ruby

The bar codes on paper or electronic boarding passes contain a good deal of data about a given flight. One of my goals for Flight Historian… 4,380 more words

Flight Log

Many-to-Many Associations with ActiveRecord in Ruby on Rails

Modeling many-to-many relationships between data entities in the ActiveRecord world isn’t always a straightforward task. Even if we have a well-defined ER diagram to work with, it’s not always clear which ActiveRecord associations we should be using and what the implications of our decision will be. 296 more words

Ruby

Redux in a nut shell

What is Redux?

Redux is a predictable state container for JavaScript apps.

In this tutorial we will create an awesome Redux app in organized fashion.

910 more words
Ruby On Rails