Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

RecordNotFoundException

class ApplicationController < ActionController::Base protect_from_forgery with: :exception before_action :configure_permitted_parameters, if: :devise_controller? protected def configure_permitted_parameters devise_parameter_sani...

Adding method using CakePHP

There are different type of methods that we can use in cakePHP to add functionality. 1. constructClasses()- This method load the model required by the controller. This can be used while in the command line prompt. 2.referrer(mixed $default ...

Create classes in ruby

Ruby is a pure object oriented language and everything in ruby is an object of some class. In ruby we can create classes and create objects of the classes. In the below example we will create 3 classes Person, Address and Company. An object of...

Laravel 5.0 Creating Request Handler

In Lavarel one of the best practice is to use form validation rules to validate the submitted data. There are number of ways to do it . One way is to create form validation rules both in the controller or we can create a separate file under the a...

Static Keyword

Static Keyword Static keyword can be applied on 1.Method 2.Variable 3.Class nested within another Class 4.Initialization Block Static keyword can not be applied to 1.Class (Not Nested) 2.Constructor 3.Interface 4.Met...

Final Keyword

Final is keyword that can be used before a class or method or a variable. Final Class They can not be subclassed and the method in it are by default final. public final class MyFinalClass {...} public class ThisIsWrong extends MyFinal...

Method Overriding

Method Overriding is a type of polymorphism. It is dynamic type of polymorphism. In this we have the method with the similar name in both parent class and child class. But the child class override the method of the parent class when we create ...

Method Overloading

Method Overloading is a type of polymorphism. Using this we can have two different method having the same name in a single class. Method have the same name but different argument through which they are recognize. Argument have 1.Different num...

Javascript getDay() method

JavaScript getDay() Method Return the day of the week: var d = new Date(); var n = d.getDay(); This method is used for getting the days of week from 0-6 for the date specified. in this 0 stand for sunday and 1 stand for monday. Synt...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: