papriwalprateek / kuesuto

Dq Entitize
0 stars 0 forks source link

space inside a property #1

Open vinayrajchoudhary opened 10 years ago

vinayrajchoudhary commented 10 years ago

if we give a space in property then while making the ui the attributes which are based on the property have the space and misread the id by making more id's depending on the number of spaces --- workaround is to underscore the tile_title before putting it into id helper that can be used later, now the problem is it cannot be called with bind-attr so later if models are made then by using computed property something can be done ---> Ember.Handlebars.helper('underscore', function(value, options) {

return new Ember.String.underscore(value); });

papriwalprateek commented 10 years ago

a quick question on this --- in UI mathematics analysis is coming as math_anlaysis ... Can that be solved?

On Sun, Jun 8, 2014 at 12:43 AM, Vinay Raj Choudhary < notifications@github.com> wrote:

if we give a space in property then while making the ui the attributes which are based on the property have the space and misread the id by making more id's depending on the number of spaces --- workaround is to underscore the tile_title before putting it into id helper that can be used later, now the problem is it cannot be called with bind-attr so later if models are made then by using computed property something can be done ---> Ember.Handlebars.helper('underscore', function(value, options) {

return new Ember.String.underscore(value); });

— Reply to this email directly or view it on GitHub https://github.com/papriwalprateek/kuesuto/issues/1.

Thanks and Regards Prateek Papriwal B.Tech, Electrical IIT Delhi

vinayrajchoudhary commented 10 years ago

That is the issue.... i found it while making new tab for under review ... for now we cannot have space in between the property .... but a workaround can be done that we show after replacing 's with space while we have in the database ----- but then we won't be able to have _ in the property any more --- but i dnt think that will be a big issue

On Sun, Jun 8, 2014 at 12:45 AM, Prateek Papriwal notifications@github.com wrote:

a quick question on this --- in UI mathematics analysis is coming as math_anlaysis ... Can that be solved?

On Sun, Jun 8, 2014 at 12:43 AM, Vinay Raj Choudhary < notifications@github.com> wrote:

if we give a space in property then while making the ui the attributes which are based on the property have the space and misread the id by making more id's depending on the number of spaces --- workaround is to underscore the tile_title before putting it into id helper that can be used later, now the problem is it cannot be called with bind-attr so later if models are made then by using computed property something can be done ---> Ember.Handlebars.helper('underscore', function(value, options) {

return new Ember.String.underscore(value); });

— Reply to this email directly or view it on GitHub https://github.com/papriwalprateek/kuesuto/issues/1.

Thanks and Regards Prateek Papriwal B.Tech, Electrical IIT Delhi

— Reply to this email directly or view it on GitHub https://github.com/papriwalprateek/kuesuto/issues/1#issuecomment-45418635 .

Thanks and regards, Vinay Raj Choudhary Senior Undergraduate Student Department of Electrical Engineering Indian Institute of Technology, Delhi Hauz Khas, New Delhi

vinayrajchoudhary commented 10 years ago

Resolved it temporarily but for now the CONVENTION is to NOT USE SPACE IN THE DATABASE AS NAME FOR ANY PROPERTY .. also capitalized the titles

papriwalprateek commented 10 years ago

I am giving access of this repository to sumit. Then he would be able to see this issue as well. On Jun 8, 2014 1:19 AM, "Vinay Raj Choudhary" notifications@github.com wrote:

Resolved it temporarily but for now the CONVENTION is to NOT USE SPACE IN THE DATABASE AS NAME FOR ANY PROPERTY .. also capitalized the titles

— Reply to this email directly or view it on GitHub https://github.com/papriwalprateek/kuesuto/issues/1#issuecomment-45419479 .