[Rails] Increase your Business Growth with the help of SMEgoweb

2015-10-25 Thread Jore Birnei
SMEGoWeb is a name you can count on for all your digital marketing needs for your business. We have a team of long-experienced professionals holding expertise in web designing and development, video creation for business, online marketing and much more. For more info: https://www.quora.com/SMEgoweb

[Rails] Re: Rails DB - explore DB and run SQL inside your App

2015-10-25 Thread Igor Kasyanchuk
Rails DB - https://github.com/igorkasyanchuk/rails_db New version of Rails DB gem is available 0.4. Changes: - autocomplete for SQL - ajax-ified views a little - data-tables to show content of your tables/sql inside your Apps (embed them) - option to disable automatic routes mounting De

Re: [Rails] Yielding scaffold in another view best practice.

2015-10-25 Thread Deepak Sharma
On Sun, Oct 25, 2015 at 9:01 PM, Colin Law wrote: > In fact I didn't write what I meant to write. Put the rendering of > the dashboard partials in layouts/application.html.erb (or another > layout used by relevant views if not everything needs the dashboard) > and yield from there for the content

Re: [Rails] Yielding scaffold in another view best practice.

2015-10-25 Thread Colin Law
On 25 October 2015 at 14:59, Deepak Sharma wrote: > On Sun, Oct 25, 2015 at 7:10 PM, Colin Law wrote: >> The usual way to do this would be by rendering partials. You can >> render different partials dependent on the context. Alternatively, >> instead of rendering the scaffolds as partials from

Re: [Rails] Yielding scaffold in another view best practice.

2015-10-25 Thread Colin Law
On 25 October 2015 at 14:59, Deepak Sharma wrote: > On Sun, Oct 25, 2015 at 7:10 PM, Colin Law wrote: >> The usual way to do this would be by rendering partials. You can >> render different partials dependent on the context. Alternatively, >> instead of rendering the scaffolds as partials from

Re: [Rails] Yielding scaffold in another view best practice.

2015-10-25 Thread Deepak Sharma
On Sun, Oct 25, 2015 at 7:10 PM, Colin Law wrote: > The usual way to do this would be by rendering partials. You can > render different partials dependent on the context. Alternatively, > instead of rendering the scaffolds as partials from the dashboard, > render the dashboard as partials from t

Re: [Rails] Yielding scaffold in another view best practice.

2015-10-25 Thread Colin Law
On 25 October 2015 at 12:59, Deepak Sharma wrote: > In my app I have dashboard part where all major function will perform, > besides that I have few scaffolds (question, performance etc) which I > want to display in that dashboard. I'm little confused what will the > best practice of doing this. >

[Rails] Yielding scaffold in another view best practice.

2015-10-25 Thread Deepak Sharma
In my app I have dashboard part where all major function will perform, besides that I have few scaffolds (question, performance etc) which I want to display in that dashboard. I'm little confused what will the best practice of doing this. 1) Make partial and then render that partial 2) By using co