Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

ActiveRecord Arel OR condition

MongoDB vs MySQL

CodeIgniter Active Record - Get number of returned rows

activerecord codeigniter

Does rename_column take care of indexes?

How can i remove a column from table using rails console

How can I count the number of records that have a unique value in a particular field in ROR?

has_and_belongs_to_many, avoiding dupes in the join table

Rails: ActiveRecord query based on association value

How to Determine if Rails Association is Eager Loaded?

Is there an easy way to make a Rails ActiveRecord model read-only?

How to delete all data from all tables in Rails?

"WARNING: Can't mass-assign protected attributes"

how to find the cause of ActiveRecord ROLLBACK

Rails ActiveRecord: Find All Users Except Current User

Rails optional belongs_to

validates_uniqueness_of passes on nil or blank (without allow_nil and allow_blank)

Difference between after_create, after_save and after_commit in rails callbacks

How to select count with Laravel's fluent query builder?

Rails model without database

ActiveRecord find_each combined with limit and order