Permalink
Browse files

alright so ids need to be NSStrings

  • Loading branch information...
1 parent f3a9e40 commit 713fd32b21152f6076989ebc4b1f81006420bb09 @twoism committed Mar 6, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 generators/objectify/templates/model.h
@@ -23,7 +23,7 @@ end
<%- unless col.name == "id" -%>
<%=objc_type col.sql_type%> *<%= col.name.camelize(:lower) -%>;
<%- else -%>
- <%=objc_type col.sql_type%> *<%= file_name.camelize(:lower) -%>Id;
+ NSString *<%= file_name.camelize(:lower) -%>Id;
<%- end -%>
<% end %>
}

0 comments on commit 713fd32

Please sign in to comment.