Sam Stickland

Results 33 comments of Sam Stickland

I have a very similar issue on El Capitan ``` $ mysqltopostgres /Users/samuelstickland/.rvm/gems/ruby-2.3.0/gems/pg-0.18.4/lib/pg/connection.rb:230: warning: already initialized constant PGconn /Users/samuelstickland/.rvm/gems/ruby-2.3.0/gems/postgres-pr-0.7.0/lib/postgres-pr/postgres-compat.rb:6: warning: previous definition of PGconn was here /Users/samuelstickland/.rvm/gems/ruby-2.3.0/gems/pg-0.18.4/lib/pg/result.rb:26: warning: already initialized...

OK, so it turns out that I can execute the rake tasks, they just aren't listed under rake -T

Hi, Just starting trying to use this gem and I've ran into this problem straight away too. Can you explain the meaning of: ``` errors: &model_errors ``` and: ``` errors:...

Aha, I see. The default error validation looks up: ``` en.activerecord.attributes.company.reg_address ``` But this gem looks up: ``` en.activemodel.attributes.company.reg_address ``` (which I found by using the excellent https://github.com/fphilipe/i18n-debug) I still...

Thanks! 2015-08-21 8:31 GMT+01:00 Kris Khaira [email protected]: > @samstickland https://github.com/samstickland &model_errors and > *model_errors are just YAML anchors and aliases. You can read about them > here: > http://stackoverflow.com/a/13927529 >...

I've dug into this a little further. The devise ConfirmationsController exposes two public methods, create and show, but devise_token_auth only defines show, not create. So it seems like devise_token_auth doesn't...

Excellent, thanks! Let me know if you want me to do any testing.

Hmm.. There is something weird with my string encoding or contents, since in the debugger copying and paste the string contents into itself (i.e. `string = "...."`) allows the code...

Although.. doing this in the debugger, inside `sub_html_links`, just before `string.gsub(HTML_PATTERN) do` ``` (byebug) string "*On http://localhost:3001/*\n\n*ID*: 999\n*Severity*: Keytar farm-to-table iPhone keffiyeh mlkshk vegan blog Pitchfork 8-bit.\nKeytar vinyl twee tofu...

Aha, so the problem is that the first string is actually a `ActionView::OutputBuffer.new` and this does not seem to work with the `gsub` and a block!