Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
create_method.rb
saasbook
Aug 15th, 2013
723
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Ruby
0.11 KB
| None
|
0
0
raw
download
clone
embed
print
report
# in movies_controller.rb
def
create
@movie
= Movie.
create
!
(
params
[
:movie
]
)
redirect_to movies_path
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
JSON | 11 min ago | 92.72 KB
openwrt router setup by snowy
JavaScript | 14 min ago | 2.37 KB
ticTacToe
JavaScript | 19 min ago | 2.03 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 31 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 32 min ago | 0.39 KB
bazeLV7
C# | 37 min ago | 5.47 KB
WEGOVY IS A SCAM DOES NOT WORK
Bash | 47 min ago | 0.03 KB
balmod.c
C | 56 min ago | 2.56 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!