Re: [Rails] Re: There was an error while trying to load the gem 'uglifier'

2016-04-25 Thread vijaya sekhar reddy mallidi
Hi ishant, which gem you are using for authentication? I mean are you using devise or authlogic or your own authentication. What kind of user types you are using to redirect different pages after logout? On Tue, Apr 26, 2016 at 11:48 AM, ishant kumar wrote: > how to redirect to any page afte

[Rails] Re: There was an error while trying to load the gem 'uglifier'

2016-04-25 Thread ishant kumar
how to redirect to any page after logout the user and destroy the sesssion? please help my problem is after logout my app redirect to my index page (root_path page) and i don't want it .how to go to separate separate page after logout? -- You received this message because you are subscribed

[Rails] Re: Re: warning: toplevel constant Configuration referenced by ActiveRecord::Base::Configuration

2016-04-25 Thread Naveed Alam
Colin Law wrote in post #1183067: > On 25 April 2016 at 16:08, Naveed Alam wrote: >>> => [] >> in 2.3.10 its not changing the theme. > That does not answer the question. > > If you search your code for Configuration does it find anything? > > Colin Yes I have a Configuration Model/Controler below

[Rails] Re: Partial view won't render content

2016-04-25 Thread David Williams
David Williams wrote in post #1183071: > I have the slightest clue to why the list elements aren't being > populated by the data. I fixed it. Thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" g

[Rails] Partial view won't render content

2016-04-25 Thread David Williams
When I attempt to use the same query in activerecord, it works perfectly fine. When I try to use it inside of the partial view, nothing shows at all. feed_controller.rb def hashtags @hashtags = SimpleHashtag::Hashtag.order('created_at DESC').limit(10) end _hashtag_list.html.erb <% if @hashtags

Re: [Rails] Re: There was an error while trying to load the gem 'uglifier'

2016-04-25 Thread Praveen Kumar
Just install the binary file. .exe file On 25-Apr-2016 10:25 PM, "ishant kumar" wrote: > how to make install this nodejs on system i.e on Windows 7? > please help me. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe

Re: [Rails] Re: There was an error while trying to load the gem 'uglifier'

2016-04-25 Thread ishant kumar
how to make install this nodejs on system i.e on Windows 7? please help me. -- 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+unsubscr...

Re: [Rails] Re: There was an error while trying to load the gem 'uglifier'

2016-04-25 Thread ishant kumar
how to make install this nodejs on system i.e on Windows 7? please help me. -- 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+unsubscr...

Re: [Rails] Re: warning: toplevel constant Configuration referenced by ActiveRecord::Base::Configuration

2016-04-25 Thread Colin Law
On 25 April 2016 at 16:08, Naveed Alam wrote: > Greg Navis wrote in post #1183062: >> The simplest way to trigger this warning (it's not Rails-related BTW) is >> this: >> >> $ irb >> irb(main):001:0> class Foo >> irb(main):002:1> end >> => nil >> irb(main):003:0> Foo::Array.new >> (irb):3: warning

[Rails] Re: warning: toplevel constant Configuration referenced by ActiveRecord::Base::Configuration

2016-04-25 Thread Naveed Alam
Greg Navis wrote in post #1183062: > The simplest way to trigger this warning (it's not Rails-related BTW) is > this: > > $ irb > irb(main):001:0> class Foo > irb(main):002:1> end > => nil > irb(main):003:0> Foo::Array.new > (irb):3: warning: toplevel constant Array referenced by Foo::Array > => []

Re: [Rails] warning: toplevel constant Configuration referenced by ActiveRecord::Base::Configuration

2016-04-25 Thread Greg Navis
The simplest way to trigger this warning (it's not Rails-related BTW) is this: $ irb irb(main):001:0> class Foo irb(main):002:1> end => nil irb(main):003:0> Foo::Array.new (irb):3: warning: toplevel constant Array referenced by Foo::Array => [] So it seems that in addition to ActiveRecord::Base:

Re: [Rails] Want to write api of twitter to post tweet without any gem/library means with curl command

2016-04-25 Thread Greg Navis
I think what you're looking for is an HTTP client. You have plenty of options: * curl binding for Ruby * Net::HTTP in the standard library * plenty of gems built on top of those You might take a look at http://jvns.ca/blog/2016/03/04/whats-up-with-ruby-http-libraries/ by Julia Evans. She lists a

[Rails] [Screencast] Meta Tags

2016-04-25 Thread Dave Kimura
https://www.driftingruby.com/episodes/meta-tags Adding Meta Tags to your website is important for SEO ranking and content display. Learn how to easily add meta tags to your Ruby on Rails application. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscri

[Rails] Want to write api of twitter to post tweet without any gem/library means with curl command

2016-04-25 Thread Paramnoor Singh
I am new to ruby want to create an api which post tweet to twitter without help of any gem include as we did on command line by running below code: curl --request 'POST' 'https://api.twitter.com/1.1/statuses/update.json' --data 'status=Maybe+he%27ll+finally+find+his+keys.+%23peterfalk' --he

[Rails] Want to write api of twitter to post tweet without any gem/library means with curl command

2016-04-25 Thread Paramnoor Singh
Hello I am new to ruby want to create an api which post tweet to twitter without help of any gem include as we did on command line by running below code: curl --request 'POST' 'https://api.twitter.com/1.1/statuses/update.json' --data 'status=Maybe+he%27ll+finally+find+his+keys.+%23peterfalk' --hea