#86 ✓invalid
Steve

Will_paginate kills YAML fixtures with ERB

Reported by Steve | August 18th, 2007 @ 12:19 AM

After installing your plugin (will_paginate) I then tried to run a fixture that had Erb contained in it. It died hard and gave me a warning to use spaced instead of tabs. I checked my yaml file and they were spaces. I removed the plugin and everything worked fine again.

Comments and changes to this ticket

  • Chris Wanstrath

    Chris Wanstrath August 18th, 2007 @ 04:27 AM

    • State changed from “new” to “open”

    How did you "run a fixture?" Let us know the commands you used to hit this error and we can investigate. Thanks.

  • Chris Wanstrath

    Chris Wanstrath August 18th, 2007 @ 04:45 AM

    • Assigned user changed from “Chris Wanstrath” to “Mislav”
  • Steve

    Steve August 20th, 2007 @ 05:27 PM

    Chris, I run them as the load_fixture task. i.e. rake db:fixtures:load FIXTURES=fixture1.yml

  • Mislav

    Mislav August 20th, 2007 @ 07:08 PM

    • Title changed from “Will_paginate Problem with yaml and erb” to “Will_paginate kills YAML fixtures with ERB”

    This sounds crazy. Can you definitely confirm this is the plugin's fault? Can you tell me what other plugins you have installed, and what version of Rails are you running?

  • Mislav

    Mislav September 27th, 2007 @ 10:12 PM

    • State changed from “open” to “invalid”

    I'm using will_paginate with projects that have erb in yaml fixtures. No probs

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Everyone's favorite Ruby library for pagination of practically anything!

People watching this ticket

Pages