[Rails] Re: Migrating a complete Ruby rails app off heroku!

2015-07-13 Thread OPSPL Goan
Taras Matsyk wrote in post #1176487: Hi OPSPL Goan, drop me a message, I can take a look on that app. Can't seem to drop you the msg. Mail me at online(dot)goa(AT)gmail.com Ok. Where are you based and what kind of charges are you looking at? G -- Posted via http://www.ruby-forum.com/. --

[Rails] Problem with Creating table With MYSQL

2015-07-13 Thread Sasi Raju
I have one question Shall I create a table with uppercase in Mysql from ruby on rails. becoz whatever iam giving the tablename only table creation format like 1.lowercase 2.underscore 3.plural example tab_names . shall i change tab_names---TABNAME?? is it rails default or possible to

[Rails] [help] - HTTP POST redirect

2015-07-13 Thread Vikas Saroha
Hello friends, I am looking for some help on making a POST request from the controller to an external server and follow the redirect. I am using - response = HTTParty.post(external_uri, post_params) but this does not redirect. Is there an easy way this could be done. thanks -- You

[Rails] Single 'add_index' line in migration file produces multiple 'add_index' lines in my schema. (??)

2015-07-13 Thread Bart Dority
Hello, I'm a newbie to Rails, and to this Group - just putting that out there. Here's my question: I have a migration file for a new table, and at the end of the file I added the line: add_index: :table_name, :name I was trying to generate an index on a single column in my database. But

Re: [Rails] Re: Problem with Creating table With MYSQL

2015-07-13 Thread Vineeth B S
Maybe, table name aliasing might come in handy. The main problem that I foresee is that when migrating from mysql to some other, you have to be conscious about the aliases. The same holds true when you are creating a table. But then, rails migration dsl might provide you with a consistent way of

[Rails] Re: Problem with Creating table With MYSQL

2015-07-13 Thread Sasi Raju
ok thanks -- 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+unsubscr...@googlegroups.com. To

[Rails] Re: Problem with Creating table With MYSQL

2015-07-13 Thread Sasi Raju
becoz my client asking need to set all the database tablename with uppercase letter thats'y we are asking. -- 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

Re: [Rails] Problem with Creating table With MYSQL

2015-07-13 Thread Colin Law
On 13 July 2015 at 13:23, Sasi Raju li...@ruby-forum.com wrote: I have one question Shall I create a table with uppercase in Mysql from ruby on rails. becoz whatever iam giving the tablename only table creation format like 1.lowercase 2.underscore 3.plural example tab_names . shall i

[Rails] Re: Creating user login page

2015-07-13 Thread Cody Skidmore
Coco, Are you building a sandbox app to explore authentication in Rails? Or are you building a product that needs a user account system? Respectfully, Cody Skidmore -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from

Re: [Rails] Re: Problem with Creating table With MYSQL

2015-07-13 Thread Colin Law
On 13 July 2015 at 14:40, Sasi Raju li...@ruby-forum.com wrote: becoz my client asking need to set all the database tablename with uppercase letter thats'y we are asking. When replying please quote the previous message so that we can see what you are replying to. This is a mailing list not a

[Rails] Re: Problem with Creating table With MYSQL

2015-07-13 Thread Elizabeth McGurty
9.2.2 Identifier Case Sensitivity (MySQL documentation) https://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html Read about 'lower_case_table_names https://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html#sysvar_lower_case_table_names ' On Monday, July 13, 2015 at

[Rails] Routing Error

2015-07-13 Thread karthik sharma
I am new to ruby on rails, by seeing tutorials i created blog, some complications are there but manged to get the home page and implemented bootstrap in that Now i have created project in rails but unable to get the path from public folder in that application the path goes like this

Re: [Rails] Routing Error

2015-07-13 Thread Colin Law
On 13 July 2015 at 15:01, karthik sharma acheiver...@gmail.com wrote: I am new to ruby on rails, by seeing tutorials i created blog, some complications are there but manged to get the home page and implemented bootstrap in that Now i have created project in rails but unable to get the path

Re: [Rails] Active Record question

2015-07-13 Thread Colin Law
On 13 July 2015 at 19:20, tamouse pontiki tamouse.li...@gmail.com wrote: A quick correction on Colin's suggestion: On Mon, Jul 13, 2015 at 2:44 AM, Colin Law clan...@gmail.com wrote: On 13 July 2015 at 01:10, j...@via.net j...@via.net wrote: class Asset ActiveRecord::Base belongs_to

Re: [Rails] Active Record question

2015-07-13 Thread tamouse pontiki
A quick correction on Colin's suggestion: On Mon, Jul 13, 2015 at 2:44 AM, Colin Law clan...@gmail.com wrote: On 13 July 2015 at 01:10, j...@via.net j...@via.net wrote: class Asset ActiveRecord::Base belongs_to :site # class variable :name end class Site ActiveRecord::Base

Re: [Rails] Re: HELP

2015-07-13 Thread Colin Law
On 13 July 2015 at 21:28, StepaAr ser.arsenijevic.mi...@gmail.com wrote: I think it's time for rebooting. I will watch M. Hartl tutorial again (8th time). Don't just watch it, work right through it, entering all the code, getting it working and doing the exercises. Colin -- You received

[Rails] Re: HELP

2015-07-13 Thread StepaAr
I think it's time for rebooting. I will watch M. Hartl tutorial again (8th time). On Wednesday morning i will start again but this time from scratch . On Sunday, July 12, 2015 at 11:46:03 AM UTC+2, Ruby-Forum.com User wrote: Hi Stepa, Have you generated active record model? What

Re: [Rails] Re: HELP

2015-07-13 Thread StepaAr
https://lh3.googleusercontent.com/-m7BNXNnN4tA/VaQxDLPmrHI/ABI/mSw75HW79TY/s1600/trial_task.jpg Of course.It will be 8th time to code he's twitter again The problem for me is simple. I have this emails: j...@gmail.com, a...@gmal89.com, ste...@yahoo.com, m...@yahoo.com and the all have

Re: [Rails] Active Record question

2015-07-13 Thread Vineeth B S
Ransack https://github.com/activerecord-hackery/ransack Seems like a promising for your usecase. Take a look at it. On Mon, Jul 13, 2015 at 5:40 AM, j...@via.net j...@via.net wrote: class Asset ActiveRecord::Base belongs_to :site # class variable :name end class Site

Re: [Rails] Re: Re: DonĀ“t work my program :( , please help

2015-07-13 Thread Colin Law
On 13 July 2015 at 06:42, Richard Zanabria li...@ruby-forum.com wrote: I try with this: You do not seem to have answered any of the six points I made. Particularly the third and fourth. Colin class Auto attr_accessor :auto def initialize(auto) @modelo = modelo @precio = precio

Re: [Rails] Active Record question

2015-07-13 Thread Colin Law
On 13 July 2015 at 01:10, j...@via.net j...@via.net wrote: class Asset ActiveRecord::Base belongs_to :site # class variable :name end class Site ActiveRecord::Base has_many :assets # class var x, y, z end Is there a dynamic finder that will traverse the inner join: e.g.