Version 4, last updated by m4rw3r at Sep 11 13:18 2008 UTC

Known Bugs

0.2.0

  • The SQL messes up when using Has And Belongs To Many relationships in conjunction with CodeIgniter’s Active Record SQL-builder
    fix
  • The find_by_sql() and find_all_by_sql() produces PHP errors when called
    fix
  • IgnitedQuery produces faulty SQL when like() is not called first
    Solution: use a later version of IgnitedQuery or use CI’s AR

Fixes for known bugs

0.2.0

SQL problem with habtm and Ci’s AR

Add this code before you load IgnitedRecord:
define(‘IR_USE_IQ’, true);

This tells IgnitedRecord to use IgnitedQuery to build the SQL-query instead.

PHP errors when using find_by_sql() or find_all_by_sql()

Replace:
$query = $this→db_query($sql);
With:
$query = $this→db→query($sql);

In igntedrecord.php, in the find_by_sql() and find_all_by_sql() methods.