Well my ideal situation would be Nginx with puma on the vps. However I
couldn't get nginx to recognize the vhosts based on the blog articles I
followed as examples, so I went to Apache/Passenger, but too slow. Then
Apache/Puma, much faster.
Thanks for your responses, can you point me to any art
On Jul 28, 2013, at 8:08 AM, Hassan Schroeder
wrote:
> On Sun, Jul 28, 2013 at 12:40 AM, Exel Dev wrote:
>> Is there a way to get an Apache vhost to start Puma automatically on a Rails
>> app?
>
> What is an "Apache vhost" ??
I hope this was just a joke. nginx is quite adept at dealing with
On Jul 28, 2013, at 4:30 PM, Fidel Viegas wrote:
> Hi, everyone!
>
> It has been a while since I posted here, given that I get to find most of my
> answers on google. However, there is one particular coding practice I am
> after, for which I have thought of a solution, as well as found the ex
Hi, everyone!
It has been a while since I posted here, given that I get to find most
of my answers on google. However, there is one particular coding
practice I am after, for which I have thought of a solution, as well as
found the exact same solution for .Net.
Basically, I am working with a
On Sun, Jul 28, 2013 at 11:38 AM, yash shah wrote:
> I have created the drop down list for state and city. Now when the user
> selects the state say florida and city say miami, I want to display these
> names on the new page when the user clicks the search link. Using link_to,
> I am not able to
Have a search on Railscasts. This is covered there.
Walter
On Jul 28, 2013, at 12:36 PM, eireanngobrac...@gmail.com wrote:
> I have a Course model which habtm categories. I am trying to have checkboxes
> to add or delete categories from the new and update courses pages.
>
> Models:
>
> cours
Dear Guys,
I have created the drop down list for state and city. Now when the user
selects the state say florida and city say miami, I want to display these
names on the new page when the user clicks the search link. Using link_to,
I am not able to pass these names to the new page. Ideally thes
I have a Course model which habtm categories. I am trying to have
checkboxes to add or delete categories from the new and update courses
pages.
Models:
course.rb
# == Schema Information
#
# Table name: courses
#
# id :integer not null, primary key
# course_number
thanks for the responses guys :)
On Tuesday, July 23, 2013 8:37:51 AM UTC-4, Rob Daniels wrote:
> I've been approved for a new Rails web server - any suggestions on
> hardware, OS & setup?
>
> Rob
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rail
On Sun, Jul 28, 2013 at 12:40 AM, Exel Dev wrote:
> Is there a way to get an Apache vhost to start Puma automatically on a Rails
> app?
What is an "Apache vhost" ??
> I'm installing Apache and Puma on a linux ubuntu 12.04 box, first I tried it
> with Passenger but it seemed quite slow compared t
The problem is now solved
The correct use of locals should be
$("<%=id%>").html("<%= escape_javascript(render(:partial=>'form'))%>");
and not
$('"'+id+'"').html("<%= escape_javascript(render(:
partial=>'form'))%>");
Den söndagen den 28:e juli 2013 kl. 12:56:19 UTC+2 skrev Colin Law:
>
> On 28 Ju
On 28 July 2013 11:28, Hans wrote:
> Colin
> Thanks for your answere, but that was just a typo from me. The code has
> :locals and :id
When asking questions it is always a good idea to copy/paste then you
are more likely to get helpful replies. Perhaps there are different
typos in your code that
>
> Postgres documentation for LIMIT:
> http://www.postgresql.org/docs/9.2/static/queries-limit.html
>
> I should look at the postgres/rails documentation more to see how limit
> and pluck actually work! From what I see, my method orders all the rows
> within postgres, postgres gets the ID co
Is it possible to run Ruby and Rails on Mac OS X off of a local folder
(without local or system install using RVM, Homebrew, etc.)
Similar to the way one can copy/paste Java installation directory and just
run off of it with no dependencies, I'd like to do the same with Ruby/Rails.
The goal i
Is there a way to get an Apache vhost to start Puma automatically on a
Rails app?
I'm installing Apache and Puma on a linux ubuntu 12.04 box, first I tried
it with Passenger but it seemed quite slow compared to Puma.
Is there a preferred recommended setup that's more ideal?
Thanks,
The Dude Ab
Colin
Thanks for your answere, but that was just a typo from me. The code has
:locals and :id
Den söndagen den 28:e juli 2013 kl. 11:50:55 UTC+2 skrev Colin Law:
>
> On 28 July 2013 10:40, Hans > wrote:
> > ...
> >
> > That works but to be useful I would like to add locals as
> > <%= render :
Den söndagen den 28:e juli 2013 kl. 11:50:55 UTC+2 skrev Colin Law:
>
> On 28 July 2013 10:40, Hans > wrote:
> > ...
> >
> > That works but to be useful I would like to add locals as
> > <%= render :partial=>'new', :formats=>[:js],:handlers=>[:erb],
> > locals=>{id=>"#group_participants_con
Den söndagen den 28:e juli 2013 kl. 11:40:09 UTC+2 skrev Hans:
>
> I have a lot of js files like new.js, index.js, create.js etc that handles
> my Ajax calls and other jquery code
> As the have many common code snippets I have tried to use partial js files
> For example I have a new.js file that
Den söndagen den 28:e juli 2013 kl. 11:40:09 UTC+2 skrev Hans:
>
> I have a lot of js files like new.js, index.js, create.js etc that handles
> my Ajax calls and other jquery code
> As the have many common code snippets I have tried to use partial js files
> For example I have a new.js file that
On 28 July 2013 10:40, Hans wrote:
> ...
>
> That works but to be useful I would like to add locals as
> <%= render :partial=>'new', :formats=>[:js],:handlers=>[:erb],
> locals=>{id=>"#group_participants_content"}%>
I don't know whether there are any other problems but it should be
:locals and :
I have a lot of js files like new.js, index.js, create.js etc that handles
my Ajax calls and other jquery code
As the have many common code snippets I have tried to use partial js files
For example I have a new.js file that calls a partial _new.js
new.js
<%= render :partial=>'new', :formats=>[:j
21 matches
Mail list logo