hi friends, when i use this line for Implementing authentication logic
ActiveRecord u = User.findFirst("username='" + username + "' and password='" + password + "'");
( here User is the model )
in authenticate() method of SignonController.java of my project then i am getting a error in my command prompt like
cannot find symbol : method findFirst(java.lang.String)
nd when i checked this method in given docs files in ( com.scooterframework.orm.activerecord.ActiveRecord ) then there is given this method findFirst() instead of findFirst(java.lang.String) but i prefer your twitterdemo example there is also use this line
ActiveRecord user = Account.findFirst("username='" + username + "' and password='" + password + "'");
( here Account is the model )
in authenticate() method of SignonController.java then that works proper so can you tell me why i am getting this error nd what i need to do for solving that error