September 2007
-
Nested resources in Ruby on Rails: why bother?
Nested resources in Ruby on Rails are sort of neat, but they are a pain to implement. What’s more, I have to ask myself, why bother? If a resource has a unique identifier id, then why would you need to call its parent resource to call it? The unique identifier is enough. And what resource… Continue reading
-
Ruby on Rails Calendar Helper doesn’t quite work for me
Geoffrey Grosenbach’s Ruby on Rails plugin calendar_helper is simple and easy to use. Maybe I’m just picky, but one part of it just wasn’t working right for me. Originally, it looks like this on line 96: cal << %(<caption class=”#{options[:month_name_class]}”></caption><thead><tr><th colspan=”7″>#{Date::MONTHNAMES[options[:month]]}</th></tr><tr class=”#{options[:day_name_class]}”>) It doesn’t really make sense for the month name to be in a… Continue reading
-
Getting a remote form to submit within a partial collection when any select changes in Ruby on Rails
This one is harder than it seems. But, I figured out a way. The trick and breakthrough came from Teflon Ted. With a regular form, you could do this in your select statement: :onChange=>”this.form.submit();” This won’t work with a remote form, because the submission is not handled with the submit method but rather within the… Continue reading
-
In_place_editor with a collection in a partial in Ruby on Rails
It seems like it would take a lot of work to get the in_place_editor to work in a partial on a collection, but it does. (It took me a lot of time to figure this out, but maybe I’m just more than average dense.) The best post to-date on this is at we eat bricks.… Continue reading
-
What to use for old permalink structure when implementing Dean’s Permalinks Migration Plugin for WordPress
If you want to move your WordPress permalinks via 301, you can try to do it by hand using rewrites in your .htaccess file. Much easier is Dean’s Permalinks Migration Plugin for WordPress. On my work blog (http://www.synaxisworks.com/blog/), I used to use the default “?p=post-number” format, and I wanted to change to a more SEO-friendly… Continue reading
About Me
Digital transformation, including agile and devops, across many industries, most recently in higher education. Designed and built the Emory faculty information system. Working in continuing education to improve and expand career-focused learning, esp. in workforce development. Expanding the role of innovation and entrepreneurship. Designed, built, and launched the Emory Center for Innovation.
Favorite sites
- Daring Fireball
Favorite podcasts
- Manager Tools