Archive for September, 2008
Tuesday, September 30th, 2008
A simple plugin to help separate sensitive configuration such as server passwords from your Rails source code.
Repository: git://github.com/peter/server_config.git
Example
Server parameters are configured in a config/server.rb file:
(more…)
Tags: global server_param(, ror plugin, ruby on rails plugin, sensitive configuration, server passwords
Posted in ruby on rails | No Comments »
Tuesday, September 30th, 2008
HP Board of School Education | JBT CET 2008 Cut Off List can be find at india results:
(more…)
Tags: cutoff list, hp board, hp board jbt cet 2008, hp board jbt cet2008, HP Board of School Education, hpboard jbt2008, hpeducationboard, hpeducationboard cet cutoff, hpeducationboard cet2008, JBT CET
Posted in Education, Results | No Comments »
Monday, September 29th, 2008
(RRB Bhopal) Cat 18, ENN-01/2007, Trans Test Result has been declared and can be seen here:
India Results:
http://www5.indiaresults.com/Madhya_Pradesh/rrb/290908-RRB-Bhopal-Cat-18.htm
(more…)
Tags: (RRB Bhopal) Cat 18, CAT 18, ENN-01/2007, india results, indiaresult, mp result, RRB Bhopal, rrb bhopal result, rrb mp result, Trans Test Result
Posted in Results | No Comments »
Monday, September 29th, 2008
Most web applications have many more model objects exposed on the backend, or admin side, than they do on the front. Coding interfaces for all those models is redundant and a waste of resources when all you need is CRUD functionality that’s smart enough to handle all your ActiveRecord associations.
Enter the ActiveScaffold plugin. ActiveScaffold provides you with a wealth of dynamically created goodness:
(more…)
Tags: ActiveScaffold plugin, ajaxified table interface, CRUD functionality, ror plugin, ruby on rails plugin
Posted in ruby on rails | 1 Comment »
Sunday, September 28th, 2008
Acts As Authorizable is a part solution for providing pseudo-hierarchical role based authorizations on ActiveRecord model instances using your existing database table relationships. It is designed to eliminate the need for deep nesting controllers due to authorization. That being said, it is only part of a total authorization mechanism. Essentially it takes an authorized? call and passes it to the appropriate Role.allows? methods. You still have to define filters in controllers that call ActiveRecord models authorized? method and write the allows? method in your role class.
(more…)
Tags: ActiveRecord model, Acts As Authorizable, acts_as_authorized, authorization, role based authorizations, ror plugin, ruby on rails plugin
Posted in General | No Comments »
Sunday, September 28th, 2008
Today is World Heart day.The heart, though considered a seat of love, is in mechanical terms nothing more than a pump which has to beat 70 to 90 times a minute for nearly 70 to 90 years. If you don’t abuse your heart in your earlier years, it will be better able to withstand the greater rigours that aging puts on it. Healthy food, eating on time, exercise and having a positive attitude are the secrets to a happy heart.
(more…)
Tags: fibrerich diet, happy heart, heart, lifestyle
Posted in General | No Comments »
Friday, September 26th, 2008
If you want to maintain multiple domains/hostnames on your
machine you can setup VirtualHost containers for them.
At the end of my zone DB file (/var/named/example.com.db) added the following line:
(more…)
Tags: .htaccess, apache, domains, hostnames, httpd.conf, IP address, NameVirtualHost, RedirectMatch, ServerAlias, subdomain, VirtualHost, Wildcard DNS
Posted in Linux | No Comments »