Love Ruby, Hate Rails, but still use it — or Ruby vs PHP
Okay, that title was a bit extreme, I don’t really hate Rails. I don’t get why people feel the need to be so completely polarized about a framework, or a language. It’s either the best thing since sliced bread, or the worst, and nowhere in between. Still, most developers who aren’t Ruby purists, can tend [...]
Posted in Computer Science, PHP/MySQL, Ruby on Rails, Topics, Web Design, Writings | 6 Comments
Rails 3 Migrations Cmdline Builder
This is a little helper for making migrations.
Posted in Computer Science, Ruby on Rails, Ruby on Rails, Tips and Tricks, Topics, Tutorials, Web Design, Writings | No Comments
Ruby on Rails Session in Models: Not So Evil Actually
I just finished reading this post from m.onkey.org on how to put your session into your models. First off, I love this guy, and his site, and most of what he says, but I’ve had it up to here with this nonsense. I also kind of felt a little dissed by the PHP comment. I [...]
Posted in Computer Science, General Computing, OOP, Ruby on Rails, Ruby on Rails, Tips and Tricks, Topics, Tutorials, Writings | 1 Comment
Info Tidbits and Vocabulary that you should know, Facts, Trivia
I have started this post as a collection of vocabulary and facts that every person should know. It’s not in any order, though one day I may organize it. For right now, just wander through, and learn, and come back often. All of this information relates to the world around you, the people in it, [...]
Posted in Information, Tips and Tricks, Topics, Writings | No Comments
Spree Commerce, eBay Trading API, and the eBay Accelerator Toolkit from Intradesys EbatNs
In this bit, I talk about using the EbatNs SDK for the eBay Trading API, to list items from your Spree Commerce store, or really any rails application. Filled with production code examples from an honest to god real live and working spree site that interfaces with the eBay trading API to Add, Revise, and End items, on ebay when they sell in your store, or on your store when they sell on eBay.
Posted in eBay, PHP Tutorials, PHP/MySQL, Tips and Tricks, Web Design | No Comments
SOAP APIs R Klunky or How to waste bandwidth for no good reason
The fact that SOAP is still around is, to be honest, absolutely beyond my comprehension. No serious effort seems to have been put into something like JSONRPC. Still, when it comes to some API calls, SOAP is pretty darn good, but this here is one example of it being used as just a waste. I [...]
Posted in PHP/MySQL, Ruby on Rails, Ruby on Rails, Tips and Tricks, Topics, Web Design | No Comments
Rails Migrations, Primary key is not allowed in a has_and_belongs_to_many join table
I was working like a fiend on a project, and forgot to add :id => false to a join table migration. For completeness, here’s the migration as it is supposed to look: class CreateEmployeesRoles < ActiveRecord::Migration def self.up create_table :employees_roles, :id => false do |t| t.references :employee t.references :role end end def self.down drop_table :employees_roles [...]
Posted in Ruby on Rails, Ruby on Rails, Ruby on Rails, Topics, Tutorials | No Comments
Rails Application Config
I saw this railscast on application wide configs and I liked it alot, however, I am not big on typing APP_CONFIG[:value][:subvalue] so I have made a small tweak to that, and placed it as a model, which is where I like it to be, as it is a model of the applications configuration, where the [...]
Posted in Ruby on Rails, Ruby on Rails, Topics, Web Design | 1 Comment
OSX Server, appcelerator, and the iOS SDK
Well, I finally did it. I installed OSX on VirtualBox. Normally, I am pretty anti-apple, and I still maintain they are evil. But after using OSX for a bit, I can say that a lot of my opinions on it were informed more by Apple corporate policy than how it actually functions. It is, after [...]
Posted in Computer Science, Information News, Topics, Writings | No Comments
News: Apple rejects Sony eBook reader App…oi here we go again
In this article on ebookmagazine.co.uk I read: In a statement posted on its ereader site, Sony said: “Unfortunately, with little notice, Apple changed the way it enforces its rules and this will prevent the current version of the Reader™ for iPhone® from being available in the app store. We opened a dialog with Apple to [...]
Posted in Humor, Reviews and Rants, Writings | No Comments
