[Rails] Active Job Backport

2014-09-01 Thread Andrew Kane
Hey, Any plans to backport Active Job to earlier versions of Rails? This would be super useful for external gems. If not, I'll take a stab at it. Thanks, Andrew -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this

[Rails] creating an OrderedHash

2014-09-01 Thread Andrew Brown
I'm a little confused about how one is supposed to create an ordered hash. As far as I can tell, ActiveSupport::OrderedHash does not provide a constructor or a method that can create a hash from an array of pairs. Is this a deliberate ommission? Hash also doesn't provide this, although

[Rails] Re: creating an OrderedHash

2014-09-01 Thread Frederick Cheung
On Sunday, August 31, 2014 10:09:27 PM UTC+1, Andrew Brown wrote: I'm a little confused about how one is supposed to create an ordered hash.   As far as I can tell, ActiveSupport::OrderedHash does not provide a constructor or a method that can create a hash from an array of pairs.  Is this a

[Rails] Re: How to configure default options of ckeditor_rails gem

2014-09-01 Thread Damjan Rems
New to Rails and you started probably with the hardest cracker by my opinion ;-) CK loads setting dynamical when it is loaded into browser. Which can not be done right with assets pipeline. If you read documentation on github you will see this: -- Customize ckeditor In order to

[Rails] Re: Regenerate Model / View for new columns

2014-09-01 Thread Balamurali Krishna
Thanks Hassan Schroeder Walter Davis for the replies. I had added the form element in view page. But I had forgotten to add it to the object_params in the controller. So, the new element, although getting passed from UI wasn't getting into the create methods. The issue is now fixed. Thanks

[Rails] Re: is_a? returns false, though I think it should return true

2014-09-01 Thread Ronald Fischer
This hints at design flaws within your application. I suspect this too, though I can't see a *convincing* better solution. I try to sketch my problem in an abstract way: I have a function f which, when receiving a Card object, can find a certain integer number which it then uses for further

Re: [Rails] Re: Re: Wix Style Web Page Builder Gem

2014-09-01 Thread Hassan Schroeder
On Sun, Aug 31, 2014 at 8:13 PM, David Williams li...@ruby-forum.com wrote: The CMS gems available are mainly for blog creations. ?? I would hardly say that, but ... I'll continue to search around. Maybe, I'll find something on github. if you do find a gem specific to this use case, would

[Rails] Intergrating Google API's in a simple Rails app

2014-09-01 Thread el yagoubi alfred
Hello everybody, want to create 3 rails apps in which every app has a Google API. 1) Gmail API 2) Google+ API 3) Google calendar API somebody know how to begin with? Thx! -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To

[Rails] Re: Automatic navigation?

2014-09-01 Thread rahul kumar
http://www.corelangs.com/js/basics/redirect.html Javascript Redirect On Tuesday, November 20, 2012 9:04:34 PM UTC+5:30, Ruby-Forum.com User wrote: Instead of asking the user to click on links to navigate to a new page, how can I implement automatic page navigation? I would imagine there

Re: [Rails] Intergrating Google API's in a simple Rails app

2014-09-01 Thread tamouse pontiki
On Mon, Sep 1, 2014 at 8:09 AM, el yagoubi alfred alfred.elyago...@gmail.com wrote: Hello everybody, want to create 3 rails apps in which every app has a Google API. 1) Gmail API 2) Google+ API 3) Google calendar API somebody know how to begin with? Thx! That depends entirely on

[Rails] Re: How to configure default options of ckeditor_rails gem

2014-09-01 Thread Rasool SB
Hi Damjan Rems, Thank you so much for your reply, Oops, is that a cracker..?!, (OMG), Yes I followed the gems documentation and have created files according through the documentation, but, they did not mention any options about how to remove buttons(options) which are not necessary

[Rails] Re: How to configure default options of ckeditor_rails gem

2014-09-01 Thread Rasool SB
Or., Is there any other gem.. like ckeditor..?? Please help me..!! On Monday, 1 September 2014 21:36:09 UTC+5:30, Rasool SB wrote: Hi Damjan Rems, Thank you so much for your reply, Oops, is that a cracker..?!, (OMG), Yes I followed the gems documentation and have created files

[Rails] Output of *_path not html_safe?

2014-09-01 Thread tamouse pontiki
From a lengthy discussion on #rubyonra...@freenode.net, I am wondering about something. The *_path and *_url methods return plain String objects, not an ActiveSupport::SafeBuffer. If something is passed into (say) link_to that contains an escapable character, such as in a query string, link_to

[Rails] Re: New logo for Ruby On Rails ?

2014-09-01 Thread Designby Lefty
Yes there is something like that. Again it's difficult to say because i did this, but i love the idea of the shiny, diamond door.To me it means that Rails is a door to Marvels. I'm learning Rails since the 1.6-1.8 and i love so much what it's become for medium, big internet tools. For small

[Rails] no method error - undefined method

2014-09-01 Thread Fatima Fatima
I thought I had defined the method, but I keep getting an error. Should I just be able to call user.favorite_places? Would appreciate any help. favorite_places_controller.rb class FavoritePlacesController ApplicationController before_action :set_place, except: [:index]

Re: [Rails] no method error - undefined method

2014-09-01 Thread Dave Aronson
On Monday, September 1, 2014, Fatima Fatima wrote: I thought I had defined the method, but I keep getting an error. Should I just be able to call user.favorite_places? Would appreciate any help. ... def index @places = User.favorite_places end Is this where it's blowing up?

[Rails] Re: displaying rails form validation errors inline

2014-09-01 Thread Chandresh Pant
I know its an old post, but if anyone is facing this issue now, you can check if the html_tag is not label, using something like: html_tag !~ /label/ Also, I would recommend using simple_form which comes with inline error messages. -- Posted via http://www.ruby-forum.com/. -- You received

[Rails] how to install rails 4 via shell in ubuntu

2014-09-01 Thread Cristiano D.
i'm using the version 3, but i have a book that covers rails 4. please tell me a way to easy install it! Attachments: http://www.ruby-forum.com/attachment/10036/Screenshot_from_2014-09-01_23_45_05.png -- Posted via http://www.ruby-forum.com/. -- You received this message because you are

Re: [Rails] how to install rails 4 via shell in ubuntu

2014-09-01 Thread Hassan Schroeder
On Mon, Sep 1, 2014 at 7:45 PM, Cristiano D. li...@ruby-forum.com wrote: i'm using the version 3, but i have a book that covers rails 4. please tell me a way to easy install it! gem install rails -v '4.1.5' (or whatever version you need) Good luck. -- Hassan Schroeder