Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardcode-нато ID #55

Open
adamof opened this issue Oct 4, 2014 · 1 comment
Open

Hardcode-нато ID #55

adamof opened this issue Oct 4, 2014 · 1 comment

Comments

@adamof
Copy link
Member

adamof commented Oct 4, 2014

Това така ли трябва да е?

https://github.com/obshtestvo/sledi-parlamenta/blob/master/website/app/controllers/sessions_controller.rb#L44

  def members
    members = Member.joins(:votings).where("session_id = 59").uniq.pluck(:id, :first_name, :last_name)
    render :json => members
  end
@tsikov
Copy link
Member

tsikov commented Oct 4, 2014

@adamof за такива неща няма нужда да отваряш ишута :) Може просто да ми пишеш.

Не, не трябва да е така. Вероятно просто съм тествал нещо и съм го забравил.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants