HowTo: Custom Field in Lift-Record-Squeryl

you are implementing your validation logic incorrectly. The correct way to validate a Record field is to override def validations: List[ValidationFunction] where ValidationFunction is a type alias type ValidationFunction = ValueType => List[FieldError] and in your case ValueType == String. The next issue is your Domain trait. Because your call to validate is inlined into … Read more

How to update a mongo record using Rogue with MongoCaseClassField when case class contains a scala Enumeration

Answer coming from : http://grokbase.com/t/gg/rogue-users/1367nscf80/how-to-update-a-record-with-mongocaseclassfield-when-case-class-contains-a-scala-enumeration#20130612woc3x7utvaoacu7tv7lzn4sr2q But more convenient directly here on StackOverFlow: Sorry, I should have chimed in here sooner. One of the long-standing problems with Rogue was that it was too easy to accidentally make a field that was not serializable as BSON, and have it fail at runtime (when you try to add … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)