Error before updating scaffolding from new db schema


04-Jan-2017 08:10

_Kevin Depends what you count as one line :-) def commify(v) (s=v.to_s;x=s.length;s).rjust(x (3-(x%3))).scan(/./).join(',').strip end Doesn't work for negative numbers, though, but it's quite fun...

This works, but is boring: v.to_s.reverse.gsub(/(\d)(? =\d)/x,'

_Kevin Depends what you count as one line :-) def commify(v) (s=v.to_s;x=s.length;s).rjust(x (3-(x%3))).scan(/./).join(',').strip end Doesn't work for negative numbers, though, but it's quite fun...This works, but is boring: v.to_s.reverse.gsub(/(\d)(? =\d)/x,'\1,').reverse I tried to mess with the regex, /./ to get it to ignore '.'s and stuff following it, but that breaks the neat slicing in three's ... So far, only the gsub approach works for floating point numbers ...So I deleted the depot_development database and then looked at the Locomotive video where I saw that it created a new database with an initial table by: sqlite3 depot_development You can ignore this question for my purposes, though it might be of general interest.I decided after seeing how SQLite datatype support worked that I would see if I could get My SQL working anyway. NET by Scott Hanselman OData Team WPF Platform Development Apps for Windows Bing Edge Microsoft Azure Office 365 Development Web Data Development SQL Server SQL Server Data Tools Document DB .

||

_Kevin Depends what you count as one line :-) def commify(v) (s=v.to_s;x=s.length;s).rjust(x (3-(x%3))).scan(/./).join(',').strip end Doesn't work for negative numbers, though, but it's quite fun...

This works, but is boring: v.to_s.reverse.gsub(/(\d)(? =\d)/x,'\1,').reverse I tried to mess with the regex, /./ to get it to ignore '.'s and stuff following it, but that breaks the neat slicing in three's ... So far, only the gsub approach works for floating point numbers ...

,').reverse I tried to mess with the regex, /./ to get it to ignore '.'s and stuff following it, but that breaks the neat slicing in three's ... So far, only the gsub approach works for floating point numbers ...

This PC program work with the following extensions: ".tvs", ".tip" and ".tls".

To my amazement, it came right up and did what I expected.



A 3D chat room is a 3D space integrated with different chat functions.… continue reading »


Read more

I briefly discussed some fallback plans during my Word Camp San Diego 2012 talk.… continue reading »


Read more