Rails 0.13 and typo

Posted by tobi — 10:50 AM Jul 07

As most people know Rails 0.13 was released yesterday. It has been the biggest rails release so far with tons and tons of great new features.

Scoop and I spend some time this morning to get typo to sing on 0.13 so if you are living on svn trunk!

Update: Lots of updates went into typo. Please run svn up and tell me how it works. If everything goes alright I should push a new release tomorrow evening.

Comments

  • Michael Burnham 08 Jul 12:30

    After updating, whenever someone leaves a comment. the submit button is disabled and the spinner icon never stops spinning. Refreshing the article shows that the articel was posted. Wierd.

  • Michael Burnham 08 Jul 12:31

    FYI…it happenned posting here too. I wish I had the skills to debug it. Stupid work getting in the way of my coding fun!

  • Matthew Parrish 08 Jul 21:44

    When I click on the rss feed I get this error.

    Errno::EACCES (Permission denied – /path/to/typo/public/../config/..//public/xml/rss): /usr/lib/ruby/1.8/fileutils.rb:212:in `mkdir’ /usr/lib/ruby/1.8/fileutils.rb:212:in `fu_mkdir’ /usr/lib/ruby/1.8/fileutils.rb:193:in `makedirs’ /usr/lib/ruby/1.8/fileutils.rb:191:in `reverse_each’ /usr/lib/ruby/1.8/fileutils.rb:191:in `makedirs’ /usr/lib/ruby/1.8/fileutils.rb:177:in `each’ /usr/lib/ruby/1.8/fileutils.rb:177:in `makedirs’

    If I create a file at public/xml/rss/feed.xml, it gets returned. Any ideas?

  • tobi 09 Jul 10:03

    you need to allow your webserver to write to the xml directory.

    pick one. on some systems the webserver user can be called www, www-data or lighttpd as well.

    • chown apache:apache xml -R
    • chmod 777 xml -R
  • Matthew Parrish 09 Jul 19:52

    Thanks, chmod fixed the issue

  • tobi 09 Jul 22:17

    Michael: the issue should be fixed now.

  • Thomas Maas 10 Jul 08:11

    Hello Tobi, kudos for nice tool.

    After running svn update I get

    ‘undefined method `xml_url’ for #’

    where the post should appear, on permalink pages of posts. (running on textdrive) like here

    http://typo.shorttitle.com/articles/2005/07/10/test-2

  • tobi 10 Jul 11:43

    Hey Thomas, are you running rails 0.13 ?!

  • tobi 10 Jul 18:07

    spam

  • Thomas Maas 10 Jul 18:45

    Hello Tobi,

    As far as i know textdrive runs 0.13. I run it over lighttpd and everything (except hanging ajax comments as noted by Michael) was working fine.

    UPDATE just installed latest rev (319), updated db and rebooted lighttpd. I get the same kind of message, this time talking about extended_html:

    undefined method `extended_html’ for #

    some others notes on rev 319
    • extended body doesn’t show in admin/content/show/#post
    • categories say they hold 1 article when in fact they are empty

    - and now it’s spanish bedtime

  • Thomas Maas 10 Jul 18:52

    ah.

    restarted lighttpd process before updating the db. Now everything’s ok (exept for 2 notes in comment above)

    -thanks.

  • tobi 10 Jul 19:21

    Thomas,

    try running “RAILS_ENV=production rake migrate” on the command line. That should fix it

  • Thomas Maas 11 Jul 07:01

    Tobi,

    thank you, everything works great.

    (1 thing: empty categories say they have 1 article when they don’t (but ok, who needs empty categories…))

  • scoop 11 Jul 08:03

    Thomas,

    the category counter is fixed in changeset [321].

    Thanks for the heads up.

    -P.

  • Flo 12 Jul 08:10

    Nice Blog.

  • Roland 13 Jul 21:27

    Dude, I don’t know if you are the right guy,,, but check this page. http://wiki.rubyonrails.com/rails/show/LoginGenerator

    it has a bunch of porn stuff.

    maybe someone hacked it???

    my email is roland.mai@gmail.com

    let me know about it..

  • SS 14 Jul 02:16

    SSS

  • Ryan 15 Jul 17:43

    Great post. thanks

  • test 18 Jul 22:02

    this is a test

  • ernie 21 Jul 11:19

    wheres it at to download??

  • John Covey 25 Jul 20:36

    Just stopped to check the first example of Typo.

  • Arthur 15 Aug 06:54

    testing!

  • Test 13 Sep 07:13

    Test

  • test 12 Dec 04:13

    test

  • yeaaah 27 Dec 11:33

    so cool!

  • test 20 Feb 10:34

    test

  • ZogStriP 24 Feb 11:54

    This is totally amazing !!!

Commenting are now closed…