theavidmind.upstrat.com
The Avid Mind - Lists!
http://theavidmind.upstrat.com/2006/11/21/lists
Written by amcvega on November 20th, 2006 @ 05:47 PM. People deal with a lot of things. Everyday, life make demands of us that sometimes just drive us crazy. But for some reason, We cannot escape it. It is ingrained in today’s society to handle many things at a time. in fact, productivity and efficiency have almost been synonymous with the ability to multitask. The only solution that I can think of is so simple that many don’t do it – make a list. Lists are wonderful things. The important thing is to kee...
theavidmind.upstrat.com
The Avid Mind - Rethinking Deployment Strategy
http://theavidmind.upstrat.com/2007/3/25/rethinking-deployment-strategy
Written by Cyx on March 25th, 2007 @ 11:27 AM. Currently on one of the servers where we deploy rails, we use the Apache Nginx Mongrel setup, primarily for the following reasons :. The Server has apache 1.3 already, and it’s really a pain to try updating it since it’s all tied up to cpanel. Apache 1.3 proxying doesn’t support the! Directive, which basically is the strategy for skipping static images. Because of the reason above, we use mongrel both for clustering and static file sending support. Lists onl...
theavidmind.upstrat.com
The Avid Mind
http://theavidmind.upstrat.com/tags/ruby
Articles tagged with "ruby". A software development and productivity blog. We cover a broad range of topics. Come often and see what's new. A Simple Way to Generate formatted PDF Documents. Speeding up Ruby with Lua. Ruby Presentation in Malaysia. Trouble with RSpec Controller Specs. Best Authorization Plugin for Rails. On Has Many Through Discoveries. On Has Many Through Discoveries. On Has Many Through Discoveries. On Has Many Through Discoveries. On Has Many Through Discoveries.
theavidmind.upstrat.com
The Avid Mind - Ruby Presentation in Malaysia
http://theavidmind.upstrat.com/2007/5/16/ruby-presentation-in-malaysia
Ruby Presentation in Malaysia. Written by amcvega on May 16th, 2007 @ 03:00 AM. I recently went to Malaysia to do a quick workshop on Ruby on Rails for the Open Source Health Care Alliance. Presenting with me was Aizat. I think the workshop went well. Here’re the slides. A software development and productivity blog. We cover a broad range of topics. Come often and see what's new. A Simple Way to Generate formatted PDF Documents. Speeding up Ruby with Lua. Ruby Presentation in Malaysia.
theavidmind.upstrat.com
The Avid Mind - Valid Model Parameters
http://theavidmind.upstrat.com/2007/4/22/valid-model-parameters
Written by Cyx on April 22nd, 2007 @ 09:55 AM. While writing tests in rails, we frequently use the pattern :. Article = create article(:title = nil) @article.should have at least(1).error on(:title). And in the bottom of the test, we define a create article. For the next model, say Project, you define also another one in the bottom. Previously at our company, we’ve been extracting most of our valid model parameters into a module like so. But what of combining the two approaches? Speeding up Ruby with Lua.
theavidmind.upstrat.com
The Avid Mind - Best Authorization Plugin for Rails
http://theavidmind.upstrat.com/2007/3/21/best-authorization-plugin-for-rails
Best Authorization Plugin for Rails. Written by Cyx on March 21st, 2007 @ 03:42 AM. Ok, I think I’ve finally seen the authorization which fully satisfies my DSL. Head on over to http:/ www.writertopia.com/developers/authorization to see what i mean. Basically it allows you to define authorization. Globally (throughout the entire app). For one model class (i.e. Group, Article). For an instance of the model class. In addition, it features grammars! Taken from the site : ). Rails authorization plugins ruby.
theavidmind.upstrat.com
The Avid Mind - "Compiling" Ruby
http://theavidmind.upstrat.com/2006/11/22/compiling-ruby
Written by amcvega on November 21st, 2006 @ 04:36 PM. You cannot have the customer setup their own database on their computer. You can’t have the customer install their own webserver. You definitely cannot have the customer install the compiler/interpreter that you need to run your application. You cannot have the customer click more than one thing. (Anymore than one click, and things start to get really messy). And another one for rails applciations. A Simple Way to Generate formatted PDF Documents.
theavidmind.upstrat.com
The Avid Mind - Two-factor Authentication
http://theavidmind.upstrat.com/2007/10/30/two-factor-authentication
Written by amcvega on October 29th, 2007 @ 05:55 PM. Website authentication is usually done with using the username-password model: The user has a unique username and a password to prove that he owns that username. The programmer and the system administrator can put in all the encryption and security updates they can but if a hacker somehow manages to access a username and password (e.g. admin / password) then all the other measures become useless. BeamAuth is a new idea and I haven’t heard of any ...
theavidmind.upstrat.com
The Avid Mind - Back to Nginx
http://theavidmind.upstrat.com/2007/2/11/back-to-nginx
Written by Cyx on February 11th, 2007 @ 01:24 PM. After much head scratching, I just realized after re-reading the specs of mod proxy in 1.3 spec. That the mod proxy version for apache 1.3.x doesn’t support the style. Looking closely at the spec. Syntax: ProxyPass path url Default: None. Vs this one (in the 2.0 spec. Description: Maps remote servers into the local server URL-space Syntax: ProxyPass [path]! Pretty much shows the unobvious difference that there is an exclamation point for v2.0 onwards.
theavidmind.upstrat.com
The Avid Mind - And...We're Back
http://theavidmind.upstrat.com/2007/10/25/and-we-re-back
Written by amcvega on October 25th, 2007 @ 05:55 AM. Wow Can’t believe it’s been months since we last updated the blog. We’ve been very busy. Well, I think we’ve got things more or less under control now and we can go back to blogging. Stay tuned! A software development and productivity blog. We cover a broad range of topics. Come often and see what's new. A Simple Way to Generate formatted PDF Documents. Speeding up Ruby with Lua. Ruby Presentation in Malaysia. Trouble with RSpec Controller Specs.