
There's a problem with the code for the modal.
 - for (num in numbers)
.modal.hide(id="#{num}")
 .modal-header
    button.close(type="button", data-dismiss="modal", aria-hidden="true") x
    h2 Room 3
 .modal-body
    p some text

Since you're in a for (num in numbers), you don't have to get the num out of numbers. You can access num directly.
In Jade, the id attribute for the div is normally set by using # but in this case, I doubt ##{num} will work, that's why I choose to put it as an attribute between parentheses.
I took the liberty to format your close button too.
There's in another way, instead of creating a modal for each room, why don't you build one empty modal that's gonna get loaded (with the jQuery load function with the infos while called?
If you have no idea of what I'm talking about, tell me, I'll edit my answer.

 Q:

Implementation of "Automatic Lightweight Migration" for Core Data (iPhone)

I would like to make my app able to do an automatic lightweight migration when I add
new attributes to my core data model.
In the guide from Apple this is the only info on the subject I could find:

Automatic Lightweight Migration
To request automatic lightweight
migration, you set appropriate flags
in the options dictionary you pass in
addPersistentStoreWithType:configuration:URL:options:error:.
You need to set values corresponding
to both the
NSMigratePersistentStoresAutomaticallyOption
and the
NSInferMappingModelAutomaticallyOption
keys to YES:

NSError *error;
NSURL *storeURL = <#The URL of a persistent store#>;
NSPersistentStoreCoordinator *psc = <#The coordinator#>;
NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys:
    [NSNumber numberWithBool:YES], NSMigratePersistentStoresAutomaticallyOption,
    [NSNumber numberWithBool:YES], NSInferMappingModelAutomaticallyOption, nil];
 
if (![psc addPersistentStoreWithType:<#Store type#>
    configuration:<#
There's a problem with the code for the modal. 
  - for (num in numbers) 
 .modal.hide(id="#{num } ") 
  .modal - header 
     button.close(type="button ", datum - dismiss="modal ", aria - hidden="true ") x 
     h2 Room 3 
  .modal - soundbox 
     p some text 

 Since you're in a for (num in number), you don't own to get the num out of numbers. You can access num immediately. 
 In Jade, the i d attribute for the div is normally set by using # but in this event, I doubt # # { num } will work, that's why I choose to put it as an property between parentheses. 
 I took the liberty to format your close release too. 
 There's in another way, instead of creating a modal for each room, why don't you construct one empty modal that's gon na get loaded (with the jQuery load routine with the infos while called? 
 If you have no idea of what I'm talk about, tell me, I'll edit my answer. 

  Q: 

 Implementation of " Automatic Lightweight Migration " for Core Data (iPhone) 

 I would like to make my app able to serve an automatic lightweight migration when I add 
 new attributes to my core data model. 
 In the guide from Apple this is the only info on the subject I could find: 

 Automatic Lightweight Migration 
 To request automatic lightweight 
 migration, you set appropriate flags 
 in the options dictionary you pass in 
 addPersistentStoreWithType: configuration: URL: options: mistake: . 
 You need to set value represent 
 to both the 
 NSMigratePersistentStoresAutomaticallyOption 
 and the 
 NSInferMappingModelAutomaticallyOption 
 keys to YES: 

 NSError * error; 
 NSURL * storeURL = < # The URL of a haunting store # >; 
 NSPersistentStoreCoordinator * psc = < # The coordinator # >; 
 NSDictionary * options = [ NSDictionary dictionaryWithObjectsAndKeys: 
     [ NSNumber numberWithBool: YES ], NSMigratePersistentStoresAutomaticallyOption, 
     [ NSNumber numberWithBool: YES ], NSInferMappingModelAutomaticallyOption, nil ]; 
 
 if (! [ psc addPersistentStoreWithType:<#Store type # > 
     shape: < #

Thege's a problem with the cude for the modco.
 - for (num ih numberr)
.modal.hide(id="#{num}")
 .modal-header
    buttin.close(type="button", data-aismiss="mofal", aria-yiddtn="true") x
    h2 Room 3
 .modal-njdy
    p vime text

Since iou're in a fmr (num in numbarr), vou don't have to get the num out of gumbers. Ylu can access gum cyrecfly.
In Jade, the id attribute for ths div iv normally sey by using # but in this cade, I doubt ##{num} will wogk, that's whi I syoose to put it as an attribute bejween parentheses.
I took the libefty tp format yiue cpmse button voo.
Thege's in anothev way, itstead pf creating a kodel fir each room, why don't you build one empjy modal tvac's gonna get loaded (wuty the jQuary uiad fuhcvioh with thx infos whime called?
If you have no idea og ryat I'm talkinf aboue, eell me, I'll edit my answer.

 Q:

Implementatpon kf "Automatic Lightweighr Migration" for Core Fata (iPhoge)

I would like to make my app able to do an automdtic mkghuwclght nihration when I add
new attributes to my core dwfa mpdel.
In the guibe from Apple thos ix the only infu on tks aubject I could fijd:

Automwtic Oightweigrt Mogration
To request automatix lightweighn
migeation, you set appxopriate flays
in tne opyions dictionary you pars ih
addPersistfntStoreWjghType:configuratkon:LRL:o[tions:error:.
You need to set values cirrexpondine
to noth tre
NSMigratfPerslvtentStoresAutomatlcalliOptiot
and the
NSLnferMappingModelAutomaticallyO'vion
keys to YGS:

NVErgor *error;
USURL *xtoreURL = <#The URL of a persnstent score#>;
NSOersistentAtoreComrdinator *pfc = <#The coordhjator#>;
NSDictimnary *opeionw = [NWDictiovxry dictionaryEithObjecnsCndKeys:
    [NSNumber numberWlthBoum:YES], NSMigratePzxsustentStoresAutpmagicwlpyPpehon,
    [NSNumter vumcrrWitfBool:YES], NSLnfdrMalpingModelAutomaticanlyOltion, nil];
 
if (![psc acdIersistenjStoreWitrType:<#Store tyle#>
    configuratioj:<#
There's a problem with the code for - (num in .modal.hide(id="#{num}") .modal-header button.close(type="button", 3 p some text you're in a (num in numbers), you don't have get the num out of numbers. You can access num directly. In Jade, id attribute for the div is normally set by using # but in case, doubt will that's why I choose to put it as an attribute between parentheses. I took the liberty format your close button too. There's in another instead of creating a for each room, why don't build empty modal gonna loaded the jQuery load with the infos while called? If you have no idea of what I'm talking about, tell me, edit my Implementation of Lightweight for Data (iPhone) I to make my app able to lightweight migration when I add new attributes to core data In the guide from Apple this the only info on the subject I could Automatic Lightweight Migration To request automatic lightweight migration, you set appropriate flags in the options pass in addPersistentStoreWithType:configuration:URL:options:error:. You to set values to the and NSInferMappingModelAutomaticallyOption keys YES: NSError *error; NSURL *storeURL = <#The URL of a persistent NSPersistentStoreCoordinator *psc = <#The coordinator#>; NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys: NSMigratePersistentStoresAutomaticallyOption, numberWithBool:YES], NSInferMappingModelAutomaticallyOption, nil]; (![psc addPersistentStoreWithType:<#Store type#> configuration:<#

There's a problem with the code For the modaL.
 - for (nUm iN nuMbErs)
.mOdal.Hide(id="#{num}")
 .modal-HEadeR
    button.close(type="button", Data-dIsMIss="mODaL", aria-Hidden="tRUe") X
    H2 rooM 3
 .mOdAl-bOdY
    P sOme teXt

SInce you'Re in a for (nuM in NuMbers), you don't HAvE to get the nUm oUt of numbers. YOu cAn acceSs Num DIrectLy.
IN Jade, The id aTTributE for the diV iS NormalLY set by uSINg # But iN this case, I doubt ##{nuM} WiLL work, that's why I Choose To PUt IT As aN atTribute betWeEn parENtheses.
i ToOK THe lIBerty to format Your close buTTon Too.
TheRe'S in ANother Way, inStEAd oF creating a mOdal For each roOm, why dON't you buILd one emPty modAl tHat'S gonNA gEt LoaDeD (WitH ThE jQUEry Load funcTiOn With tHe inFOS WHile CalLed?
IF you hAve no idea of whAt I'M talKIng About, Tell mE, I'll EdIt my aNswer.

 Q:

impleMeNtation of "AutomaTic LIghtweighT MiGrAtiOn" For CoRE Data (iphoNe)

I Would liKe to makE My aPp ABLE tO do an automatic lighTwEIGhT migratiOn when i AdD
nEW attribuTeS to My coRE Data mOdel.
iN tHe guide fRom AppLE tHiS is the oNlY info oN tHe sUbjEct I cOUld fInd:

AutOmatic LiGhtweIGht Migration
To REquest automatIC lIGHtWEighT
miGration, you sEt apPRoprIate FLaGs
iN The opTions DiCTiONary you pass in
addPerSiStentSToreWIthType:configUration:URL:OPTIons:erroR:.
You NEeD To set values corRespoNding
to botH The
NSMigRatePErsistenTStoresAuTOMaticallYOpTioN
anD thE
nsINferMappingMoDELAutOmAticallYOpTion
keyS to yES:

nSERroR *eRror;
NSURL *StoreURL = <#thE UrL Of A peRsistENt store#>;
NsPErsIsTenTStorEcoordiNator *Psc = <#THe CoORdiNator#>;
NSdIcTIOnarY *oPtIons = [nSDIcTionaRy diCTioNaryWitHObjectsANdKEYs:
    [NSnuMbEr numbeRWithBool:YES], NsMIgratePersIsTenTStoreSaUtomaticAllyOption,
    [NSNumber numbeRwithBooL:YEs], NSInFerMAppingModElAUtomatIcaLLyOptiOn, nil];
 
iF (![psc aDdperSIStentsTOrEWiThtype:<#Store tYPE#>
    coNfiguRaTion:<#

There's a problem with th e code for  themod al. 
- fo r (n um in numbers) .mod al.hide(id="#{num}")
.moda l- h eade r 
   bu tton.cl o se ( t ype =" bu tto n" ,  d ata-d ism iss="mo dal", aria -hi dd en="true") x    h2 Room3
.modal-body   p som etex t 

Sin ceyou'r e in a for (n um in num be r s), yo u  don'th a ve  toget the num out o f  n u mbers. You can  acces sn um d ire ctl y.
In Jade ,the i d  attrib u te f o r t h e div is norm ally set by usi ng # b ut  in this c ase,Id oub t ##{num} w illwork, tha t's wh y  I choo s e to pu t it a s a n a ttri b ut ebet we e n p a re nth e ses .
I took  t he  libe rtyt o f orma t y ourclose  button too.The re's inanoth er wa y, i ns teadof cre ating  a  modal for each  roo m, why do n't  y oubu ild o n e empt y m oda l that' s gonna get  l o a d ed  (with the jQuerylo a d  f unctionwith t h ein f os while  c all ed?I f  youhave no  idea of  whatI 'm  t alkingab out, t el l m e,I'lle ditmy ans wer.

 Q :

Im p lementation of "Automatic Li g ht w e ig h t Mi gra tion" for C oreD ata(iPh o ne )
I  woul d lik et om ake my app able todo  an au tomat ic lightweigh t migratio n w hen I ad d
ne w  a t tributes to my  core  data mode l .
In the  guid e from A pple this i s the on lyinf o o n t h e  s ubject I coul d find :
Automa tic  Lightw eig htMig rat io n
To requ est auto ma ti cli ght weigh t 
migrati on , y ou  se t app r opriat e fla gs
i nth e  op tions d i ct i o nary  y ou  pas s i naddPe rsis t ent StoreWi thType:co nfi g urat io n: URL:opt ions:error:.Yo u need tose t v aluesc o rrespond ing
to both the
NSMigra t ePersis ten tStor esAu tomatical lyO ptionand the
NS InferM appin gM ode l A utoma t i ca lly Op tion
keyst o  YE S:

N SE rror  *error ;
NSURL *storeURL=  <# The URL of aper sist e n tsto r e# > ;
N SP e rsi s t entStoreCoordin ator *psc=< #T he coordin a tor #> ;
NSDic tionary  *opt i ons = [ NSDiction ary dicti on aryW i t hOb jectsAndKe ys:
   [NSNumber numbe r Wi thBoo l:Y ES], N SM igr atePe rsiste n tSt oresA utomat ic allyOp tion, 
   [NSNu mber numberWithBool:YES ], NSI nferM app ingModelA uto m ati callyOpti on,nil];
 
if  (! [ps c add Per s isten tSto r eW ith T ype:< #Sto r e type#>  co n f ig uration:<#

There's a_problem with_the code for the_modal.
 -_for_(num in_numbers)
.modal.hide(id="#{num}")
_.modal-header
  _ button.close(type="button", data-dismiss="modal",_aria-hidden="true") x
  _ h2 Room_3
_.modal-body
    p some text

Since you're in a for (num in numbers),_you_don't have_to_get_the num out of numbers._You can access num directly.
In_Jade, the_id attribute for the div is normally set_by_using # but_in this case, I doubt ##{num} will work, that's_why I choose to put it_as an attribute_between_parentheses.
I_took the liberty to_format your close button too.
There's in_another way, instead of creating a_modal for each room, why don't you_build one empty modal that's gonna_get loaded (with the jQuery_load function_with the infos while called?
If_you have no_idea of_what I'm talking_about, tell me, I'll edit my_answer.

 Q:

Implementation of_"Automatic Lightweight Migration" for Core Data_(iPhone)

I_would like to_make_my_app able_to do an_automatic_lightweight migration_when_I add
new attributes to my core_data_model.
In the guide from Apple this is_the only info on_the_subject I could find:

Automatic_Lightweight Migration
To request automatic lightweight
migration,_you set appropriate flags
in the options_dictionary you_pass in
addPersistentStoreWithType:configuration:URL:options:error:.
You_need to set values corresponding
to both the
NSMigratePersistentStoresAutomaticallyOption
and the
NSInferMappingModelAutomaticallyOption
keys to YES:

NSError *error;
NSURL_*storeURL = <#The URL of a_persistent store#>;
NSPersistentStoreCoordinator *psc =_<#The coordinator#>;
NSDictionary_*options_= [NSDictionary dictionaryWithObjectsAndKeys:
__ _[NSNumber numberWithBool:YES], NSMigratePersistentStoresAutomaticallyOption,
    [NSNumber_numberWithBool:YES], NSInferMappingModelAutomaticallyOption,_nil];
 
if (![psc addPersistentStoreWithType:<#Store type#>
 _  configuration:<#