[Rails] Learning rails source : Questions related to the code

2015-11-04 Thread lionel Lioninho
Hi, sorry to disturb you. I try to learn rails by the source. In the line of code : https://github.com/trueskil/rails/blob/master/activesupport/lib/active_support/dependencies/autoload.rb#L37 do do you know what the variable 'name' is used for? Thanks in advance Regards *Lionel* -- You

[Rails] Re: getting twitter followers into our rails application

2015-11-04 Thread Sheena Mathieson
You can buy real twitter followers at buyrealmarketing.com/buy-twitter-followers. Buy Real Marketing is the most reliable place to buy followers on twitter. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:

[Rails] Re: attribute problem

2015-11-04 Thread Emrah Yıldırım
I researched a lot. If I would like to be here if it helps if you have a way of knowing. I leave here the research anyway ... I think there are communities for it. You did me so much that I wrote. 4 Kasım 2015 Çarşamba 14:28:37 UTC + 2 Tarihinde Emrah Yıldırım yazdı: > > Merhaba > > g iskele

Re: [Rails] attribute problem

2015-11-04 Thread Emrah Yıldırım
I researched a lot. If I would like to be here if it helps if you have a way of knowing. I leave here the research anyway ... I think there are communities for it. You did me so much that I wrote. 4 Kasım 2015 Çarşamba 14:50:03 UTC+2 tarihinde Colin Law yazdı: > > On 4 November 2015 at 12:28,

[Rails] Javascript not loading

2015-11-04 Thread Christopher Mendla
he dropdowns in my rails 4.x app were working fine in development mode. I made some changes and the dropdowns stopped working. If I do an inspect element in chrome it looks lie a lot of the resources aren't loading. (The style sheet must be loading at least once I would presume). I did do an

Re: [Rails] Javascript not loading

2015-11-04 Thread Colin Law
On 4 November 2015 at 14:44, Christopher Mendla wrote: > he dropdowns in my rails 4.x app were working fine in development mode. > I made some changes and the dropdowns stopped working. > > > If I do an inspect element in chrome it looks lie a lot of the resources > aren't

[Rails] Re: Ruby on rails tutorial series

2015-11-04 Thread Rodrick Kazembe
Hi david, Thanks. We will soon publish more tutorials that will help beginners -- 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,

[Rails] attribute problem

2015-11-04 Thread Emrah Yıldırım
Hi, rails g scaffold gform name:string attribute:string value:string I need to use the attribute column. But I get ActiveRecord error. I solved this by safe_attibut gem. This time the "wrong number of arguments (0 for 1)" I received the warning. Error in <% = f.text_field: attribute%> show

[Rails] Free SMS API for India

2015-11-04 Thread Joy Lal Chattaraj
Is there a gem that provides free or cheap integration with my rails app to send SMS to mobile users in India? -- 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

Re: [Rails] attribute problem

2015-11-04 Thread Emrah Yıldırım
It has been an error in copying. actually issue "attribute" on Rails "attribute" does not allow the word. But I have to use it. 4 Kasım 2015 Çarşamba 14:50:03 UTC+2 tarihinde Colin Law yazdı: > > On 4 November 2015 at 12:28, Emrah Yıldırım > wrote: > > Hi, > > > >

Re: [Rails] attribute problem

2015-11-04 Thread Colin Law
On 4 November 2015 at 12:28, Emrah Yıldırım wrote: > Hi, > > rails g scaffold gform name:string attribute:string value:string > > I need to use the attribute column. But I get ActiveRecord error. I solved > this by safe_attibut gem. This time the "wrong number of

Re: [Rails] Static pages from Rails erb templates?

2015-11-04 Thread Colin Law
On 4 November 2015 at 15:56, Scott wrote: > I don't think you can use erb in public. I don't think they'd be parsed to > html outside of the app area. That's what I thought. Colin -- You received this message because you are subscribed to the Google Groups "Ruby

Re: [Rails] Static pages from Rails erb templates?

2015-11-04 Thread Scott
Please ignore the snarky comment at the end of the last comment and the stuff about just or putting in the public directory. I re-read your comment on Middleman and got a better feeling for what you are trying to do. The snark was me being out of my mind. Back on topic how dynamic is the erb

Re: [Rails] Static pages from Rails erb templates?

2015-11-04 Thread Colin Law
On 4 November 2015 at 15:28, Scott wrote: > It's not complicated. Install the gem. Create a directory. Use page_path > route with the file name to generate links. I'm not sure how you get simpler > than that. > > If you want a non rails way, put the pages in the

Re: [Rails] Static pages from Rails erb templates?

2015-11-04 Thread Scott
I don't think you can use erb in public. I don't think they'd be parsed to html outside of the app area. -- 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

Re: [Rails] Static pages from Rails erb templates?

2015-11-04 Thread Scott
It's not complicated. Install the gem. Create a directory. Use page_path route with the file name to generate links. I'm not sure how you get simpler than that. If you want a non rails way, put the pages in the public directory. Seems like you could have been finished with either high

Re: [Rails] Static pages from Rails erb templates?

2015-11-04 Thread gvim
On 04/11/2015 15:53, Scott wrote: Please ignore the snarky comment at the end of the last comment and the stuff about just or putting in the public directory. I re-read your comment on Middleman and got a better feeling for what you are trying to do. The snark was me being out of my mind.