Tuesday, 8 April 2014

once distribute a unparalleled id afterwards use it for lifetime

I am now controlling sessions and cookies in PHP though they have expiry
limit.My Scenario is that one user is indifferent one PC or browser.How
can i distribute a unparalleled id to user wholly once afterwards use it
for lifetime.Is there any other proceed to promulgate with mobile
controlling once indifferent id to user.

Friday, 4 April 2014

Rails Deployment emanate on enabling config.ssl=true on live server

I am deploying my rails(3.2.12) application(site with subdomain) in
AWS(Elastic beanstalk) controlling a eb commandsgit aws.pushsomething went
wrong on enabling config.ssl=true in my production.rb , on a unbroken pull
server went down(on Elastic beanstalk shows that site station is green,
though in a production.log shows "Connecting to database specified by
database.yml")i have attempted by disabling config.ssl=true underline to
config.ssl= fake and the operative in live serverwhat competence be a
issueplease help

Tuesday, 1 April 2014

How to get a list of all tags while controlling a gem 'acts-as-taggable-on' in Rails (not a counts)

I have set a acts-as-taggable-on gem in my denote like this :
acts_as_taggable_on :deshanatagsIt use a context deshanatags. Now we need
to get a list of all a tags (not wholly a ones indifferent for one item.
we need everything) in this context in a following format :[
{"id":"856","name":"House"}, {"id":"1035","name":"Desperate
Housewives"}]How can we do this?I attempted to follow many tutorials
though strike passed ends since many of them are combined for Rails 3.
Rails for have some changes to a denote like dismissal of attr_accessor
that make it challenging for me to know those tutorials. So greatfully
help.Simply im perplexing to supplement Jquery Token quarrel
(http://loopj.com/jquery-tokeninput/) to my appPS : Through Tagging table,
is there a proceed to get a list of tags like a cost of Tag.all by
filtering a context?