Closed penchiang closed 11 years ago
Can you share your tabulous.rb file? If you don't want to make that public, you can email it to me.
Also, is it possible that you have two files: app/tabs/tabulous.rb and app/tabs/tabulous.bak.rb, the latter a saved copy of the old tabulous file? Having two files in place could be messing things up as they both may be getting loaded.
Yes, I do have a backup file with that name in the folder. That is it!! The case should be closed. Thanks.
Good, glad it was that easy. Thanks for using tabulous!
When testing our tabulous application using spork/cucumber, the spork gave us a warning message: Rack::File headers parameter replaces cache_control after Rack 1.5. WARNING: You have set Rails' config.cache_classes to false (most likely in config/environments/cucumber.rb). This setting is known to cause problems with database transactions. Set config.cache_classes to true if you want to use transactions.
If we reset the cache_classes to true: config.cache_classes = true
Then we are getting the following error message when running the spork:
Rack::File headers parameter replaces cache_control after Rack 1.5. Tabulous Error: It looks like your tabulous.rb file is written for an old version of tabulous. This newer version of tabulous uses a new syntax that is not backwards-compatible. (Tabulous::OldVersionError) /Users/ppc/.rvm/gems/ruby-2.0.0-p247/gems/tabulous-2.0.0/lib/tabulous/old_version_checker.rb:19:in
method_missing' /Users/ppc/dev/src/ws/redixws-ec2/app/tabs/tabulous.bak.rb:55:in
block in <top (required)>' ...We are using tabulous 2.0.0 and we also rewrote tabulous.rb based on the new syntax. Can someone help on this issue? What should I do to resolve it?
Thanks