Re: [Rails-core] Re: The state of mountable apps

2010-02-07 Thread Mikel Lindsaar
On Mon, Feb 8, 2010 at 9:09 AM, mike wrote: > Thanks for the info! > The new engine, router and rack stuff seems like a solid base! > > Again.. keep up the good work! :-) What you stumbled across is pretty much all in the lifo/docrails repository now. Watch out for more guides, we will be doing

Re: [Rails-core] Rails 3.0 beta not tagged on GitHub

2010-02-06 Thread Mikel Lindsaar
On Sun, Feb 7, 2010 at 3:08 AM, jnicklas wrote: > Was going to check something in the source regarding the Rails 3 beta, > but it's not tagged on GitHub. Would be awesome if someone could push > the tag. Generally release candidates are tagged, but the beta won't be. The current state of the bet

Re: [Rails-core] Action Mailer new DSL merged

2010-01-26 Thread Mikel Lindsaar
On Tue, Jan 26, 2010 at 6:09 PM, Jason King wrote: > I think he means in your blog post, you have samples like this: > > Notifier.signup_notification.deliver > def signup_notification(recipient) > > I was wondering the same thing, where is that recipient argument coming > from? Ahh... thanks, upd

Re: [Rails-core] Action Mailer new DSL merged

2010-01-25 Thread Mikel Lindsaar
2010/1/26 Nicolás Sanguinetti : > Nice. Thanks :) > I'm not sure I understand the new API though. You define instance > methods but call class methods? Also, what's that magic recipient > parameter we never pass in? Why not just define class methods? Eg: Class methods won't work unfortunately, t

[Rails-core] Action Mailer new DSL merged

2010-01-25 Thread Mikel Lindsaar
Hi all, Just letting you know we have a new DSL for Action Mailer. class Notifier < ActionMailer::Base delivers_from("sys...@example.com") def signup_notification(recipient) @account = recipient attachments['an-image.jp'] = File.read("an-image.jpg") attachments['terms.pdf'] = {:

Re: [Rails-core] Rails 3 and Gem Plugins

2010-01-21 Thread Mikel Lindsaar
On Thu, Jan 21, 2010 at 9:48 PM, Mikel Lindsaar wrote: > You can also look at the latest docs on railtie.rb that I just added at: > http://tinyurl.com/yc2545y > Having just re-read that again now, it needs much more work, for example it omits to mention that you need to require th

Re: [Rails-core] Rails 3 and Gem Plugins

2010-01-21 Thread Mikel Lindsaar
On Thu, Jan 21, 2010 at 1:52 AM, Mislav Marohnić wrote: > > I suggest you write a post on how Railtie subclasses look like, what they > can do and what are the options of hooking into the initializer other than > simply appending new initialization steps to the list. > You can also look at the lat

Re: [Rails-core] Community announcement: changelog entries

2010-01-19 Thread Mikel Lindsaar
On Tue, Jan 19, 2010 at 7:33 PM, Xavier Noria wrote: > On Tue, Jan 19, 2010 at 9:23 AM, Mikel Lindsaar > wrote: > > > Our friends at Engine Yard have retained my services to go through the > Rails > > documentation to get the new API documented for Rails 3.0. > > G

[Rails-core] Community announcement: changelog entries

2010-01-19 Thread Mikel Lindsaar
ad through what I have written to add / improve / fix anything that comes up. But it makes it a lot easier if the people doing API changing commits update the changelog as they go. Thanks Mikel Lindsaar http://lindsaar.net/ -- You received this message because you are subscribed to the Google Gr

Re: [Rails-core] Oracle temporary table support

2010-01-01 Thread Mikel Lindsaar
On Thu, Dec 31, 2009 at 1:57 PM, uncle_billy wrote: > somehow. Before I even bother doing that, I was hoping to get some > feedback - i.e. whether or not this will be shot down from the get- > go. The Oracle adapter is external to the rails code base now. I recommend you fork the rsim github c

Re: [Rails-core] Edge Actionpack Test failures: i18n & rack missing

2010-01-01 Thread Mikel Lindsaar
On Fri, Jan 1, 2010 at 4:48 PM, Ryan Bigg wrote: > Oops you did, my bad. Maybe it is not including rubygems, therefore not > looking for the i18n gem? > I had something like this on a pg dependancy - bad install of the pg gem. Found the handling was to delete the gem and cache versions of pg ou

[Rails-core] Mail now in ActionMailer

2009-12-29 Thread Mikel Lindsaar
OK everyone, so we finally have Mail merged into ActionMailer replacing out TMail This is for the 3.0 release, and not part of the 2.x tree. I am the TMail maintainer and I decided this year to write a ruby email handler, the Mail gem is my solution to this. Mail takes a very object oriented app

[Rails-core] ActionMailer with Mail - new version

2009-12-16 Thread Mikel Lindsaar
$ git clone git://github.com/mikel/rails.git $ cd rails/actionmailer $ gem install mail $ rake You should get 0 errors and 0 failures. This is tested on Ruby 1.8.6, 1.8.7, 1.9.1 and 1.9.1-head (1.9.2) Please feel free to test with your favourite ActionMailer rails app. The major changes from us

Re: [Rails-core] Re: ActionMailer with Mail gem - It is here

2009-11-25 Thread Mikel Lindsaar
On Wed, Nov 25, 2009 at 11:15 PM, James H. wrote: > Ask and ye shall receive. So, there are 10 failures on JRuby 1.4 and a > TONNE a warnings. You can see the full output here: > http://gist.github.com/242667 > Thanks for the tests :) A lot of the warnings actually come from the treetop parsers

Re: [Rails-core] ActionMailer with Mail gem - It is here

2009-11-24 Thread Mikel Lindsaar
On 25/11/2009, at 3:00, Chad Woolley wrote: > On Mon, Nov 23, 2009 at 4:29 PM, Mikel Lindsaar > wrote: >> So I just updated the mail gem to 1.3.0 and against my fork of >> actionmailer >> at github/mikel/rails, ActionMailer now passes all tests in MRI >

Re: [Rails-core] ActionMailer with Mail gem - It is here

2009-11-23 Thread Mikel Lindsaar
On Tue, Nov 24, 2009 at 1:15 AM, Ken Collins wrote: > > KUDOS! Hell yes! > Heh, thanks. So I just updated the mail gem to 1.3.0 and against my fork of actionmailer at github/mikel/rails, ActionMailer now passes all tests in MRI 1.8.6, 1.8.7 and 1.9.1 Mikel -- http://lindsaar.net/ Rails, RSpe

Re: [Rails-core] ActionMailer with Mail gem - It is here

2009-11-22 Thread Mikel Lindsaar
On Mon, Nov 23, 2009 at 10:17 AM, Chad Woolley wrote: > On Sun, Nov 22, 2009 at 5:48 AM, Mikel Lindsaar > wrote: > > So, I have integrated edge ActionMailer with the Mail gem, removing TMail > in > > the process. > > Currently, ActionMailer is running with 1

[Rails-core] ActionMailer with Mail gem - It is here

2009-11-22 Thread Mikel Lindsaar
So, I have integrated edge ActionMailer with the Mail gem, removing TMail in the process. Currently, ActionMailer is running with 131 tests, 309 assertions, 0 failures, 0 errors This is using ActionMailer from http://github.com/mikel/rails as well as the Mail gem version 1.2.8 But mail is throwi

[Rails-core] Re: 1.9 Compat and merging mail gem into ActionMailer

2009-10-31 Thread Mikel Lindsaar
On Sun, Nov 1, 2009 at 9:56 AM, Yehuda Katz wrote: > This sounds really cool. I'll take a careful look at it next week. Is there > anything specific you could use help with? > -- Yehuda I think the biggest "gotcha" on any mail library is the handling of multibyte character sets and encoding and

[Rails-core] 1.9 Compat and merging mail gem into ActionMailer

2009-10-31 Thread Mikel Lindsaar
Hi all of both RoR Core and TMail. You may know me better as the maintainer of TMail. However, TMail has been a bit difficult to get working with Ruby 1.9, so in the light of that, I sat down over the past few months and wrote myself an all encompasing mail gem. Mail passes all of its hundreds

[Rails-core] Re: Using Rails 2.1 timezone support with non-UTC database

2008-10-14 Thread Mikel Lindsaar
On Tue, Oct 14, 2008 at 11:54 AM, Nate Wiger <[EMAIL PROTECTED]> wrote: >> Actually, we're very close to having this working -- we'd just need to >> tweak TimeWithZone#to_s(:db) to report the time relative to the system >> local zone if config.active_record.default_timezone == :local. Unless I am