search for: brasten

Displaying 5 results from an estimated 5 matches for "brasten".

2006 Feb 08
2
Extending Rails classes
...Say, adding a method to ActiveRecord::Base or something along those lines. I''ve read that those classes go in /lib, but my application doesn''t seem to see the changes I''ve made. Obviously I''m missing something... Any suggestions would be appreciated! -Brasten
2006 Jan 31
13
Acts_as_authenticated
Hello I have been trying a number of security/login generators recently. My favourite so far is the Acts_as_authenticated. I like the fact that it is only billed as a starting point and doesn''t try to do everything. I would like to add security roles to it, so that some of my controller actions can only be used by an admin role. Has anybody implemented this using
2006 Aug 18
1
How can I utilize this library within my Rails app?
How would I go about referencing the graphs that Scruffy generates within my Rails app? http://ibrasten.com/articles/2006/08/14/scruffy-0-2-0 Jim -- Posted via http://www.ruby-forum.com/.
2006 Nov 10
2
How to integrate Scruff Images
...ffy images on rails views. I find out how to go the easy and obvious way: Export image to a file and then bind the exported file on the view template. But I wonder if I cannot get scruffy images directly on my rails pages without exporting it to disk first. My approach with a simple example from Brastens page: I created this method in my views helper class: def generate_img() graph = Scruffy::Graph.new graph.title = "Comparative Agent Performance" graph.value_formatter = Scruffy::Formatters::Percentage.new(:precision => 0) graph.add :stacked do |stacked| stack...
2006 Jan 27
59
Why Macs instead of AMD or Intel ? Just curious
My first computer was a Mac (SE30) but it was also my last so I am not without appreciation of Apples wonderful aptitude for design. Without starting a flame-fest why do so many ruby and rails developers use a Mac ? It seems to be a commonality within the ruby and RoR community. Especially laptops. The first ruby users group meeting I attended was about 50% Macs (or so it seemed to me - I