Added appraise for rails 4.0.beta, converted set_table_name to 'self.table_name =' in specs