Permalink
Commits on Apr 6, 2012
Commits on Apr 4, 2012
  1. Bump to version 0.6.8

    committed Apr 4, 2012
  2. Add to changelog

    committed Apr 4, 2012
  3. Merge pull request #215 from databyte/master

    support Ruby 1.8 by not using parameters
    committed Apr 4, 2012
  4. support Ruby 1.8 by not using parameters

    Can't use arity because it's -2 for both 3.1 and 3.2 since
    the method signatures are compatible even though 
    3.1 has 4 parameters and 3.2 has 5 parameters which
    isn't what we were testing for.
    
    This will have to be checked with Rails 4.0 but should work.
    databyte committed Apr 4, 2012
  5. Bump version to 0.6.7

    committed Apr 4, 2012
  6. Update changelog

    committed Apr 4, 2012
  7. Merge pull request #213 from databyte/master

    allow builder's request_format to default to 'json' like engine
    committed Apr 4, 2012
  8. allow builder's request_format to default to 'json' like engine

    Handles extended templates whose format is nil to find
    the right template and works similar to how engine
    is already working.
    
    Unfortunately, I couldn't find a good test to setup
    to mimic what I'm seeing though it does fix a problem
    I have in my project.
    databyte committed Apr 4, 2012
Commits on Apr 2, 2012
  1. Merge pull request #209 from databyte/cache_within_extends

    support using cache keys within extended templates
    committed Apr 2, 2012
Commits on Mar 31, 2012
  1. Merge pull request #208 from databyte/master

    Allow rails3 fixture to execute properly
    committed Mar 31, 2012
  2. Bump to version 0.6.6

    committed Mar 31, 2012
Commits on Mar 30, 2012
  1. One more item to the changelog

    committed Mar 30, 2012
  2. Adds to changelog

    committed Mar 30, 2012
  3. Merge branch 'rails3_fixes'

    committed Mar 30, 2012
  4. Merge pull request #206 from simonc/master

    Adding a note about Padrino and Gemfile in the README
    committed Mar 30, 2012
  5. Adding a not about Padrino and Gemfile in the README

    Simon COURTOIS committed Mar 30, 2012
  6. Updates notes for fixtures

    committed Mar 30, 2012
  7. Adds views_rails_3

    committed Mar 30, 2012
  8. Fix ashared notes

    committed Mar 30, 2012
  9. if running Rails ~> 3.2, send to find a 5th parameter for formats

    * Rails 3.0 find has 3 parameters
    * Rails 3.1 find has 4 parameters
    * Rails 3.2 find has 5 parameters
    
    The easiest check is on parameter than, say, parsing version since
    most likely 4.0 will continue to have 5 or more parameters.
    
    Tested on: Rails '3.0.12', '3.1.4', '3.2.0', '3.2.1', '3.2.2', '3.2.3.rc2'
    databyte committed with Mar 30, 2012
  10. switch renders to file and send along format to find_template

    * need to hardcode the format to json so that 
      ActionView::PathResolver doesn't also return any matching
      html files, instead it should only return rabl files
    
    * WORKS with Rails 3.2.2 and 3.2.3.rc1
    
    * BROKEN on Rails 3.0.8 due to parameter changes to 
      ActionView::LookupContext::ViewPaths.find only taking in 
      3 parameters in 3.0 and 5 parameters in 3.2
      (didn't check 3.1)
    databyte committed with Mar 29, 2012
  11. index and show now contain both Rails 3.2.3 template rendering problems:

    **index** test will render index.rabl which references show.rabl,
      but rabl grabs show.html instead of show.rabl
    
    exact error:
    
    ~/projects/popular/rabl/lib/rabl/engine.rb:22:in `instance_eval': ~/projects/popular/rabl/fixtures/rails3_2/app/views/posts/show.html.erb:1: syntax error, unexpected '<' (ActionView::Template::Error)
    <%= content_for :footer_scripts do %>
     ^
    ~/projects/popular/rabl/fixtures/rails3_2/app/views/posts/show.html.erb:2: syntax error, unexpected tIDENTIFIER, expecting $end
      <%= render partial: "show_footer_script", formats: :js %>
    
    
    **show** test results in Missing partial
    
    exact error:
    
    ~/.rvm/gems/ruby-1.9.3-p125@rabl/gems/actionpack-3.2.3.rc1/lib/action_view/path_set.rb:58:in `find': Missing partial users/phone_number with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee, :rabl]}. Searched in: (ActionView::Template::Error)
    databyte committed with Mar 28, 2012
  12. add the ability to render html, BREAKS TESTS

    * shows problem with Rails 3.2 rendering templates
      BREAKS RAILS3 and RAILS3_2 tests
    
    * THIS BREAKS PADRINO TESTS (need help to fix)
    
    ~/.rvm/gems/ruby-1.9.3-p125@rabl/gems/actionpack-3.2.2/lib/action_view/path_set.rb:58:in `find': Missing template /index with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :coffee, :rabl]}. Searched in: (ActionView::Template::Error)
    databyte committed with Mar 28, 2012