root/trunk/CHANGELOG.txt

Revision 15 (checked in by dr_nic, 2 years ago)

'rp','rpc','rpl','rpo','rps' - <%= render :partial...%> variations - ticket 13

Line 
1 v0.2
2 Ruby templates cleaning
3 - HashPair given name 'hp'
4 - Removed '# =>' template
5 - Duplicated 'def' template with name 'deff' as 'def' won't autocomplete in Eclipse
6 - Removed 'Embedded code' template: #{${paste}} as it seems pointless
7 - Removed 'Hash pointer' template as seems pointless: ' => '
8 - 4 x log templates renamed with 4th letter matching their specific log type, e.g. 'loge' -> logger.error
9 - mcol - all deleted and renamed as per TextMate:
10   - mac -> migration add_column
11   - mrc -> migration remove_column
12   - mnc -> migration reName_column
13   - mcc -> migration table column
14   - mccc-> (preexist) multiple migration table columns
15 - mtab - all deleted and renamed as per TextMate:
16   - mct -> migration create table
17   - mdt -> migration drop table
18   - mnt -> migration reName table
19 - 'r' -> 'ro' (Read Only) for attr_reader, as 'r' isn't valid name for Content Assist
20 - 'w' -> 'wo' (Write Only)
21 - 'y' -> 'yields' for ' :yields #{arg}'
22 - Add parentheses to render calls, e.g. instead of: render :action => "index" generate: render(:action => "index")
23
24 New Ruby templates:
25 - 'asa' - assert(${var} = assigns(:${var}))
26 - 'asnnv' - assert_not_nil(${var} = assigns(:${var}))
27 - 'asrdt' - assert_redirected_to
28 - 'btf' - belongs_to with foreign_keys
29 - 'hmf' - has_many with foreign_keys
30 - 'hmt' - has_many :through - ticket #11
31 - 'hof' - has_one with foreign_keys
32
33 RHTML templates
34 - 'base' -> cleaned variable names
35 - 'body' -> std <body>...</body>
36 - 'bodyo' -> generates an onload attribute
37 - 'form' -> removed ${TM_XHTML}
38 - 'style' -> media attribute is now a variable: media="screen" --> media="${screen}"
39 - 'table' -> added cellpadding attribute
40 - Created 'erb' -> '<%= #{paste} %>'
41 - 'mailto' -> href and text have the same variable name 'email' so it automatically duplicates
42 - 'nbsp' -> '&nbsp;' (non-breaking space)
43 - 'movie' -> cleaned up the variables
44 - 'div' -> includes 'class' attribute
45 - 'div' -> div tag and end tag are variables, thus changeable
46
47 New RHTML templates:
48 - 'rp','rpc','rpl','rpo','rps' - <%= render :partial...%> variations - ticket 13
49
50 v0.1
51 - Initial drafts of ruby + rhtml generated from TextMate snippets
Note: See TracBrowser for help on using the browser.