Page 1 of 1
[07:52:12] codeho: when i use WickedPdf.new.pdf_from_string( render_to_string( :zoom => 1.5 …… it doesn't take the zoom attribute. it does however when i use the simple render through format. more details on the issue with code examples here: https://github.com/mileszs/wicked_pdf/issues/226
[09:13:56] codeho: question: i have a rake task that grabs a model, generates a PDF ticket for it and sends it out via actionmailer. this is for thousands of records. i'm using delayed_job so i can run it in batches on several parallel processes. - any objection on that?
[12:46:02] codeho: https://github.com/sporkd/mongoid-metastamp/blob/master/lib/mongoid/metastamp/time.rb
[12:47:09] codeho: just get the day of the week when you put the date into the db and put it into its own field
[12:49:50] codeho: atal421: or this one; http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=Agile+Development+With+Ruby+On+Rails
[12:51:20] codeho: atal421: haha.. well, but this is not really specific to rails. what your team needs is general pragmatic programming patterns
[12:52:15] codeho: atal421: in a team this makes sense anyways, because you want them to all write the same style code so its easy for everybody to get around.
[12:54:56] codeho: and for each piece of bad code they wrote which got found they had to contribute some code to an open source project.
[12:57:44] codeho: scyllinice: if they know that their code is being read by many others they're much more careful ;)
[10:47:59] codeho: anyone who has worked with activeadmin-axlsx ? i'm having troubles getting helper methods to work inside a column value set
[10:52:41] codeho: jeebster: i didn't read your whole thread, but is your problem that when you deploy with capistrano you don't get your env?
[10:57:03] codeho: jeebster: do these two lines, source .profile, rbenv install your ruby version then rehash
[11:02:28] codeho: arrowcircle: are you sure you don't' want self.table_name = "redditor_textblocks"
[11:05:05] codeho: codeho: arrowcircle: are you sure you don't' want self.table_name = "redditor_textblocks"\
[11:07:44] codeho: i'm pretty sure that it has to be textblock.rb and the table name redditor_textblocks
[15:48:42] codeho: Anyone know how i can create a separate log file only for action mailer? i've searched and nothing i found worked. so far i have: config.action_mailer.logger = Logger.new 'Action Mailer'
[15:50:30] codeho: mum its not creating a new log file. i also touched one, but its not writing to it
[10:58:57] codeho: anyone experienced with activeadmin-axlsx? its screwing with me, and i'm at the end of my googling..
[07:33:05] codeho: Quick question: i have a has_and_belongs_to_many relationship so i can access data like @user.workshops where i have a users_workshops table and a workshops table.. i now want to delete all entries in users_workshops for that current user instance. i've tried doing user.workshops.delete (and destroy) and then user.save but its not removing it.. any idea?
[12:29:13] codeho: Hey guys, i have a problem with relationships i can't seem to get my head wrapped around: http://pastie.org/7808324