Re: web based application to monitor sybase ase database server

A fine plan.
Do you have a question regarding django?

On Wednesday, July 9, 2014 1:20:48 AM UTC-5, anantha sharma wrote:
Hi,

I am planing to build web based application to monitor sybase ase database server the details are given below.


In this moment we are monitoring sybase ASE database server by shell script(cron job) these data we are pushing to other database server what we call is
monitoring server.After business hrs we are gathering metrics for each job/server cpu,disk i/o,memory, dbspace usages through some store procedures 
manually  now we are planing to build a platform like a web based dash board so that the business owners can monitor their jobs/process load on server,
this will help them to enhance their procedures (like modification sp's) in a single short.  pls find the link for better understand.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6b48e100-ace9-4584-a1fb-f6d755778bca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: [Rails] Do you use any Ruby Version Manager at production?

I currently use RVM in production. Are you asking how its done??
If so, I use capistrano to deploy my applications or you could use chef automation....

On Tuesday, July 8, 2014 1:15:51 PM UTC-4, Ricardo do Valle wrote:
Hello,

How do you use ruby at production server? rvm, rbenv, chruby or install ruby directly at system?

Thanks,

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a73dd982-3094-41c7-a105-5c7879754a44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[Rails] Re: The user index does not display delete links

If your tests are passing, try some debugging.
Check your current_user helper method make sure its working the way its supposed to work.

I would also check sessions to make sure the current user is available.

On Wednesday, July 9, 2014 1:02:09 AM UTC-4, Ruby-Forum.com User wrote:
I am using Ruby 2.0.0 and Rails 4.0.5. I follow "Ruby on Rails tutorial
by Michael Hartl".

I am trying to implement **"The destroy action"** (section 9.4.2).

Administrative users should see delete link

BUT

When i sign in, delete link is not appear. I can't able to solve this
issue.

Test suite run successfully.

>>My application.js file contain:

//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require bootstrap
//= require_tree .

>> _user.html.erb:

<li>
  <%= gravatar_for user, size: 52 %>
  <%= link_to user.name, user %>
  <% if current_user.admin? && !current_user?(user) %>
    | <%= link_to 'delete', user, method: :delete,
                                  data: { confirm: "You sure?" } %>
  <% end %>
</li>

I attache user_pages_spec.rb file. Please find it.

How to fix this error?

Kind regards

Attachments:
http://www.ruby-forum.com/attachment/9872/user_pages_spec.rb


--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1f7e7f7c-448d-475c-a27f-a95013e091b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Is 1.7 RC1 supposed to support migrations changing user model? Not sure whether to report error as bug!

Report it. Migrations is a new feature and it is better to report any encountered issues now before it is released.

Regards,
Michael Manfre

On Wednesday, July 9, 2014 3:10:26 AM UTC-4, graeme wrote:
Having read through the comments on this bug:


I can see that migrations were not originally intended to support changing AUTH_USER_MODEL after the initial migration.

However I am confused about whether it now should. The later comments and the documentation imply that swappable models
should work provided they have migrations.

I got the same error as reported in the bug report, but the workaround was simpler (manually add a dependency on the initial
migration for the app containing my custom user model to the migration that added a foreign key to it).

Is this a bug that should be reported, or do we live with workarounds?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/282129d7-1ff3-4522-a157-8d1f6730ee99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[Rails] The user index does not display delete links

I am using Ruby 2.0.0 and Rails 4.0.5. I follow "Ruby on Rails tutorial
by Michael Hartl".

I am trying to implement **"The destroy action"** (section 9.4.2).

Administrative users should see delete link

BUT

When i sign in, delete link is not appear. I can't able to solve this
issue.

Test suite run successfully.

>>My application.js file contain:

//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require bootstrap
//= require_tree .

>> _user.html.erb:

<li>
<%= gravatar_for user, size: 52 %>
<%= link_to user.name, user %>
<% if current_user.admin? && !current_user?(user) %>
| <%= link_to 'delete', user, method: :delete,
data: { confirm: "You sure?" } %>
<% end %>
</li>

I attache user_pages_spec.rb file. Please find it.

How to fix this error?

Kind regards

Attachments:
http://www.ruby-forum.com/attachment/9872/user_pages_spec.rb


--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3ebc0283dc90c315e4a944e83279cdc5%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

[android-developers] How to list my app as Wearable compatible?

Hi,
I'm wondering how to list my app as wearable compatible, like in this list?
https://play.google.com/store/apps/collection/promotion_30008f2_io_android_wear?hl=en

My app has been designed for 'wear' device already.

Rgrds,
Tung.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Re: Some creating Forms from models snags.

On 9 July 2014 13:19, Don Fox <foxdon31@gmail.com> wrote:
>
>
> I should have mentioned that I already had this method in the models.py:
>
> class Article (models.Model):
> pub_date = models.DateField()
> headline = models.CharField(max_length = 30)
> content = models.CharField(max_length=500)
> reporter = models.CharField(max_length=20)
>
> This was assumed to be needed after the definition of the article form in
> the shell.
> As I said I have that same class ArticleForm in the forms.py
>
> Thanks for the reply.

Do you still have the same issue?

If so I would suggest it's a PATH problem.

In classBased (which is the folder that has manage.py?), run

python manage.py

and then do

from myapp.models import Article

if that fails, it is a PATH problem.

Googling Django PATH has heaps on it, but something like this shows the way:

https://community.webfaction.com/questions/16064/django-module-import-problem


cheers
L.



--
The idea is that a beautiful image is frameable. Everything you need
to see is there: It's everything you want, and it's very pleasing
because there's no extra information that you don't get to see.
Everything's in a nice package for you. But sublime art is
unframeable: It's an image or idea that implies that there's a bigger
image or idea that you can't see: You're only getting to look at a
fraction of it, and in that way it's both beautiful and scary, because
it's reminding you that there's more that you don't have access to.
It's now sort of left the piece itself and it's become your own
invention, so it's personal as well as being scary as well as being
beautiful, which is what I really like about art like that.
-----------------------------------------------------------------------------------------------------------
Adventure Time http://theholenearthecenteroftheworld.com/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGBeqiOXPCuZBP6TrGZL1BdgRh8AnUsb2e%3DC%2B%3Dks8Uev2rb5%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.