This file contains 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
def new | |
# initialize a hash from | |
@inputs = { | |
user_name: '', | |
some_field: some_object.default_some_field, | |
something: { | |
a: '', | |
b: 'some default value' | |
} | |
} |
This file contains 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
def new | |
# initialize a hash from | |
@inputs = Form.new( | |
user_name: '', | |
some_field: some_object.default_some_field, | |
something: { | |
a: '', | |
b: 'some default value' | |
} | |
) |
This file contains 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
u = User.new(params) | |
if u.save | |
# redirect | |
else | |
# render form with errors | |
end | |
# task: Dodać sprawdzanie czy user jest fraudem. |
This file contains 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
- grafika | |
- - konwertowanie obrazków pomiędzy formatami | |
- - rodzaje kompresji, formaty obrazów i ich cechy (np że png waży więcej od jpg i dlaczego) | |
- - popularne filtry | |
- - cięcie layoutu - co to znaczy, jak się to robi | |
- - czym się różni grafika wektorowa od rastrowej | |
- - przeźroczyste tło w obrazkach (wady, zalety) | |
- opensource i free software | |
- - co to znaczy? na czym polega? | |
- - popularne projekty opensource |
OlderNewer