Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails: Use sanitize_sql_for_conditions without model or db connection

Rails: fe_sendauth: no password supplied (PG::ConnectionBad) from Ruby, but ok in Rails

ActiveRecord includes over join Table very slow in Rails 4.1.2

How to use like, or_like and get_where together in Codeigniter 3

rails force execution of SQL query in where clause

Finding records between date range

Add readable field descriptions to ActiveRecord models

Rails 4: alternative for ActiveRecord 'all' as it is now deprecated

How to duplicate a record and its associated records in Ruby on Rails?

rails belongs_to optional but check exists if passed

How to change default validation error messages on belongs_to field

How to get typed results with ActiveRecord::Base.connection.exec_query

What is the difference between foreign_key and primary_key when defining an ActiveRecord association?

Maximum number of associated records

Does LINQ to SQL use the ActiveRecord Pattern?

autosave options in Ruby on Rails

How to JOIN two columns with one serialized data?

Rails 5 ActiveRecord::SerializationTypeMismatch while creating a resource via API