Displaying 2 results from an estimated 2 matches for "gamehost".
2020 Jun 27
0
[centos/centos.org] branch master updated: Updated/Removed/Added sponsors to reflect actual list
...+0200
    Updated/Removed/Added sponsors to reflect actual list
    
    Signed-off-by: Fabian Arrotin <arrfab at centos.org>
---
 Gemfile.lock                           |   2 +-
 _sponsors/everex.md                    |   7 -------
 _sponsors/exabytes_my.md               |   2 +-
 _sponsors/gamehost.md                  |   6 ++++++
 _sponsors/virtualsystems.md            |   6 ++++++
 _sponsors/yourname.md                  |   6 ------
 assets/img/sponsors/GameHost.png       | Bin 0 -> 6544 bytes
 assets/img/sponsors/everex.png         | Bin 13285 -> 0 bytes
 assets/img/sponsors/exabytes...
2010 Jan 02
2
Underscore in a model's method causes it not to be called from the form helper
...Maybe someone can.
I have a model named ''Game''. Its database schema contains a field
named ''pconfig_src''.
I want to lazy load the pconfig_src value, so added following method
to the model:
 def pconfig_src
    read_attribute(''pconfig_src'') || GameHost::phost_pconfig_src
 end
GameHost::phost_pconfig_src returns the default value stored in a
file.
Now if I create a form in my view with form_for, like:
<% form_for(@game, :html => { :id => "edit_game" }) do |f| %>
  ...
  <%= f.text_area :pconfig_src, :cols => 80, :row...