1
2
3
class UserMailer < ActionMailer::Base 
  def signup_notification(user)
...

Ruby before_filter in model???

by Jeaf, April 21, 2008 11:19, 2 refactorings, tagged with Ruby on Rails

I have to call the setup_em...

99b003c2a01aa0dc3b0fe7c5d72f56a0 Talk
1
2
3
4
<table class="charge">
  <tr>
    <td colspan="100%" class="mainHeader"><%=@label.label%></td>
...

Ruby Iterating through a nested ...

by mwilliams, January 31, 2008 18:21, 2 refactorings, tagged with rails, view, table, hash, nested hash, iterator, iterate, ruby, Ruby on Rails

Good afternoon. I have a n...

4236ea6b84f4899b469e8edff4bf6d22 Talk
1
2
3
4
<%= stylesheet_link_tag 'style' %>
<%= stylesheet_link_tag site_short_name + "/stylesheet.css" %>

...

Ruby DRY up my forms!

by openid.aol.com/Zanoryt, January 30, 2008 05:36, 2 refactorings, tagged with formbuilder, Ruby on Rails, forms, dry form

Holy smokes! Maintaining th...

Ac1c51f25718910e4a6d19ee44b5d465 Talk
1
2
3
4
module ApplicationHelper
  def time_month(month)
    return Time.now.months_ago(month)
...

Ruby last_number_of_months

by netzdamon.myopenid.com, January 20, 2008 14:13, 6 refactorings, tagged with Ruby on Rails

Just wrote my first rails a...

70b86492b31e21b0748cc637a6b2f05a Talk
1
2
3
@a_to_z = Service.find(:all,:select=>'SUBSTR(name,1,1) AS letter',:group=>'SUBSTR(name,1,1)',:order=>'name').collect { |d| d.letter }

...

Ruby A to Z only linking to lett...

by aubergene, January 13, 2008 21:10, 1 refactoring, tagged with Ruby on Rails, rails, alphabet, a to z

I wanted A to Z anchor link...

B78453e586d294bcd297f8ec44ec3458 Talk
1
2
3
def filename
  self.uri.split('/').last
...

C# Get the Filename segment o...

by jwmittag, January 01, 2008 15:04, 9 refactorings, tagged with ruby, rails, Ruby on Rails, RoR, C#, CSharp, C-Sharp, .net, DotNET, asp.net, Scott Porad, Comparison

On his Blog "Progress vs. P...

4bae3f603d397647c273dfa49ef8050c Talk