[Rails] What is the complexity of Model.columns?

2015-10-21 Thread Sadaf Noor
: http://stackoverflow.com/questions/33273311/what-is-the-complexity-of-model-columns-or-model-column-names-on-rails -- Md. Sadaf Noor (@sadaf2605 <https://twitter.com/sadaf2605>) www.sadafnoor.com -- You received this message because you are subscribed to the Google Groups "Rub

[Rails] Little ruby gem to test activeadmin controllers

2015-10-21 Thread Sadaf Noor
/nested_attr Gem: https://rubygems.org/gems/nested_attr Project Homepage: http://www.sadafnoor.com/nested-attr/ -- Md. Sadaf Noor (@sadaf2605 <https://twitter.com/sadaf2605>) www.sadafnoor.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:

[Rails] How can i import active admin controllers to my active support test?

2015-10-05 Thread Sadaf Noor
from rails console I can access: Admin::PostsController Also asked at #stackoverflow: http://stackoverflow.com/questions/32949279/how-can-i-import-active-admin-controllers-to-my-active-support-test -- Md. Sadaf Noor (@sadaf2605 <https://twitter.com/sadaf2605>) www.sadafnoor.com -- Y

Re: [Rails] Setting foreign keys, yet record.association_name returning nil

2015-09-05 Thread Sadaf Noor
good point but nope, they are not nil 2015-09-06 10:39 GMT+06:00 Jim Ruther Nill : > > > On Saturday, September 5, 2015, Sadaf Noor wrote: > >> Also posted at stackoverflow: >> http://stackoverflow.com/questions/32414734/setting-foreign-keys-at-rails-yet-record-associ

[Rails] Re: Setting foreign keys, yet record.association_name returning nil

2015-09-05 Thread Sadaf Noor
Also posted at stackoverflow: http://stackoverflow.com/questions/32414734/setting-foreign-keys-at-rails-yet-record-association-name-returning-nil ( Please don't downvote ) 2015-09-05 21:22 GMT+06:00 Sadaf Noor : > Please help me to understand why this piece of rspec code is behaving th

[Rails] Setting foreign keys, yet record.association_name returning nil

2015-09-05 Thread Sadaf Noor
irt).stringify_keys.merge("product_id"=> product.id.to_s) } #successful creation expect(Tshirt.last.product_id).to eq(product.id) # asserts true puts Tshirt.last.product #prints nothing expect(Tshirt.last.product.size).to eq(product.size) # exception!!! it says, product = nil --

Re: [Rails] Cannot boot server. 'uninitialized constant ActionView::Helpers::ActiveModelHelper (NameError)'

2015-09-04 Thread Sadaf Noor
l to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/188cc6ed-f506-4908-abc7-afdf15e81e99%40googlegroups.com > <https:/

Re: [Rails] unable to resolve setup problem to get sample blog application to run - certificate errors

2015-09-04 Thread Sadaf Noor
> <https://groups.google.com/d/msgid/rubyonrails-talk/662ccb31-66d7-4ab4-84d7-ff0fa36a5ae2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Md. Sadaf Noor (@sadaf2605 <https://twitter.com/sada

Re: [Rails] Deploying Rails Engine to Heroku

2015-08-30 Thread Sadaf Noor
;utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Md. Sadaf Noor (@sadaf2605 <https://twitter.com/sadaf2605>) www.sadafnoor.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&q

Re: [Rails] Application Error while deploying in heroku, but in runs locally

2015-08-16 Thread Sadaf Noor
04a-9112ad464e55%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Md. Sadaf Noor (@sadaf2605 <https://twitter.com/sadaf2605>) www.sadafnoor.com -- You received this message because you are sub

Re: [Rails] installing rails

2015-07-21 Thread Sadaf Noor
is discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLucFkVpt69wqJZnjMpppH_tR9fRQ%3DvWztZMoq7CSFKPug%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- Md. Sadaf Noor (@sadaf2605 <https://twitter.com/sadaf2605&

Re: [Rails] Re: Deleting only first occurrence from many to many collection

2015-07-21 Thread Sadaf Noor
d33d14b9-c9b4-4bb5-9edf-4c9d79554824%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Md. Sadaf Noor (@sadaf2605 <https://twitter.com/sadaf2605>) www.sadafnoor.com -- You received this messag

[Rails] Deleting only first occurrence from many to many collection

2015-07-19 Thread Sadaf Noor
posted at stackoverslow ( http://stackoverflow.com/questions/31507056/deleting-first-occurrence-from-many-to-many-collection-entry-at-rails). Please feel free to answer, and/or upvote. Thanks. -- Md. Sadaf Noor (@sadaf2605 <https://twitter.com/sadaf2605>) www.sadafnoor.com -- You r

Re: [Rails] beginner in Ruby on rails

2015-07-17 Thread Sadaf Noor
.@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvjNBE7wXaDS%2BextQgqXUtv9_F9ky%2BbhJW2C_uCENOU7g%40mail.gmail.com > . > For more

Re: [Rails] [help] - HTTP POST redirect

2015-07-14 Thread Sadaf Noor
d/msgid/rubyonrails-talk/27c4466d-ac5b-474b-b445-dd0f5711139c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Md. Sadaf Noor (@sadaf2605 <https://twitter.com/sadaf2605>) www.sadafnoor.co

Re: [Rails] Re: Installation Error

2015-07-08 Thread Sadaf Noor
t, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/0c860eecd367dbb9de3b139b5bcfd34c%40ruby-forum.com &

Re: [Rails] Sending parameters to controller via button_to

2015-07-08 Thread Sadaf Noor
onrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/9c16f865-e756-4e91-83ce-b5d101abdfee%40googlegroups.com > <https://groups.google.com/d/msgid/rubyonrails-talk/9c16f865-e756-4e91-83ce-b5d101abdfee%40googlegroup