Re: [rails-oceania] Skinny Controller, Fat Model ...

2011-02-23 Thread Bodaniel Jeanes
In the same sort of vein as MVC and keeping controllers skinny, have you guys read this blog post about applying DCI (data context interaction) to Rails MVC: http://andrzejonsoftware.blogspot.com/2011/02/dci-and-rails.html? I found it very interesting approach (especially for larger scale

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Bodaniel Jeanes
IMO it's worth considering how we can bring in more talent into our industry though. Not enough that we put ourselves out of the fortunate situation of being in-demand, but enough that the lag doesn't cause a major crash if/when companies have to abandon Rails because they can't find anyone to

Re: [rails-oceania] Re: Rails Contracting in London

2011-02-15 Thread Bodaniel Jeanes
@googlegroups.com. To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en. Bodaniel Jeanes mailto:m

Re: [rails-oceania] Re: Pruning attributes hash?

2011-02-08 Thread Bodaniel Jeanes
This is what I was going to say with the following addition: params.slice(MyModel.column_names) Ben Schwarz mailto:ben.schw...@gmail.com 8 February 2011 8:53 PM Hey Mike, You want the slice method: {:a = aye,

Re: [rails-oceania] Mail Merge with word templates

2011-02-01 Thread Bodaniel Jeanes
Michael, Depending on how complicated the documents are (visually), you might try using headless openoffice.org to make the changes. At Mocra, we actually built an entire app (with the idea to SaaSify it eventually) that took most common file formats and did mailmerge (using native mechanisms

Re: [rails-oceania] Mail Merge with word templates

2011-02-01 Thread Bodaniel Jeanes
fun piece of tech to experiment with (and test!) Josh Price wrote: On 02/02/2011, at 1:03 PM, Bodaniel Jeanes wrote: you might try using headless openoffice.org to make the changes. That sounds like an interesting approach. How does this work exactly? Josh -- You received this message

Re: [rails-oceania] Is save/save! synchronous?

2011-01-31 Thread Bodaniel Jeanes
Are you using MySQL? If so, the default setup will give you some woes if you try to do something like: transaction do task = Task.new(...) tasks = Task.all task.save Task.all # This will return the same as `tasks`, and won't include your new task end There is a way to change that

Re: [rails-oceania] Is save/save! synchronous?

2011-01-31 Thread Bodaniel Jeanes
Clarification from my last post: the reason that you might not see the new row even from WITHIN the same transaction is because the result of a query is essentially cached. I.e. if you took out the first Task.all count from my example, the second one WOULD include the new row. Daniel N wrote:

Re: [rails-oceania] iPhone browser simulators

2011-01-17 Thread Bodaniel Jeanes
Yes absolutely. Download the iPhone SDK and install it. It comes with the iOS Simulator an has a safari on it. You can emulate all the iOS devices Sent from my iPhone On 18/01/2011, at 8:08 AM, Adam adam.b...@gmail.com wrote: I was wondering what browser simulators people are using for

Re: [rails-oceania] iPhone browser simulators

2011-01-17 Thread Bodaniel Jeanes
Just use spotlight to open the simulator Sent from my iPhone On 18/01/2011, at 8:15 AM, Julio Cesar Ody julio...@gmail.com wrote: The emulator that comes with XCode is good, though it performs a lot faster than a real device would, so mind that. Just fire up XCode, create a new iPhone OS

Re: [rails-oceania] Are rails 3 specs really slow

2010-12-14 Thread Bodaniel Jeanes
I have the same problem. It also applies to Cucumber tests (at least in my case) and it's horribly frustrating. I remember trying to show the client some cucumber tests and waiting about 35 seconds before they started. It was actually pretty embarrassing!

Re: [rails-oceania] Business addresses

2010-12-05 Thread Bodaniel Jeanes
Depends on what you want, but that will return the address the business is registered at, not necessarily the address that customers might visit or post to when conducting business. Especially if a business has multiple locations. Sent from my iPhone On 05/12/2010, at 7:55 PM, Dmytrii Nagirniak

Re: [rails-oceania] Canonical accepted method for headless cucumber and capybara on Hudson?

2010-11-30 Thread Bodaniel Jeanes
2010 14:08, Bodaniel Jeanes m...@bjeanes.com wrote: Yeah, I've used Xvfb + Firefox running headless on an Ubuntu CI server quite a few times. It works really well. That article looks fairly thorough but feel free to ping me if you have issues. I've done this setup countless times. Cheers, Bo

Re: [rails-oceania] Canonical accepted method for headless cucumber and capybara on Hudson?

2010-11-29 Thread Bodaniel Jeanes
Yeah, I've used Xvfb + Firefox running headless on an Ubuntu CI server quite a few times. It works really well. That article looks fairly thorough but feel free to ping me if you have issues. I've done this setup countless times. Cheers, Bo On Tue, Nov 30, 2010 at 4:05 PM, Daryl Manning

Re: Recurring Payments (Was: [rails-oceania] Re: Suggestions for a good rails-based commerce package?)

2010-11-28 Thread Bodaniel Jeanes
I can't recommend payment express highly enough. We had a fantastic experience with them, and their support is on our time zone (new Zealand, actually) Sent from my iPhone On 29/11/2010, at 10:15 AM, Myles Eftos my...@madpilot.com.au wrote: Ok sorry, what I meant ask is what combination of

Re: [rails-oceania] Current Deployment OS of Choice

2010-11-26 Thread Bodaniel Jeanes
Mikel, I highly doubt anyone is running X or any GUI on their production servers. I assume you know that ubuntu comes in a server distro: http://www.ubuntu.com/server. I use ubuntu because apt package manager is just fantastic. Having a fantastic community around Ubuntu (and Debian) means

Re: [rails-oceania] Re: Fwd: [Fwd: Regulator warns Australia's finance industry on cloud risks]

2010-11-16 Thread Bodaniel Jeanes
Yeah I completely agree. This seems like a security thing not a omg all the money is going outside australia thing. I'd rather my important and private information with big Australian corporations weren't hosted in Singapore or elsewhere, to be honest... [image: Bodaniel Jeanes] *Bodaniel Jeanes

Re: [rails-oceania] Re: Fwd: [Fwd: Regulator warns Australia's finance industry on cloud risks]

2010-11-16 Thread Bodaniel Jeanes
Jeanes] *Bodaniel Jeanes* [image: LinkedIn] http://www.linkedin.com/in/bjeanes[image: Twitter] http://twitter.com/bjeanes[image: Tungle.me] http://tungle.me/bjeanes[image: Blog] http://bjeanes.com Whttp://bjeanes.com e...@bjeanes.comt+61412639224 [image: Google Talk] [image: MSN] [image: Google

Re: [rails-oceania] search engine friendly urls?

2010-11-01 Thread Bodaniel Jeanes
end end In order to find the products, you have to also change the controller so that instead of `Product.find(params[:id])`, you'd do something like ` Product.find_by_permalink(params[:id])` Cheers, Bo [image: Bodaniel Jeanes] *Bodaniel Jeanes* [image: LinkedIn] http://www.linkedin.com/in/bjeanes

Re: [rails-oceania] search engine friendly urls?

2010-11-01 Thread Bodaniel Jeanes
Hey that's nice! parameterize i think more or less does s/[^a-z0-9-]+/-/gi and maybe a few other things (like downcasing). Thanks for sharing that gem! [image: Bodaniel Jeanes] *Bodaniel Jeanes* [image: LinkedIn] http://www.linkedin.com/in/bjeanes[image: Twitter] http://twitter.com/bjeanes[image

Re: [rails-oceania] search engine friendly urls?

2010-11-01 Thread Bodaniel Jeanes
Scratch that. I just saw in the readme that they suggest using StringEx if you want that and gave an example of using both together. [image: Bodaniel Jeanes] *Bodaniel Jeanes* [image: LinkedIn] http://www.linkedin.com/in/bjeanes[image: Twitter] http://twitter.com/bjeanes[image: Tungle.me] http

Re: [rails-oceania] Re: Rails Rumble Entry - desksnear.me

2010-10-23 Thread Bodaniel Jeanes
with only a few 3s, but the general average vote is about 2.5 -- I assume it's similar for some of the other entries). Cheers, Bo [image: Bodaniel Jeanes] *Bodaniel Jeanes* [image: LinkedIn] http://www.linkedin.com/in/bjeanes[image: Twitter] http://twitter.com/bjeanes[image: Tungle.me] http://tungle.me

Re: [rails-oceania] Arel joins

2010-10-21 Thread Bodaniel Jeanes
it in the conditions as a sub-query... maybe. Bo [image: Bodaniel Jeanes] *Bodaniel Jeanes* [image: LinkedIn] http://www.linkedin.com/in/bjeanes[image: Twitter] http://twitter.com/bjeanes[image: Tungle.me] http://tungle.me/bjeanes[image: Blog] http://bjeanes.com Whttp://bjeanes.com e

Re: [rails-oceania] Strange deadlocks in Ruby 1.9.2/Cucumber/Capybara

2010-10-07 Thread Bodaniel Jeanes
have 3 apps I'm working on right now, all with Rails 3, Ruby 1.9.2, and all tested with Cucumber/Capybara and I've not experienced this problem once. FWIW I am using Cucumber 0.8.5, no webrick, postgres 8.4.1, and no webrick Bo [image: Bodaniel Jeanes] *Bodaniel Jeanes* [image: LinkedIn] http

Re: [rails-oceania] [JOB] Ruby/Rails Developer

2010-09-28 Thread Bodaniel Jeanes
Don't start this again please. Also, everything but remuneration was given, if you read carefully Sent from my iPhone On 29/09/2010, at 2:22 PM, Ryan Bigg radarliste...@gmail.com wrote: Full-time, part-time, casual? Remuneration? Location? More details please. On 29 September 2010 12:46,

Re: [rails-oceania] Re: Tracking unique visitors

2010-09-27 Thread Bodaniel Jeanes
looking into ways to build site metrics and would like to check them out. (I have googled for them, just wanted to make sure I wasn't missing anything particularly useful). Cheers, Nicholas On Sep 23, 10:08 am, Bodaniel Jeanes m...@bjeanes.com wrote: Joshua, You can track custom

Re: [rails-oceania] Tracking unique visitors

2010-09-24 Thread Bodaniel Jeanes
Joshua, You can track custom metrics like subdomains. There are also jquery analytics plugins that help you track virtual clicks (like Ajax) Sent from my iPhone On 23/09/2010, at 10:07 AM, Joshua Partogi jpart...@scrum8.com wrote: Hi Keith, Thanks for that. I had a thought of that, but

[rails-oceania] Selector-Free Cucumber Scenarios

2010-09-19 Thread Bodaniel Jeanes
easily (with some code). I'd love your feedback and I'm sure plenty of you have similar solutions to this or similar problems. http://bjeanes.com/2010/09/19/selector-free-cucumber-scenarios -- [image: Bodaniel Jeanes] *Bodaniel Jeanes* [image: LinkedIn] http://www.linkedin.com/in/bjeanes[image

Re: [rails-oceania] One more Ruby rumble team

2010-09-15 Thread Bodaniel Jeanes
. To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.comrails-oceania%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en. -- [image: Bodaniel Jeanes] *Bodaniel Jeanes* [image: LinkedIn] http

Re: [rails-oceania] Another Rails Rumble Team

2010-09-11 Thread Bodaniel Jeanes
Do you already have an idea? Sent from my iPhone On 12/09/2010, at 9:10 AM, Warren Seen warren.s...@gmail.com wrote: Thanks for posting this Mikel. I should point out that we're a distributed team, so if anyone else wants to join us, it doesn't matter if they're not in Adelaide. :D On

Re: [rails-oceania] Another Rails Rumble Team

2010-09-11 Thread Bodaniel Jeanes
. On 12/09/2010, at 9:12 AM, Bodaniel Jeanes wrote: Do you already have an idea? Sent from my iPhone On 12/09/2010, at 9:10 AM, Warren Seen warren.s...@gmail.com wrote: Thanks for posting this Mikel. I should point out that we're a distributed team, so if anyone else wants to join us, it doesn't

Re: [rails-oceania] [JOB] 1x Mid-Snr Rails developer with Sentia working on Kazaa.com

2010-09-02 Thread Bodaniel Jeanes
I read it as mid to senior. I.e. A range Sent from my iPhone On 02/09/2010, at 10:40 PM, Korny Sietsma ko...@sietsma.com wrote: what does mid-senior mean? I guess it means $75k... - Korny On Thu, Sep 2, 2010 at 5:29 PM, Michael Cindric mirko.cind...@gmail.comwrote: Description You will be

Re: [rails-oceania] Where's the old rails guide?

2010-08-31 Thread Bodaniel Jeanes
No it wasn't. I've been seeing rail3 guides there since yesterday afternoon. Perhaps it was cached for you. Josh, the guides are on github as a repo (probably called rails-guides or sonething) Sent from my iPhone On 31/08/2010, at 10:12 PM, Matt matt...@gmail.com wrote: It was at

Re: [rails-oceania] Eden - A source code formatter for Ruby

2010-08-23 Thread Bodaniel Jeanes
Can it be extended for other languages? Sent from my iPhone On 24/08/2010, at 11:18 AM, Jason Langenauer jlangena...@gmail.com wrote: Hi all, I've just pushed the first version of a gem I've written: Eden, a source-code formatter for Ruby. It's based on a robust lexical analyser which can

Re: [rails-oceania] How does the new Google images work?

2010-08-18 Thread Bodaniel Jeanes
And once again we have reason to wonder why the frak CSS is missing a parent selector... Sent from my iPhone On 18/08/2010, at 11:02 PM, Mike Bailey m...@bailey.net.au wrote: That would be simpler *but* I'm wanting to display some text above and below the image when they hover. Hover over a

Re: [rails-oceania] HTML/CSS to PDF conversion?

2010-04-28 Thread Bodaniel Jeanes
Prince is quite definitely the way to go. Extremely robust and supports really handy CSS3 features which let you do things like add headers and rooters to every page and customise how page nbers are shown. Sent from my iPhone On 28/04/2010, at 6:29, David Parry david.pa...@suranyami.com

Re: [rails-oceania] Re: HTML/CSS to PDF conversion?

2010-04-28 Thread Bodaniel Jeanes
) and there are plugins out there for doing the conversions for you. Search github for Acts_as_flying_saucer In essence, Its Prince PDf without the 4k price tag cheers.. Abe On Apr 28, 5:00 pm, Bodaniel Jeanes m...@bjeanes.com wrote: Prince is quite definitely the way to go. Extremely robust and supports

Re: [rails-oceania] HTML/CSS to PDF conversion?

2010-04-28 Thread Bodaniel Jeanes
Well said matt. Prince is expensive but worth every cent. It is a really good piece of kit and if your app uses it and earns money so should those guys. Sent from my iPhone On 28/04/2010, at 22:37, Matt Allen matt.al...@gmail.com wrote: On Wed, Apr 28, 2010 at 2:42 PM, Kirill

Re: [rails-oceania] On-site Ruby Courses

2010-04-27 Thread Bodaniel Jeanes
Mocra runs training courses. http://training.mocra.com for info. We might consider running workshops in other cities too. We have also done training specifically for teams on site as far as in Hong Kong and Europe Feel free to add us to that list and get in contact with us for those are

Re: [rails-oceania] bundler in production

2010-04-27 Thread Bodaniel Jeanes
Agreed, but I make their home folder somewhere else: /srv/http/ appname.com for example. Sent from my iPhone On 27/04/2010, at 14:17, Ben Hoskings b...@hoskings.net wrote: On 27 April 2010 22:07, Mike Bailey m...@bailey.net.au wrote: Hi all, by default, bundler puts gems in ~/.bundle. While

Re: [rails-oceania] The Great Debate

2010-04-21 Thread Bodaniel Jeanes
Love this idea. Would love to do the haml debate if it hasn't happened by the time I get back from Europe. I could run for either side. One interesting idea is to encourage people to play devils advocate and not just fight for their legitimate opinions. We might learn something. On Wednesday,

Re: [rails-oceania] Re: Hack nights, meet-ups and conferences @ home... interested?

2010-03-11 Thread Bodaniel Jeanes
Chris, this sounds like a great idea. In Brisbane we have monthly group hack sessions that we call ActionHack and it works well. A virtual version might be nice to try as well. If it weren't for me going to Europe next week I'd definitely participate, but if it takes off count me in for some

Re: [rails-oceania] [Question] Form submission problem with utf-8 character set

2010-03-01 Thread Bodaniel Jeanes
We had this exact issue about 6 months ago. Ryan (Bigg) do you remember what we ended up doing? On Tue, Mar 2, 2010 at 11:53 AM, David sincheol@gmail.com wrote: Hi all, I'm new to this forum and I'm not sure I am allowed to ask you this kind of question here. Let me know if this is a

Re: [rails-oceania] Re: Certification and training courses

2010-02-22 Thread Bodaniel Jeanes
I think I was the only one to say anything other than 'certification is useless'.  My point was that it's useless to the existing Ruby community, but a newcomer to the language could use certification materials as a guide to self-study (like I once did back in my Java days). This was my aim

Re: [rails-oceania] Re: Certification and training courses

2010-02-21 Thread Bodaniel Jeanes
I agree that certification is a fairly unimpressive thing to have on your resume as someone who would hire a Ruby developer. However, being that we want to get more people into the community, a community-built certification program might be the right approach. The benefit here isn't increased

Re: [rails-oceania] Re: Vim for Rails Developers screencast

2010-02-04 Thread Bodaniel Jeanes
I've consistently found Synergy painfully buggy on OS X, though. Teleport just works, and excellently. However, Synergy does allow cross-platform pairing -- but that's not a requirement for us since we all use macs. Bo On Fri, Feb 5, 2010 at 4:15 PM, Mark Wotton mwot...@gmail.com wrote: Another

Re: [rails-oceania] Re: AASM slides

2010-01-29 Thread Bodaniel Jeanes
AASM had features missing from SM that you needed). Bo On Fri, Jan 29, 2010 at 9:34 PM, Keith Pitt m...@keithpitt.com wrote: I didn't think StateMachine used in Rails 3 had been back backported to 2.x? On Jan 29, 8:11 am, Bodaniel Jeanes m...@bjeanes.com wrote: Out of curiosity, why

Re: [rails-oceania] Using OAuth and Authlogic with Google Apps Premier for app login

2010-01-10 Thread Bodaniel Jeanes
, Bodaniel Jeanes m...@bjeanes.com wrote: Apparently, the *response* to the request documented in that page contains your token and secret. On Mon, Jan 11, 2010 at 4:16 PM, Daniel N has@gmail.com wrote: If you're not too fixed on authlogic you might try this one: http://github.com/roman

Re: [rails-oceania] Don't use Capistrano 2.5.11

2010-01-04 Thread Bodaniel Jeanes
Oh wow that's pretty serious. Thanks for the heads up Mike! Bo On Tue, Jan 5, 2010 at 11:16 AM, Mike Bailey m...@bailey.net.au wrote: It looks like the new version of Capistrano is broken. I've not confirmed this for myself but it looks like 'cap deploy' now deletes the most recent release.

Re: [rails-oceania] require File.join(File.dirname(__FILE__), 'foo')

2009-12-22 Thread Bodaniel Jeanes
Huh? You do get the full path when you call `caller`. e.g.: [/Library/Ruby/Gems/1.8/gems/cucumber-0.4.3/bin/../lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec', /Library/Ruby/Gems/1.8/gems/cucumber-0.4.3/bin/../lib/cucumber/core_ext/instance_exec.rb:48:in `cucumber_instance_exec',

Re: [rails-oceania] require File.join(File.dirname(__FILE__), 'foo')

2009-12-22 Thread Bodaniel Jeanes
] caller_dir = File.dirname caller_file paths.flatten.each do |path| $:.unshift File.expand_path(File.join(caller_dir, path)) end end end If we could bung this in site_ruby or a gem, it might be something ... On Wed, Dec 23, 2009 at 11:15 AM, Bodaniel Jeanes m...@bjeanes.com

Re: [rails-oceania] require File.join(File.dirname(__FILE__), 'foo')

2009-12-22 Thread Bodaniel Jeanes
Yeah, nor do I but willing to hear out David's ideas. Some of the best things in life are things you didn't think you needed so you never know. I always liked _why's patch for file loading. Unfortunately i don't hink all of string should have / defined like that. There needs to be a subclass

Re: [rails-oceania] require File.join(File.dirname(__FILE__), 'foo')

2009-12-22 Thread Bodaniel Jeanes
You should be able to override it by simply defining Kernel#require On Wed, Dec 23, 2009 at 12:04 PM, Andrew Grimm andrew.j.gr...@gmail.comwrote: I think it may be possible to change require. Doesn't rubygems monkeypatch require, possibly using alias? Andrew On Wed, Dec 23, 2009 at 12:39

Re: [rails-oceania] require File.join(File.dirname(__FILE__), 'foo')

2009-12-22 Thread Bodaniel Jeanes
I spent days trying to find other unary methods (working my way up the number pad with shift held down etc) and didn't have much luck. But I did find somethign which to me seemed like a bit of a bug: Here I discovered unary methods: http://gist.github.com/92446 And here I gave up in frustration

Re: [rails-oceania] require File.join(File.dirname(__FILE__), 'foo')

2009-12-22 Thread Bodaniel Jeanes
It's not really a bug I don't think, in that it's surely intentional. Thing is '~' is unlike the other unaries ('+' and '-') in that there is no binary form, and so ruby lets you define it with either '~' or '~@'. Same thing with '!' in ruby 1.9, where it is also a unary. I am not sure

Re: [rails-oceania] require File.join(File.dirname(__FILE__), 'foo')

2009-12-22 Thread Bodaniel Jeanes
with this topic divergence :) Bo On Wed, Dec 23, 2009 at 4:56 PM, George george.og...@gmail.com wrote: On Wed, Dec 23, 2009 at 1:27 AM, Bodaniel Jeanes m...@bjeanes.com wrote: As for why no binary form, I figure it's just that with no built-in binary '~' defined on a core class, and no history

Re: [rails-oceania] Weekend Coding Brunches...

2009-12-09 Thread Bodaniel Jeanes
I will definitely be up for that. (Brisbane though) On Thu, Dec 10, 2009 at 10:26 AM, Andrew Grimm andrew.j.gr...@gmail.comwrote: I really liked the jelly last year the Friday before Christmas. I wasn't actually working that day, so I was free to play achievement unlocked. Andrew On Thu,

Re: [rails-oceania] Re: Fish Shell

2009-12-03 Thread Bodaniel Jeanes
work more quickly and robustly. For more on fish's tenets readhttp:// fishshell.org/user_doc/design.html On Tue, Dec 1, 2009 at 10:07 AM, Bodaniel Jeanes m...@bjeanes.com wrote: To actually be helpful, here are some of the features that make me love Fish (yes you can get

Re: [rails-oceania] Fish Shell

2009-12-01 Thread Bodaniel Jeanes
in fish aren't just for prettiness; they're a considered, legitimate feature which help you work more quickly and robustly. For more on fish's tenets read http://fishshell.org/user_doc/design.html On Tue, Dec 1, 2009 at 10:07 AM, Bodaniel Jeanes m...@bjeanes.com wrote: To actually

Re: [rails-oceania] Fish Shell

2009-12-01 Thread Bodaniel Jeanes
at 8:35 AM, Bodaniel Jeanes m...@bjeanes.com wrote: git reset 'HEAD^' also works or you could do 'git reset HEAD~1' but yes that bothered me at first too. For those that don't know ^ is the stderr redirection character. Instead of having ugly 21/dev/null or whatever it is, you just do

Re: [rails-oceania] Fish Shell

2009-12-01 Thread Bodaniel Jeanes
Yeah I can't stand that. I'm all for neatness but replacing 2 with ^ is a perfect example of a change for change's sake, I think. And it breaks the usage in git which makes it worse. I completely disagree. That's a great example of a change for usability's sake. , , ^ is a consistent way of

Re: [rails-oceania] Fish Shell

2009-12-01 Thread Bodaniel Jeanes
like ^ is much more approachable and comprehendible without that extra context. That, imo, is what usable and intuitive software is about -- needing as little context as possible. Bo On Wed, Dec 2, 2009 at 3:06 PM, Nathan de Vries nat...@atnan.com wrote: On 02/12/2009, at 3:30 PM, Bodaniel Jeanes

Re: [rails-oceania] Fish Shell

2009-12-01 Thread Bodaniel Jeanes
, Pat Allan p...@freelancing-gods.com wrote: Standards and such aside - I don't actually see how ^ is any more intuitive than 2. -- Pat On 02/12/2009, at 5:30 PM, Bodaniel Jeanes wrote: Well, yes, I understand the context and reason for 2, doesn't mean it's the ideal from a usability

Re: [rails-oceania] Fish Shell

2009-11-30 Thread Bodaniel Jeanes
a nicer scripting language, autocompletion and a sprinkling of colour Not to say that this is all there is, but why is that not a good reason to use fish? Is there something you are *missing* from other shells? -- You received this message because you are subscribed to the Google Groups Ruby

Re: [rails-oceania] Fish Shell

2009-11-30 Thread Bodaniel Jeanes
To actually be helpful, here are some of the features that make me love Fish (yes you can get some of these with config in other shells, but this is all out of the box): * Directories are executable (type in it's name, and it will CD to it automatically) ** Combine this with $CDPATH and I can

[rails-oceania] Re: migration cleanups

2009-11-10 Thread Bodaniel Jeanes
We move all of our old out of the way into an archive folder and rely on db schema or sql dumps for new staff. Perhaps rails should come with a rake task such as rake db:migrate:archive that will replace all existing ones with combined starting point which is a schema load. Could be handy...

[rails-oceania] Re: migration cleanups

2009-11-10 Thread Bodaniel Jeanes
Which is why I don't see a reason to get rid of them/roll them up - you db:schema:load, the migrate from there as needed. No reason to actually delete/move stuff Yup that's what I do anyway. If it's a new project, schema load, then start migrating any differences from then on

[rails-oceania] Re: [railscamp] Are all the bunks singles?

2009-10-16 Thread Bodaniel Jeanes
the jacuzzi better have working bubbles or there'll be trouble! On Fri, Oct 16, 2009 at 5:35 PM, Tim Lucas t.lu...@toolmantim.com wrote: On 16/10/2009, at 5:44 PM, Bodaniel Jeanes m...@bjeanes.com wrote: No -- really don't want to camp. I'd rather separate bunks in separate rooms -- I am

[rails-oceania] Re: Are all the bunks singles?

2009-10-16 Thread Bodaniel Jeanes
, David Lee deathtoallfanat...@gmail.comwrote: While we're on a tangentially related topic ... would there be any point my bringing a wii guitar hero drum kit? On Fri, Oct 16, 2009 at 6:38 PM, Bodaniel Jeanes m...@bjeanes.com wrote: the jacuzzi better have working bubbles

[rails-oceania] Re: A new guy says Hello! :)

2009-10-15 Thread Bodaniel Jeanes
Freshlog looks nice. I am too partial to Skitch though ... does freshlog have documentation for the API that needs implementation for support. I am thinking if you can choose one of the site types but enter a different URL and have your own set up emulate the other site, it could be pretty cool. I

[rails-oceania] Re: [railscamp] Are all the bunks singles?

2009-10-15 Thread Bodaniel Jeanes
4th option? Also don't want to lug my huge tent on plane -- already planning on bringing my guitar On Fri, Oct 16, 2009 at 3:42 PM, Ryan Bigg radarliste...@gmail.com wrote: Surely there is a large grassy expanse where you may set up a tent. Surely! 2009/10/16 Bodaniel Jeanes m...@bjeanes.com

[rails-oceania] Re: 40 sleeps to go until railscamp! Have you got a ticket?

2009-10-09 Thread Bodaniel Jeanes
Awesome -- How many tickets have been sold? On Sat, Oct 10, 2009 at 1:45 PM, Ben Schwarz ben.schw...@gmail.com wrote: Numbers wise, this railscamp is already going to be the biggest one yet. So make sure snaffle yourself a ticket. We have some exciting announcements for the camp also, but

[rails-oceania] Re: What are my options in regards to a payment gateway in aussie.

2009-10-07 Thread Bodaniel Jeanes
http://paymentexpress.com.au hands down. They are a NZ-based company and have presences in most major countries and deal with every currency you'll likely need. On Thu, Oct 8, 2009 at 3:10 PM, Steve Hoeksema st...@seven.net.nz wrote: http://www.paymate.com/cms/index.php/au-services/46 I have

[rails-oceania] Re: Babushka: website + screencast online

2009-09-30 Thread Bodaniel Jeanes
The most elegant way to turn your system from what it is, to what you want it to be On Thu, Oct 1, 2009 at 1:09 PM, Ben Hoskings b...@hoskings.net wrote: On 01/10/2009, at 12:25 PM, Ben Schwarz wrote: Ben, one small criticism of your web site: You need a one liner that somewhat

[rails-oceania] Re: Ruby/Rails job

2009-09-23 Thread Bodaniel Jeanes
It might help to mention that the job is in Sydney (I am guessing, anyway) On Wed, Sep 23, 2009 at 2:51 PM, Julio Cesar Ody julio...@gmail.com wrote: Gents/ladies, the company that I work for (www.incite.com) is looking for a Ruby/Rails guy, savvy enough to work on front-end (Javascript,

[rails-oceania] Re: hosting providers

2009-09-22 Thread Bodaniel Jeanes
Rackspace is another one to explore - Rackspace http://rackspace.com/ http://rackspace.com/That's where GitHub is moving to *from* EngineYard. On Tue, Sep 22, 2009 at 8:15 PM, Marty Andrews ma...@cogentconsulting.com.au wrote: I'm sure I've seen this conversation before, but a quick search of

[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-16 Thread Bodaniel Jeanes
I hope that it isn't something like the gem using a guess on mac as to 'site_ruby' and macports is being circumvented. Anecdotal evidence from others using ruby 1.9.1 is that it's only me... What does `gem env` output? --~--~-~--~~~---~--~~ You received this

[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
: Interesting point... Are you running ruby 1.9.1/hpricot 64bit? -Adam On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote: One thing to consider is that the ruby 1.8.7 that comes with 10.6 is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem install picked up on some incorrect env variables

[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
if it's relevant, but for Snow Leopard I installed mysql, pg and do_sqlite3 gems configured for 64bit like so: sudo env ARCHFLAGS=-arch x86_64 gem install mysql -- Pat On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote: I'm still running 187 but i have 191 installed (from source). I just

[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
-Adam On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote: using stock ruby you definitely want to be doing that, he is using macports ruby 1.9 which based on his `ruby -v` output is 32-bit so he should in fact ensure that he is compiling the extensions as 32-bit On Tue, Sep 15, 2009 at 8:21

[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
bet it is and perhaps you should be force-compiling Hpricot as 64-bit instead... On Wed, Sep 16, 2009 at 2:12 PM, Bodaniel Jeanes m...@bjeanes.com wrote: Sorry .. what about the following constants: Object.constants.grep /RUBY/ = [RUBY_DESCRIPTION, RUBY_VERSION, RUBY_COPYRIGHT, RUBY_FRAMEWORK

[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
irb and see if that yields better results (`man arch` for more info) On Wed, Sep 16, 2009 at 2:30 PM, Ian Leitch port...@gmail.com wrote: ~ $ irb irb(main):001:0 Config::CONFIG['CFLAGS'] = -O2 -arch x86_64 -fno-common -pipe -fno-common irb(main):002:0 2009/9/16 Bodaniel Jeanes m

[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
Firstly, wow cutting edge hardware! 'arch -x86_75 irb' Sorry. Typing fast ftl ;) Second, Protip: require 'rbconfig' Strange, I didn't have to do that but might be something specific to 10.6 stock Ruby Config::CONFIG['CFLAGS'] = -O2 -arch x86_64 -O2 -g -Wall -Wno-parentheses

[rails-oceania] Re: Average salary for Rails developer down under?

2009-09-14 Thread Bodaniel Jeanes
Yes. On Tue, Sep 15, 2009 at 3:20 PM, Glen Maddern glenmadd...@gmail.com wrote: Must everything come down to a drinking contest? -glen. p.s. yes. On Tue, Sep 15, 2009 at 3:13 PM, Matt Allen matt.al...@gmail.com wrote: On Tue, Sep 15, 2009 at 1:47 PM, Lachie lach...@gmail.com wrote:

[rails-oceania] Re: fish and rvm

2009-09-13 Thread Bodaniel Jeanes
it - in the form $ RAILS_ENV=test rake db:migrate as distinct from $ export RAILS_ENV=test; rake db:migrate which sets the environment persistently. Is this a helpful train of thought? cheers, DL On Thu, Sep 10, 2009 at 5:56 PM, Bodaniel Jeanes m...@bjeanes.com wrote

[rails-oceania] Re: colour coding ruby in presentations?

2009-09-13 Thread Bodaniel Jeanes
handy, but that's not for linux... which, it seems, is what sonia is using On Mon, Sep 14, 2009 at 9:35 AM, Mike Bailey m...@bailey.net.au wrote: Here's how I do it using Textmate and Keynote. http://mike.bailey.net.au/blog/?cat=5 - Mike On Sun, Sep 13, 2009 at 9:43 PM, Sonia Hamilton

[rails-oceania] Re: fish and rvm

2009-09-09 Thread Bodaniel Jeanes
can't say very much. On Sep 2, 2:35 pm, Chris Lloyd christopher.ll...@gmail.com wrote: Use Python. *ducks* 2009/9/2 Bodaniel Jeanes m...@bjeanes.com r similar, it becomes a nightmare to ensure fish users get all the benefit. I can see why the script isn't written in ruby (since

[rails-oceania] Re: fish and rvm

2009-09-09 Thread Bodaniel Jeanes
that) On Thu, Sep 10, 2009 at 11:37 AM, Bodaniel Jeanes m...@bjeanes.com wrote: I didn't get time to hax on this unfortunately but I did ponder it. One thing I realised is that, unlike other shells, fish runs a daemon in the background for sharing global state and information. As such, RVM COULD actually

[rails-oceania] Re: fish and rvm

2009-09-09 Thread Bodaniel Jeanes
...@gmail.comwrote: On 10/09/2009, at 11:37 AM, Bodaniel Jeanes wrote: As such, RVM COULD actually set environment variables for fish by starting an instance and setting a global variable which, from what I read, should be available to ALL other sessions... right? Don't forget

[rails-oceania] Re: fish and PATH

2009-09-01 Thread Bodaniel Jeanes
, 2009 at 2:03 PM, Bodaniel Jeanes m...@bjeanes.com wrote: I love Fish. I really really love it. But RVM just came out and looks so damn cool but doesn't work with Fish. I am starting a port this weekend. Anybody want to join in? Especially people in Brisbane, this will be my ActionHack

[rails-oceania] Re: fish and rvm

2009-09-01 Thread Bodaniel Jeanes
In that case, you're still clueless about how it works and why it's in bash. Woah woah keep it cool man no need to go off. I understand that much, but not *all* of it needs to be in bash (downloading and installing etc). If just the environment parts are written in something like bash, then

[rails-oceania] Re: mac os x on Amazon EC2?

2009-08-31 Thread Bodaniel Jeanes
I highly doubt you will be able to get it working both from a technological standpoint and a legal one. That being said, if you figure it out -- do share! On Tue, Sep 1, 2009 at 10:14 AM, Mark Wotton mwot...@gmail.com wrote: I imagine some of you guys must have looked into this before - I'd

[rails-oceania] Re: fish and PATH

2009-08-31 Thread Bodaniel Jeanes
I love Fish. I really really love it. But RVM just came out and looks so damn cool but doesn't work with Fish. I am starting a port this weekend. Anybody want to join in? Especially people in Brisbane, this will be my ActionHack project but I'd love some extra help. Bo On Tue, Sep 1, 2009 at

[rails-oceania] Re: A taste of where the web is going

2009-07-14 Thread Bodaniel Jeanes
I completely agree. The overly 3d use of these technologies is not much more than a gimick, but it is also a culmination of many different technologies that each could be of some use individually. Sent from my iPhone On 15/07/2009, at 10:00 AM, James Salter iterat...@gmail.com wrote: 3d

[rails-oceania] Re: A taste of where the web is going

2009-07-14 Thread Bodaniel Jeanes
glen -- that was one of the best analogies i've seen in a long time. and so true haha On Wed, Jul 15, 2009 at 11:31 AM, Glen Maddern glenmadd...@gmail.comwrote: re: cooliris and more general 3d interfaces. It's like the Wii. You see someone else use one and you want it, but then after you've

[rails-oceania] A taste of where the web is going

2009-07-13 Thread Bodaniel Jeanes
I just found this: http://www.satine.org/archives/2009/07/11/snow-stack-is-here/ That 3d effect is done just with CSS and Javascript. If you have Snow Leopard like I do, the effects are even hardware accelerated (like on the iPhone) and I am able to move through the demo site and Safari barely

[rails-oceania] Re: A taste of where the web is going

2009-07-13 Thread Bodaniel Jeanes
that this would make a great history function for a website. Dynamically load old items as needed. Any idea when it might make it into 'real' Safari/other Webkit clients? Thanks for sharing, -Adam On 14/07/2009, at 11:16 AM, Bodaniel Jeanes wrote: I just found this: http://www.satine.org

[rails-oceania] Re: A taste of where the web is going

2009-07-13 Thread Bodaniel Jeanes
make a great history function for a website. Dynamically load old items as needed. Any idea when it might make it into 'real' Safari/other Webkit clients? Thanks for sharing, -Adam On 14/07/2009, at 11:16 AM, Bodaniel Jeanes wrote: I just found this: http://www.satine.org/archives

[rails-oceania] Re: A taste of where the web is going

2009-07-13 Thread Bodaniel Jeanes
It's always a good time to be in web dev - cool things are happening all the time. That said, I can't see this being the future of web development - it doesn't bode well for standards compliance, and I'd love to see how screen readers handle it. Sure I can see that. But not all the web has

[rails-oceania] Re: A taste of where the web is going

2009-07-13 Thread Bodaniel Jeanes
! But if they can't, that's not a reason to continue developing other technologies and using them. On Tue, Jul 14, 2009 at 12:32 PM, Phil Oye phil...@gmail.com wrote: On 07/14/2009, at 12:12 PM, Bodaniel Jeanes wrote: Sure I can see that. But not all the web has to be accessible. Should

  1   2   >