Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upOn-demand functions using macros #676
Comments
steveklabnik
added
the
A-wishlist
label
Jan 21, 2015
This comment has been minimized.
This comment has been minimized.
mneumann
commented
Jan 27, 2015
|
I think this could be implemented right now with a user_model.find_by!( id = 100u );
user_model.find_by!( first_name = "Luke", last_name = "Skywalker" ); |
This comment has been minimized.
This comment has been minimized.
|
This is currently a syntax error.
|
Centril
added
the
T-lang
label
Jan 18, 2018
petrochenkov
removed
the
A-wishlist
label
Feb 24, 2018
This comment has been minimized.
This comment has been minimized.
|
Closing in favor of #2442. |
Centril
closed this
Oct 7, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
steveklabnik commentedJan 21, 2015
Monday Oct 20, 2014 at 18:12 GMT
For earlier discussion, see rust-lang/rust#18191
This issue was labelled with: B-RFC in the Rust repository
I started to write some simple ORM for test purposes and i'm very interested in ability to make some dynamic code generation that could replace Ruby's
method_missing.Pseudo-code to illustrate the idea:
What do you think about that? I you not interested please close this issue and never mind.