Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

ruby on rails - Running migrations over multiple databases/Schema dump error -


anyone have workaround (without monkey patching rails) failure of db:schema:dump part of simple migration accessing wrong database table? error

*mysql::error: view 'database1.boxscores' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights use them: show fields boxscores *

when boxscores on database2. activerecord model set make connection , app works fine, isjust migration fails, , b/c of schema dump.

i going answer since found answer , might someone. no 1 else answered, here go:

by adding active record connect able solve issue. turns out models tables not overriding default db connection should have been.


Comments

Post a Comment

Popular posts from this blog

ios - Very simple iPhone App crashes on UILabel settext -

mysql - Why there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT clause? -

c# - Usage of Server Side Controls in MVC Frame work -