[Rails] Re: Real-time events with WebSockets and fallbacks?

2013-04-09 Thread 김성식
Plug use the redis as a messaging system 2013년 4월 10일 수요일 오후 2시 15분 37초 UTC+9, 김성식 님의 말: > > If you're consider using Rails 4. A new feature comes out called > ActionController::Live. > > > http://blog.remarkablelabs.com/2012/12/live-streaming-rails-4-countdown-to-2013 > > > > 2013년 4월 9일 화요일

[Rails] Re: Real-time events with WebSockets and fallbacks?

2013-04-09 Thread 김성식
If you're consider using Rails 4. A new feature comes out called ActionController::Live. http://blog.remarkablelabs.com/2012/12/live-streaming-rails-4-countdown-to-2013 2013년 4월 9일 화요일 오후 5시 49분 34초 UTC+9, Johan Vauhkonen 님의 말: > > Does Rails have anything that supports real-time events and c

[Rails] Active Record and IBM_DB

2013-04-09 Thread Cryptographic ICE
I am attempting to connect to an iseries running V54R. When I run a test in IRB it does not work: test is from (https://github.com/on-site/ibm_db) irb(main):001:0> gem 'ibm_db' => true irb(main):002:0> require 'mswin32/ibm_db' => true irb(main):003:0> IBM_DB.connect 'sample', 'db2admin', 'secret'

[Rails] JRuby's Google Summer of Code 2013!

2013-04-09 Thread Charles Nutter
Hello, friends! I'm pleased to announce that JRuby will be participating in this year's Google Summer of Code! We're looking for students and mentors to help work on JRuby (and Ruby) related projects (and get paid doing it, of course). We have an ideas page here: https://github.com/jruby/jruby

[Rails] Re: Defining routes problem

2013-04-09 Thread Serguei Cambour
The second point is also fixed, - the routes should be defined as follows: match '/timesheets/:date', to: 'dashboard#list_timesheets_by_start_date', via: :get, constraints: { date: /\d{4}-\d{,2}-\d{,2}/ }, as: 'timesheets_by_date' An in the controller, one should just ge

Re: [Rails] Getting Started

2013-04-09 Thread Walter Lee Davis
On Apr 9, 2013, at 11:04 AM, John Gagon wrote: > So far I'm disappointed with what I see as red flags. I follow along what > seems like foolproof instructions. I install everything, rails new > /some/new/app cd to the directory and rails server and my worst fears > cryptic useless stack tr

[Rails] Getting Started

2013-04-09 Thread John Gagon
So far I'm disappointed with what I see as red flags. I follow along what seems like foolproof instructions. I install everything, rails new /some/new/app cd to the directory and rails server and my worst fears cryptic useless stack trace...so I copy the top line, search for stuff on this s

[Rails] Re: Defining routes problem

2013-04-09 Thread Serguei Cambour
The first pont is fixed now: to use a singular route for DashboardController and remove the trailing '..dashboard_index', I changed the routes as follows: resource :dashboard, :controller => "dashboard", only: [:destroy] do collection do get :timesheets get :users put :as

[Rails] ROR - UK - Market update

2013-04-09 Thread Charlie Setoodeh
Market update - UK We have seen an increase in positions at a more senior level and a decrease of more junior positions as of late. This may be two fold either firms are hiring directly for juniors or there is simply a bigger demand for seniors in the present market. It is no secret in this mark

[Rails] Re: Help me bout gem 'acts_as_api' in RoR

2013-04-09 Thread haxuan lac
I have done this small demo with : https://github.com/fabrik42/acts_as_api/blob/master/examples/introduction/index.rb and scaffold in Rails -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To uns

[Rails] Defining routes problem

2013-04-09 Thread Serguei Cambour
I defined some routes as follows: resources :dashboard, only: [:destroy] do collection do get :timesheets get :users put :assign_admin get :admins put :remove_admin match '/:year/:month/:day', to: 'dashboard#list_timesheets_by_start_date', as

Re: [Rails] Real-time events with WebSockets and fallbacks?

2013-04-09 Thread Jeffrey Jones
I think this is about as close as you are going to get. http://danknox.github.io/websocket-rails/ There is nothing built into rails for this as far as I know. On 09/04/13 17:49, Johan Vauhkonen wrote: Does Rails have anything that supports real-time events and communication with WebSockets an

[Rails] Safely persisting query parameters in Rails 3.1

2013-04-09 Thread Sean Linsley
I'm working on a project (Active Admin) that needs to be able to build links on the page (e.g. pagination) that include arbitrary query parameters that the user has entered. Since `url_for` symbolizes any keys passed to it, for obvious memory concerns you can't just pass the entire params hash.

[Rails] Real-time events with WebSockets and fallbacks?

2013-04-09 Thread Johan Vauhkonen
Does Rails have anything that supports real-time events and communication with WebSockets and gracefully fallbacks to other techniques if WebSockets are not supported? I would like the possibility to pub/sub events and messages for live chats and real time notifications. -- You received this

[Rails] Help me bout gem 'acts_as_api' in RoR

2013-04-09 Thread haxuan lac
I'm working with 'acts_as_api' but I cant't understand how it to do I try to find tutorial about it with a small project using gem 'acts_as_api' but I'm afraid it is none. who can give me some advice to build small project use gem 'acts_as_api' Thanks.. -- Posted via http://www.ruby-forum

[Rails] Re: Rails app + Apache Passenger + Postgres : memory consumption

2013-04-09 Thread Rémi Nuyts
Thank you for your answer. > What version of ruby are you using? If possible, you may want to > consider > using http://www.rubyenterpriseedition.com. I use Ruby 1.8.7 . I will inquire about Ruby Enterprise Edition. > There are Passenger configuration variables you can use to adjust how > lo