This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class LimitedTextInput < SimpleForm::Inputs::Base | |
| def input | |
| merge_limited_attributes find_maxlength | |
| @builder.text_area attribute_name, input_html_options | |
| end | |
| private | |
| def find_maxlength |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Project < ActiveRecord::Base | |
| # Associations | |
| has_and_belongs_to_many :users | |
| has_many :proposals, dependent: :destroy | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| while (true) do | |
| puts "4 8 15 16 23 42" | |
| sleep(6300) | |
| end |
NewerOlder