Displaying 7 results from an estimated 7 matches for "luckybonza".
2006 Jun 22
1
acts_as_taggable gem problems
...#39; %></p>
<p><label for="issues_add_tags">Tags</label><br/>
<%= text_field ''tags'', '''' %></p>
<!--[eoform:issues]-->
My params[:tags] *are* getting populated correctly.
--
Craig Beck
http://www.luckybonza.com
AIM: kreiggers
2006 Jul 18
2
how to generate calculated db fields
...me it is accessed like
def slug
self.name.gsub /\W+/, ''-''
end
but it seems when I save my model to the db Page#slug does not get
called and so the slug does not get saved to the db (and therfore
remains ''null''). Any ideas? TIA
--
Craig Beck
http://www.luckybonza.com
AIM: kreiggers
2006 Jun 22
2
acts_as_taggable smakdown
Okay, so I just realized there seems to be two acts_as_taggable
modules, the gem and the plugin
1. which came first?
2. what''s the difference? (internals, not ones a gem and ones a plugin)
3. which one is better? ;-)
--
Craig Beck
http://www.luckybonza.com
AIM: kreiggers
2005 May 27
3
rake stats
I can''t believe i just found out about this. I''m curious to see what
the stats on other people''s projects look like. Here''s mine (8 hours
dev time):
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
2005 May 04
2
Setting up Rails server on non-standard environment
...nstall lighthttp and get that
running, and setup the subdomain to direct requests to the correct
port for the lighthttp server, but I''m not sure if this is the best
or only way to do things, or if there''s another way to set up Apache
to serve the app.
--
Craig Beck
http://luckybonza.com
AIM: Kreiggers
2005 May 10
58
A quick straw poll
How many of you are using Rails:
1. As the primary development tool at your Day Job
2. As a small part of your Day Job
3. Not using Rails in your Day Job, but are using Ruby
4. For OS/outside work/hobby
--
sam
http://www.magpiebrain.com/
2007 Feb 21
2
date helper bug?
I''ve found an issue when trying to use the time_ago_in_words and
distance_of_time_in_words from action view''s date_helper.rb
Using SQL Server, I have a datetime column that gets returned as:
"2007/02/21 09:54:00". When I pass this to time_ago_in_words (which
just passes on to distance_of_time_in_words) it miscalculates the
difference as "9 hours" (...um yeah,