Calling Ruby on Rails rake tasks through Appworx

I have a rake task “db:update_last_status”, which I need to have run on remote servers, nightly, to update cached status fields – which are used for fast search capabilities in an RoR application. The RoR application runs on Red Hat Enterprise Linux, an an Oracle database. It would be simple to script that with Cron, but that doesn’t lend itself to monitoring or work within the enterprise standards. Capistrano works great, but also isn’t within the Enterprise standards.

Read more

Coeus Interactive Debugging Techniques – presentation notes

Interacting Debugging Techniques for Coeus, using Eclipse and Tomcat
Presentation notes – from the Kuali Coeus User Conference 2011

Why would you want to do that?

  • Understanding the architecture
  • Greater speed in solving problems
  • Quickly test changes, fixes, or enhancements!
  • Assist in making Institution-specific changes

    Inspiration

  • Frustrated with lack of documentation
  • Needed to understand the architecture
    Read more
  • RoR Database seeding

    Lately, I’m researching various RoR methods, technologies, and doing further ready on Agile software development methodologies. Below is a technique I’ve learned for seeding RoR databases.

      Database seeding technique

    1. Define the model and controller (nifty_scaffold is great for building quick, CRUD interfaces)
    2. Add data to the database via the CRUD interface
    3. Use sqlite3 command to extract the new seed data into a flat file.
      In this example, the table contains custom fields for name and description.

         cd [project folder]\db
      sqlite3 development.sqlite3

      Read more