johnlane

Results 44 comments of johnlane

I will check this with my code base to see if I get by without `--root`. Also Revision 47a66ca (for adding a pem option to the show command) is already...

I only monkey-patched bcause I needed to set up an instance variable in a yet-to-be-instantiated object. I wouldn't normally do that (I agree with your setiment) but I could not...

I am just recording a note here. The below monkey-patch (bad, I know!!) works for an anonymous contract (it gives it a predictable path of `reform.form.thing`) : ``` ruby def...

I have a working RUDIMENTARY module that does translations without requiring ActionView. It does rely on the `I18n` gem however, but that isn't Rails so I hope that's ok. I'm...

Take a look at https://github.com/johnlane/trailblazer-translation. Read the README.md (not README.rdoc) for furthr information.

Just a little update - I've been using my module successfully with operations, contracts and cells. I made a little tweak so it reports the full requested path when it...

I updated my [test app](https://github.com/johnlane/trailblazer-translation) so that it removes "cell" from the translation path when it is based on the class name. I did this just to see how it...

The relative translation scope of a nested form (e.g. `collection do...end`) defaults to `reform.form` for the same reasons discussed above (it's an anonymous class). I don't know if there is...

I have updated [my repo](https://github.com/johnlane/trailblazer-translation) to support translations on class methods. This is useful, for example, when setting properties on a contract: ``` ruby property :title, validates: {presence: { message:...

Sorry @apotonick I have been offline for a few days. Here's an excerpt from my translations file: ``` yaml en: # Generic messages success: 'Success!' error: 'Please correct your errors...