Skip to content
Browse files

typo

  • Loading branch information...
1 parent 34fcb90 commit 2bdbb9a90278451612bc86ad145afe73118c89c7 @twoism committed Mar 6, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 generators/objectify/templates/model.h
  2. +1 −1 generators/objectify/templates/model.m
View
2 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 %>
}
View
2 generators/objectify/templates/model.m
@@ -1,4 +1,4 @@
-#import "<%=file_name.camelize%>"
+#import "<%=file_name.camelize%>.h"
<%-
def do_synth mdl
file_name.camelize.constantize.columns.inject("") do |str,col|

0 comments on commit 2bdbb9a

Please sign in to comment.
Something went wrong with that request. Please try again.