It’s my first post in months*, so it must be worth it right?
Rails Inside has the details on Paperclip as an alternative file upload/association plugin, I’ve tried them all and paperclip covers all your file upload bases.
*I’ve been busy with Fatherhood 101 and my new job as a Flex Dev at Captial Group (the largest [...]
Frameworks like Ruby on Rails and CakePHP make it easy to set up model associations with belongs_to, has_many, and the ever popular has_and_belongs_to_many. However, getting those associations to show up in a Flex DataGridColumn’s dataField isn’t immediately obvious, you’d assume you could just do parent.child or child.parent but that just gives a blank column. After [...]
Also posted in ActionScript, Flex, Ruby |
The JavaScript library I use most after prototype is YUI so a big thanks to Chetan Patil for making it much easier to use in Rails.
Ruby Inside has a post on Ebb a small and fast web server for hosting Rails and Merb applications (and soon Django).
Ebb is a small, extremely high performance Web / [...]
Also posted in Ajax, JavaScript, Merb |
I got all excited this morning reading TechCrunch with their post about Rackspace Offerering Cloud Computing with Mosso. Once I clicked through to investigate further it seems the ‘new’ cloud hosting is just their old hosting plan with 30GB of storage slashed off (down to 50GB) so they can charge you 0.50/GB a month for [...]
Derek shows how to push AMF encoded messages from the server with Rails through BlazeDS.
Ted introduces the Yahoo! map components for AS3.
Combine the two and you could build a Flex/Rails app that tracks someone’s position in real time.
Via Dark as Light, the easy way to deploy Rails adds a staging environment.
Here are the LiteSpeed update instructions:
1. Click ‘update’ in the LiteSpeed administration console
2. There is no step 2
3. see #2
Why more people don’t use LiteSpeed is beyond me. Hosting a Rails app takes only a couple more steps with no mongrel_clusters or [...]
Also posted in LiteSpeed, Mongrel |
HotGigs has a feature where they collect and aggregate the hourly bill rates of the consultants on their site. Here are the average hourly bill rates for Flex, Flash, and Ruby, surprisingly they have sub-categories for Flash all the way down to Flash Remoting but there’s just one category for Ruby with no Rails sub-category.
For [...]
A site to dull the pain Rubular. Via Ruby Inside.
Also posted in RegEx, Ruby |
I’m moving an old app to Rails 2.0 and other than fixing some routes Ajax calls with link_to_remote and the :with parameter was the only thing that gave me some trouble. In the old version I was grabbing the current value of a drop down list with Prototype and passing it along using :with like [...]
Also posted in Ajax, JavaScript, Ruby |
Damian pointed me to the patch ELC Technologies committed to Rails.
As he mentions previously you did something like
<% form_for(@client) do |f| %>
<%= render :partial => ‘form’, :locals => {:f => f} %>
<%= submit_tag ‘Create’ %>
<% end %>
but now you can just do…
<% form_for(@client) do |f| %>
[...]