Help using/upgrading Liquid with Rails 2.3.4

3 views
Skip to first unread message

I Go by Ed

unread,
Oct 30, 2009, 6:09:58 PM10/30/09
to Liquid Templates
Hello,

Our app was running on Rails 2.1 and used liquid to allow clients to
style their pages with fuill .liquid layout files and views. Worked
good.

I updated our app to Rails 2.3.4 and now I can't get anything liquid
to work.

If I get the latest liquid from GitHub and drop it in as a plugin, I
get:

undefined method `call' for LiquidView:Class

If I remove the plugin and try to use it as a gem, my .liquid files
don't render (curly braces everywhere). I did add a config.gem line to
my environment.rb file but not sure where else I need to include it.

I did add a file to config/initializers and loaded some filters. Other
than that, I'm not sure what I'm doing wrong or what's causing that
error message.

Our app let's users switch custom theming on/off ... so some people
don't use the liquid stuff at all.

Any help is much appreciated.
Reply all
Reply to author
Forward
0 new messages