I create authentication for users resource and it works fine but now i want to use the authenticate function from user_controller.ex to project_controller.ex. If i copy authenticate private function from user_controller to project_controller than authentication works on projects resource but i don't want to duplicate this authenticate function in every controller. i need to know what is the best a
I'm currently learning Elixir by going through the OTP and mix tutorial on the elixir-lang website, and I'm having trouble finding out how to recompile and reload the project from within the shell. In Erlang I would do make:all([load]) and it would compile and load any changes that occurred. However, in iex that always says :up_to_date, which does make sense, as Elixir uses mix for it's compiling
I feel like I'm missing something stupid obvious, but I've looked all over and can't find the answer to my question. Suppose I have an application release that I've built with rebar and I start it a la rel/my_app/bin/my_app start I let it happily go about its business for a while, and then I want to attach a console to check on things, so I do rel/my_app/bin/my_app attach and get a shell. I muck a
It says that Elixir has a tool called elixirc and Erlang has a tool called erlc to compile modules for use. It says immediately after this that you can then run code with the elixir command line tool. Is there a way to compile a binary executable with Elixir or Erlang? (one which I can chmod +x binary_name and then run from the same directory with ./binary_name)
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く