Displaying 2 results from an estimated 2 matches for "find_messag".
Did you mean:
find_message
2013 Jun 16
0
Monkey patching a gem's controller method
...def set_flash_message(key, kind, options = {})
>
> if key == ''alert''
> key = ''error''
> elsif key == ''notice''
> key = ''success''
> end
>
> message = find_message(kind, options)
> flash[key] = message if message.present?
>
> end
> end
But now I get the following error on any Devise-related action:
*Routing Error: undefined method `prepend_before_filter'' for
Devise::SessionsController:Class*
What am I doing wrong?...
2011 Jan 08
2
Wine-1.3.11 will not compile for me
...incomplete type
po.c:302: warning: excess elements in struct initializer
po.c:302: warning: (near initialization for 'po_xerror_handler')
po.c:302: warning: excess elements in struct initializer
po.c:302: warning: (near initialization for 'po_xerror_handler')
po.c: In function 'find_message':
po.c:362: warning: implicit declaration of function 'po_message_msgctxt'
po.c:362: warning: assignment makes pointer from integer without a cast
po.c: In function 'add_po_string':
po.c:393: warning: implicit declaration of function 'po_message_set_msgctxt'
po.c: In fu...