1
2
3
4
class Publication < ActiveRecord::Base

  def publisher_name
...

Ruby Similar virtual attributes ...

by foxdemon, November 20, 2008 13:42, 4 refactorings, tagged with getter, setter, virtual attributes

My Publication class has a ...

8fa97b9513b66cccc2db021782863b3b Talk
1
2
3
4
<table>
  <thead> <th colspan="2">Groups</th></thead>
  
...

Ruby Generating tables with a he...

by foxdemon, October 17, 2008 13:17, 1 refactoring, tagged with rails, table, helper method

I need to make tables to li...

8fa97b9513b66cccc2db021782863b3b Talk

Ruby On Constructing a search query

by foxdemon, July 08, 2008 07:15

Want to add rapid full-text...

8fa97b9513b66cccc2db021782863b3b Talk
1
2
3
4
def construct_search_query
    query = '*' 
    query << 'AND (' << params[:search_all] << ')' if params[:search_all] && params[:search_all].length > 3
...

Ruby Constructing a search query

by foxdemon, July 07, 2008 05:26, 6 refactorings, tagged with search, query, rails

I want to construct a searc...

8fa97b9513b66cccc2db021782863b3b Talk